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

[Condor-users] Can't get executable to run.



Hi Condor-Users,

I'm currently investigating the use of Condor to solve some automation needs and after setting it up on two Ubuntu machines, when I submit the following job:

Executable   = lin_test.sh
Universe     = vanilla
Requirements = OpSys == "LINUX" && Arch == "INTEL"
error        = loop.error
Log          = loop.log
output       = loop.out
TRANSFER_FILES = ALWAYS
Queue
8<-------------------------
Where lin_test.sh is:

#!/bin/sh
echo This is from `hostname` in $PWD
echo This is a message from `hostname` > file.txt
8<-------------------------
I get the following error:

Hold reason: Error from starter on slot1@xxxxxxxxxxxxxxxx: Failed to execute '/var/lib/condor/execute/dir_15980/condor_exec.exe': Permission denied
8<------------------------------
I have attached the (hopefully) relevant output from StarterLog.slot1.  The most important line from it, as far as I can tell, is:
1/27 14:26:37 warning: unable to chmod condor_exec.exe to ensure execute bit is set: Operation not permitted.

The daemon is running as root on cvstest, so I'm at a bit of a loss as to how it could not be permitted to chmod condor_exec.exe.  Any know what might be going on?

-Evan Niessen-Derry
________________________________
1/27 14:26:36 ******************************************************
1/27 14:26:36 ** condor_starter (CONDOR_STARTER) STARTING UP
1/27 14:26:36 ** /usr/sbin/condor_starter
1/27 14:26:36 ** SubsystemInfo: name=STARTER type=STARTER(8) class=DAEMON(1)
1/27 14:26:36 ** Configuration: subsystem:STARTER local:<NONE> class:DAEMON
1/27 14:26:36 ** $CondorVersion: 7.2.4 Apr 11 2010 $
1/27 14:26:36 ** $CondorPlatform: I386-LINUX_DEBIAN_UNKNOWN $
1/27 14:26:36 ** PID = 15980
1/27 14:26:36 ** Log last touched 1/27 14:19:38
1/27 14:26:36 ******************************************************
1/27 14:26:36 Using config source: /etc/condor/condor_config
1/27 14:26:36 Using local config sources:
1/27 14:26:36    /etc/condor_config.local
1/27 14:26:36 DaemonCore: Command Socket at <172.16.79.76:45995>
1/27 14:26:36 Done setting resource limits
1/27 14:26:36 Communicating with shadow <172.16.78.23:33547>
1/27 14:26:36 Submitting machine is "eniessen.osii.com"
1/27 14:26:36 setting the orig job name in starter
1/27 14:26:36 setting the orig job iwd in starter
1/27 14:26:36 passwd_cache::cache_uid(): getpwnam("eniessen-derry") failed: user not found
1/27 14:26:36 File transfer completed successfully.
1/27 14:26:37 warning: unable to chmod condor_exec.exe to ensure execute bit is set: Operation not permitted
1/27 14:26:37 Job 36.0 set to execute immediately
1/27 14:26:37 Starting a VANILLA universe job with ID: 36.0
1/27 14:26:37 IWD: /var/lib/condor/execute/dir_15980
1/27 14:26:37 Output file: /var/lib/condor/execute/dir_15980/loop.out
1/27 14:26:37 Error file: /var/lib/condor/execute/dir_15980/loop.error
1/27 14:26:37 About to exec /var/lib/condor/execute/dir_15980/condor_exec.exe
1/27 14:26:37 Create_Process: Cannot access specified executable "/var/lib/condor/execute/dir_15980/condor_exec.exe": errno = 13 (Permission denied)
1/27 14:26:37 ERROR "Create_Process(/var/lib/condor/execute/dir_15980/condor_exec.exe,, ...) failed" at line 509 in file os_proc.cpp
1/27 14:26:37 ShutdownFast all jobs.