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

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



Maybe a problem with the path, or library path? perhaps some needed library isn't being found.
is /usr/pgsql-10/bin/psql a shell script?

-tj

-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Dimitri Maziuk via HTCondor-users
Sent: Friday, March 29, 2019 11:13 AM
To: htcondor-users@xxxxxxxxxxx
Cc: Dimitri Maziuk <dmaziuk@xxxxxxxxxxxxx>
Subject: Re: [HTCondor-users] condor can't find its own program executable

PS

> 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

that is from the shell trying to exec psql. Direct exec returns 1:

> 03/29/19 10:44:47 (pid:1733445) (79439.0)  About to exec /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:44:47 (pid:1733445) (79439.0)  Running job as user web
> 03/29/19 10:44:47 (pid:1733445) (79439.0)  Create_Process succeeded, pid=1733446
> 03/29/19 10:44:47 (pid:1733445) (79439.0)  Process exited, pid=1733446, status=1
> 03/29/19 10:44:47 (pid:1733445) (79439.0)  All jobs have exited... starter exiting
> 03/29/19 10:44:47 (pid:1733445) (79439.0)  **** condor_starter (condor_STARTER) pid 1733445 EXITING WITH STATUS 100

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