[GE users] Job not running: no access to tty

reuti reuti at staff.uni-marburg.de
Mon Oct 4 14:19:31 BST 2010


Hi,

Am 04.10.2010 um 15:14 schrieb mdondrup:

> I am having a little trouble with running a test script via qsub:
> 
> #!/bin/sh 
> sleep 20
> 
> The script is immediately aborted and the job's stdout file says:
> "Warning: no access to tty (Bad file descriptor).
> Thus no job control in this shell."

it's mentioned here:

http://gridengine.sunsource.net/howto/commonproblems.html

but most likely you will need "shell_start_mode unix_behavior" in the queue configuration.

-- Reuti

NB: As sleep is a normal application, this simple job should run even under csh.


> If I add this as second  line to the script to set the shell manually, it works:
> #$ -S /bin/sh
> 
> But I think we misconfigured something, or are lacking an environment variable, as shell scripts should 
> run unaltered, shouldn't  they?
> 
> Thank you
> Michael
> 
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=285607
> 
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=285609

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list