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

mdondrup michael.dondrup at uni.no
Mon Oct 4 14:14:05 BST 2010


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].



More information about the gridengine-users mailing list