[GE users] failed searching requested shell sge6 u3 drmaa

Ralf Sigmund sigmund at ipk-gatersleben.de
Thu Feb 3 17:00:51 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

hello, 

submitting simple test jobs using the drmaa api fails with the below error:


----JAVA -----------------------------------------
import org.ggf.drmaa.*;
 
public class Howto2_1 {
    public static void main (String[] args) {
       SessionFactory factory = SessionFactory.getFactory ();
       Session session = factory.getSession ();
       
       try {
          session.init (null);
          JobTemplate jt = session.createJobTemplate ();
          jt.setRemoteCommand ("/home/sigmund/simple.sh");
          jt.setArgs (new String[] {"5"});
          
          String id = session.runJob (jt);
          
          System.out.println ("Your job has been submitted with id " + id);
          
          session.deleteJobTemplate (jt);
          session.exit ();
       }
       catch (DrmaaException e) {
          System.out.println ("Error: " + e.getMessage ());
       }
    }
 }



_________________________________________________________

---------------------------------------------
Job 2281 caused action: Job 2281 set to ERROR
 User        = sigmund
 Queue       = all.q at pgrc-22.ipk-gatersleben.de
 Host        = pgrc-22.ipk-gatersleben.de
 Start Time  = <unknown>
 End Time    = <unknown>
failed searching requested shell:02/03/2005 17:18:18 [500:8990]: execvp(/home/sigmund/sleeper.sh, "/home/sigmund/sleeper.sh" "5") fai
Shepherd trace:
02/03/2005 17:18:18 [0:8989]: shepherd called with uid = 0, euid = 0
02/03/2005 17:18:18 [0:8989]: starting up 6.0u3
02/03/2005 17:18:18 [0:8989]: setpgid(8989, 8989) returned 0
02/03/2005 17:18:18 [0:8989]: no prolog script to start
02/03/2005 17:18:18 [0:8990]: pid=8990 pgrp=8990 sid=8990 old pgrp=8989 getlogin()=<no login set>
02/03/2005 17:18:18 [0:8990]: setosjobid: uid = 0, euid = 0
02/03/2005 17:18:18 [0:8990]: RLIMIT_CPU setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [0:8990]: RLIMIT_FSIZE setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [0:8990]: RLIMIT_DATA setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [0:8990]: RLIMIT_STACK setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [0:8990]: RLIMIT_CORE setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [0:8990]: RLIMIT_VMEM/RLIMIT_AS setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [0:8990]: RLIMIT_RSS setting: (soft 4294967295 hard 4294967295) resulting: (soft 4294967295 hard 4294967295)
02/03/2005 17:18:18 [500:8990]: closing all filedescriptors
02/03/2005 17:18:18 [500:8990]: further messages are in "error" and "trace"
02/03/2005 17:18:18 [500:8990]: execvp(/home/sigmund/sleeper.sh, "/home/sigmund/sleeper.sh" "5")
02/03/2005 17:18:18 [0:8989]: forked "job" with pid 8990
02/03/2005 17:18:18 [0:8989]: child: job - pid: 8990
02/03/2005 17:18:18 [0:8989]: wait3 returned 8990 (status: 6912; WIFSIGNALED: 0,  WIFEXITED: 1, WEXITSTATUS: 27)
02/03/2005 17:18:18 [0:8989]: job exited with exit status 27
02/03/2005 17:18:18 [0:8989]: reaped "job" with pid 8990
02/03/2005 17:18:18 [0:8989]: job exited not due to signal
02/03/2005 17:18:18 [0:8989]: job exited with status 27
02/03/2005 17:18:18 [0:8989]: now sending signal KILL to pid -8990
02/03/2005 17:18:18 [0:8989]: no tasker to notify
02/03/2005 17:18:18 [0:8989]: failed starting job
02/03/2005 17:18:18 [0:8989]: no epilog script to start

Shepherd error:
02/03/2005 17:18:18 [500:8990]: execvp(/home/sigmund/sleeper.sh, "/home/sigmund/sleeper.sh" "5") failed: Permission denied

Shepherd pe_hostfile:
pgrc-22.ipk-gatersleben.de 1 all.q at pgrc-22.ipk-gatersleben.de UNDEFINED


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list