Hello Q: How to make sure Zope restarts automatically it is shut down ? Zope version: Zope 2.2.0 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] Linux2.2.5-15 RedHat6.0 (Hedwig) any ideas? tia - Jason
See http://www.zope.org/Members/jerome/ Jerome ALET - alet@unice.fr - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE On Tue, 19 Sep 2000, Jason Cunliffe wrote:
Q: How to make sure Zope restarts automatically it is shut down ?
Zope version: Zope 2.2.0 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] Linux2.2.5-15 RedHat6.0 (Hedwig)
any ideas?
On Tue, 19 Sep 2000, Jason Cunliffe wrote:
Q: How to make sure Zope restarts automatically it is shut down ?
Edit your "start" shell script and add -Z to z2.py command line. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Thanks Oleg and everyone for all the fast return suggestions! hmmm.. There seem to be some fancy scripts. But if it works, why would one ever need more than "-Z" ? curious - Jason ----- Original Message -----
On Tue, 19 Sep 2000, Jason Cunliffe wrote:
Q: How to make sure Zope restarts automatically it is shut down ?
Edit your "start" shell script and add -Z to z2.py command line.
Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
On Tue, 19 Sep 2000, Jason Cunliffe wrote:
hmmm.. There seem to be some fancy scripts. But if it works, why would one ever need more than "-Z" ?
because I didn't know this switch :-)) however I've not encountered any problem since I've upgraded from 2.1.4 to 2.1.6, and I don't use my IsDaZope script anymore. before the upgrade, Zope was failing several times a day, and now I'm so happy that I'm afraid to upgrade to 2.2.2... bye, Jerome Alet
But if it works, why would one ever need more than "-Z" ?
For me it didn't work - maybe that the problem is gone in newer versions of Zope. That's why I run Zope under daemontools. Additional it's nice to be able to control Zope the same way like other services. Regards, Frank
Jason Cunliffe wrote:
Hello
Q: How to make sure Zope restarts automatically it is shut down ?
Zope version: Zope 2.2.0 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] Linux2.2.5-15 RedHat6.0 (Hedwig)
any ideas?
tia - Jason
_______________________________________________ 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 )
There is an article on www.zope.org that describes the daemontools package .. do a search on the zope website for "daemontools" .. and you should be redirected to some "lightwerk" website in germany i think.. .. that should do the trick! -- Med vennlig hilsen, Jørgen Skogstad /\ System Specialist \\ \ \ \\ / Sun Microsystems AS / \/ / / Gjerdrums vei 12 / / \//\ N-0486 Oslo, NORWAY \//\ / / / / /\ / Phone: + 47 22 02 39 00 / \\ \ Cellular: + 47 92 41 30 23 \ \\ Fax: + 47 22 02 39 99 \/ EMail: jorgen.skogstad@Norway.Sun.Com Web: www.sun.no BTW; Opinions formed by myself in informal mailings are mine and not of my employer.
Jørgen wrote:
There is an article on www.zope.org that describes the daemontools package .. do a search on the zope website for "daemontools" .. and you should be redirected to some "lightwerk" website in germany i think..
A vote from me too, daemontools is a great tool in general -not only for Zope. We use it to monitor Apache as well. Dimitris http://atlas.central.ntua.gr:8000/~mc94068
On Tue, 19 Sep 2000, J. Atwood wrote:
Put this in your 'start' script
-Z /home/local/zope/var/Z2.pid
It watches the PID and if it fails will restart it.
Ok, my script covered a very different problem: Zope instances were still active and running, but unable to serve requests. My script tries to detect this situation because in this case -Z would be inefficient, and tries to restart Zope after a timeout. Sorry if it didn't answered your question. bye, Jerome Alet
participants (7)
-
Dimitris Andrakakis -
Frank Tegtmeyer -
J. Atwood -
Jason Cunliffe -
Jerome Alet -
Jørgen Skogstad -
Oleg Broytmann