[Zope] How best to restart Zope?

2000-09-19 Thread Jason Cunliffe

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?

2000-09-19 Thread Jerome Alet

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?

2000-09-19 Thread Jørgen Skogstad

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?

2000-09-19 Thread Dimitris Andrakakis

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 )