[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



Actually it was the CONDOR_IDS in the local configuration file. During the install of 7.2.3 this has been set to the UID,GID of the "condor" user. Setting CONDOR_IDS=0.0 i.e. root
fixed the problem
Just one of those things that is not made very clear in the docs , I don't think. 


 
On Thursday, October 29, 2009, at 04:28AM, "Oldenhuis, P. (Pieter)" <p.oldenhuis@xxxxxxxxx> wrote:
>
>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
>
>
>regards,
>
>______________________________________ 
>
>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
>queue
>
>Test.sh is ( yes, it is in UNIX LF format)
>
>#!/bin/sh
>echo This is Test.sh
>date
>
>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/ 
>dir_6701/Test.out
>10/28 18:49:58 Error file: /opt/condor-7.2.3/local.perth/execute/ 
>dir_6701/Test.err
>10/28 18:49:58 About to exec /opt/condor-7.2.3/local.perth/execute/ 
>dir_6701/condor_exec.exe
>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  
>os_proc.cpp
>
>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.....
>
>Andrew
>
>_______________________________________________
>Condor-users mailing list
>To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
>a
>subject: Unsubscribe
>You can also unsubscribe by visiting
>https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
>The archives can be found at: 
>https://lists.cs.wisc.edu/archive/condor-users/
>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.
>
>_______________________________________________
>Condor-users mailing list
>To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
>subject: Unsubscribe
>You can also unsubscribe by visiting
>https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
>The archives can be found at: 
>https://lists.cs.wisc.edu/archive/condor-users/
>
>