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

Re: [Condor-users] Condor 7.2.3 unable to execute a Linux shell scriptfrom Windows

May be you are dealing with:

1) Different: UID_DOMAIN (between master and exec-server)

2) Or your daemons are running under wrong UID on the exec-server



Pieter Oldenhuis 

Dienst ICT Uitvoering (DICTU) 
The Netherlands 

-----Oorspronkelijk bericht-----
Van: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] Namens Andrew Cunningham
Verzonden: donderdag 29 oktober 2009 3:22
Aan: condor-users@xxxxxxxxxxx
Onderwerp: [Condor-users] Condor 7.2.3 unable to execute a Linux shell
scriptfrom Windows

We recently upgraded to 7.2.3 from the 6.8.x series and something that  
used to work has stopped working...
We are submitting simple shell scripts from Windows workstations to  
execute on Linux.

For example, a simple Test.sub file might be

universe     = vanilla
Executable   = Test.sh
log          = Test.log
output       = Test.out
error        = Test.err

Test.sh is ( yes, it is in UNIX LF format)

echo This is Test.sh

If I condor_submit this from Windows I get...

10/28 18:49:57 Submitting machine is "CARDIFF.mydomain.com"
10/28 18:49:57 setting the orig job name in starter
10/28 18:49:57 setting the orig job iwd in starter
10/28 18:49:57 File transfer completed successfully.
10/28 18:49:58 warning: unable to chmod condor_exec.exe to ensure  
execute bit is set: Operation not permitted
10/28 18:49:58 Job 667.0 set to execute immediately
10/28 18:49:58 Starting a VANILLA universe job with ID: 667.0
10/28 18:49:58 IWD: /opt/condor-7.2.3/local.perth/execute/dir_6701
10/28 18:49:58 Output file: /opt/condor-7.2.3/local.perth/execute/ 
10/28 18:49:58 Error file: /opt/condor-7.2.3/local.perth/execute/ 
10/28 18:49:58 About to exec /opt/condor-7.2.3/local.perth/execute/ 
10/28 18:49:58 Create_Process: Cannot access specified executable "/ 
opt/condor-7.2.3/local.perth/execute/dir_6701/condor_exec.exe": errno  
= 13 (Permission denied)
10/28 18:49:58 ERROR "Create_Process(/opt/condor-7.2.3/local.perth/ 
execute/dir_6701/condor_exec.exe,, ...) failed" at line 508 in file  

If I submit from the Linux machine I get....
10/28 18:55:51 Submitting machine is "perth.mydomain.com"
10/28 18:55:51 setting the orig job name in starter
10/28 18:55:51 setting the orig job iwd in starter
10/28 18:55:51 Job 10.0 set to execute immediately
10/28 18:55:51 Starting a VANILLA universe job with ID: 10.0
10/28 18:55:51 IWD: /home/andrewc/Temp
10/28 18:55:51 Output file: /home/andrewc/Temp/Test.out
10/28 18:55:51 Error file: /home/andrewc/Temp/Test.err
10/28 18:55:51 About to exec /home/andrewc/Temp/Test.sh
10/28 18:55:52 Create_Process succeeded, pid=6714

Completely baffled.....


Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: 
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is gezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. 

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.