[Zope] Zope not restarting itself after crash

Ron Bickers rbickers-dated-1005598057.bfa08a@logicetc.com
Mon, 5 Nov 2001 15:47:36 -0500


Besides the problem that Zope crashes every once in a while (it could be
days it could be many weeks) for no apparent reason, it won't restart
itself.  I get the following in the stupid log.  It just keeps trying as
fast as it can until I kill it.

2001-11-05T20:18:55 ERROR(200) zdaemon zdaemon: Mon Nov  5 15:18:55 2001:
Aiieee! 32529 exited with error code: 256
------
2001-11-05T20:18:55 INFO(0) zdaemon zdaemon: Mon Nov  5 15:18:55 2001:
Houston, we have forked
------
2001-11-05T20:18:55 INFO(0) zdaemon zdaemon: Mon Nov  5 15:18:55 2001: Hi, I
just forked off a kid: 32533
------
2001-11-05T20:18:55 INFO(0) zdaemon zdaemon: Mon Nov  5 15:18:55 2001:
Houston, we have forked
------
2001-11-05T20:18:55 ERROR(200) zdaemon zdaemon: Mon Nov  5 15:18:55 2001:
Aiieee! 32533 exited with error code: 256

When I start Zope (2.4.2), I get warning messages about the use of
deprecated modules, so I figured I'd give the following a shot.  For some
reason, if I change z2.py as follows, it doesn't have problems restarting
itself.  Coincidence or is there a good explanation?

- zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
+ zdaemon.run(['-W', 'ignore'] + sys.argv, os.path.join(CLIENT_HOME, Zpid))
_______________________

Ron Bickers
Logic Etc, Inc.