[ILUG] Stopped (tty input) driving me bananas

From: Niall O Broin (nobroin at domain sced.esoc.esa.de)
Date: Thu 03 Jun 1999 - 19:57:54 IST


Ideas please - I'm at my wit's end here. I have two scripts running on
two Linux boxen. Box A runs a Perl script which processes some files and
packages them up and copies them to box B. Box B runs a shell script which
copies them to a third Linux box, where they are further processed, but
that's not germane. My problem is that that both the Perl and shell script
are designed to be run as daemons, so they have no user interaction (they
do write log files). During debugging they're not yet started at bootup
so I run them with nohup script & (nohup in case I shut down the session)

This works and I carry on working in the relevant shells. BUT every now and then
I get the message

[1]+ Stopped (tty input) nohup script_name

before my shell prompt. To get back on track, I simply do an fg , hit enter a
couple of times, press ^Z and then type bg again.

Bu I can't for the life of me see what's happening here - my script doesn't read
from stdin, and I can't see that any of the programs it uses would do so either.
All suggestions gratefully listeened too :-)

Kindest regards,

Niall O Broin

UNIX Network Administrator nobroin at domain esoc.esa.de
Ground Systems Engineering Department Ph./Fax +49 6151 90 3619/2179
European Space Operations Centre, Darmstadt, Germany



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:15 GMT