[Zope] How best to restart Zope?
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 - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
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 Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
See http://www.zope.org/Members/jerome/ Jerome ALET - [EMAIL PROTECTED] - 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? ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
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 Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] >Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
>Q: How to make sure Zope restarts automatically it is shut down ? This is built into Z2.py Put this in your 'start' script -Z /home/local/zope/var/Z2.pid It watches the PID and if it fails will restart it. More if you read z2.py J ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
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 ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
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 ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
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 - [EMAIL PROTECTED] > 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:[EMAIL PROTECTED] Web: www.sun.no BTW; Opinions formed by myself in informal mailings are mine and not of my employer. ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] How best to restart Zope?
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 ___ Zope maillist - [EMAIL PROTECTED] 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 )