Re: [Zope] OT Perl daemon to restart hung Zope on RedHat
Hello using nohup + stdout and stderr to /dev/null works very well. Gilles -----Original Message----- From: Dunigan, Craig <craig.dunigan@esker.com> To: 'Jerome Alet' <alet@unice.fr> Cc: zope@zope.org <zope@zope.org> Date: Monday, July 02, 2001 4:52 PM Subject: RE: [Zope] OT Perl daemon to restart hung Zope on RedHat
Well, Jerome, I warned you that I was talking from half-recalled knowledge! I'd forgotten about nohup. I believe that might work fine. I'll give it a try and let you know.
Craig
-----Original Message----- From: Jerome Alet [mailto:alet@unice.fr] Sent: Monday, July 02, 2001 9:50 AM To: Dunigan, Craig Cc: zope@zope.org Subject: RE: [Zope] OT Perl daemon to restart hung Zope on RedHat
On Mon, 2 Jul 2001, Dunigan, Craig wrote:
An "open console" means that somebody has to be logged into the machine for the script to run. Exit the logged in session, and all running jobs, background and foreground, get killed. That means that, since I have remote
What about the nohup unix command ?
bye,
Jerome Alet
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
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
participants (2)
-
Gilles Lavaux -
Mike Renfro