Tuesday, January 12, 2010

UnixHowTo: Stopped (tty output) HP Unix

Issue:-
Unix shell script is running fine while running in foreground but getting stopped while trying to run in the background.

Reasons:-
The script is trying to write on the terminal and as the script is being suppressed in background mode, its giving I/O error and getting stopped.

Resolution:-
---After it stopped, check in the processes ps -fu whats going on.You will be able to get the idea what might be causing the problem.

--- Normally the problem gets resolved if you do stty sane or disable some stty commands.

Some good links:-
script with rsh has error stty : : I/O error

Problems with nohup

Labels:

2 Comments:

Anonymous Anonymous said...

你的分享很不錯.. 謝謝 ..................................................

8:29 AM  
Anonymous Anonymous said...

can you share again how to solve it? as the link that provided does not work.

6:47 AM  

Post a Comment

<< Home