[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] condor can't find its own program executable



This is a new one for me:

> could not find a "condor_exec.exe" to execute
> could not find a "condor_exec.exe" to execute
> condor_exec.exe: could not find own program executable

That is the stderr of a local universe job trying to run /usr/bin/psql.
Changing it to /bin/sh with psql in the arguments results in

> /usr/bin/psql: /usr/bin/psql: cannot execute binary file

It works when I run it, of course.

This is the "alternatives" setup with

> $ file /usr/bin/psql
> /usr/bin/psql: symbolic link to `/etc/alternatives/pgsql-psql'
> $ file /etc/alternatives/pgsql-psql
> /etc/alternatives/pgsql-psql: symbolic link to `/usr/pgsql-10/bin/psql'

but trying to use /usr/pgsql-10/bin/psql instead of /usr/bin/psql
results in the same errors.

StarterLog says

> 03/29/19 10:45:22 (pid:1733861) (79440.0)  About to exec /bin/sh /usr/pgsql-10/bin/psql -d bmrbeverything -U postgres -f /websites/webapi /wsgi/releases/v2/server/wsgi/utils/sql/initialize.sql
> 03/29/19 10:45:22 (pid:1733861) (79440.0)  Running job as user web
> 03/29/19 10:45:22 (pid:1733861) (79440.0)  Create_Process succeeded, pid=1733862
> 03/29/19 10:45:22 (pid:1733861) (79440.0)  Process exited, pid=1733862, status=126
> 03/29/19 10:45:22 (pid:1733861) (79440.0)  All jobs have exited... starter exiting
> 03/29/19 10:45:22 (pid:1733861) (79440.0)  **** condor_starter (condor_STARTER) pid 1733861 EXITING WITH STATUS 100

Any ideas?
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature