[Zope] OT Perl daemon to restart hung Zope on RedHat

Mike Renfro renfro@tntech.edu
Mon, 2 Jul 2001 13:50:40 -0500


On Mon, Jul 02, 2001 at 06:47:47PM +0200, Gilles Lavaux wrote:

> using nohup + stdout and stderr to /dev/null works very well.

I like 'screen' -- start the troublesome process inside a screen
session, detach the terminal, re-attach it from elsewhere, etc. The
process sees it has a valid stdin/stdout/stderr, but all those are
abstracted away from the physical terminal, which can be disconnected
and reconnected at will. It's not a cure for everything, but if you
need to be able to watch the debugging output, it may beat a log file
in usability.

If that's not clear, check out a non-Zope example we've written up at
http://www.cae.tntech.edu/help/unix/screen/

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu