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

andre_ismll busche at ismll.de
Mon Oct 4 14:23:18 BST 2010

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

Hi Michael,

it depends on the shell_start_mode in your queue configuration. It can
be set either to

posix_compliant (I assume, this is currently the case)



In the latter one, SGE evaluates the first line in your script
(#!/bin/sh), in the former one, you need to specify the shell.

HTH? (And I hope, this is correct, since it is my first support reply ;-)

2010/10/4 mdondrup <michael.dondrup at uni.no>:
> Hi,
> 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."
> 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].


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

More information about the gridengine-users mailing list