[Zope] Zope 2.7.0 zopectl problems (bug?) and questions
Dieter Maurer
dieter at handshake.de
Tue Feb 17 14:16:45 EST 2004
Marcel Maré wrote at 2004-2-16 14:03 +0100:
>I'm trying to find out how to use the zopectl script.
>
>My guess (in the absence of docs) would be that:
>
>./zopectl start starts zope
>./zopectl stop stops zope
Yes.
BTW, there are some docs in "zdaemon/component.xml".
>The start command gives me the following problem:
>
>MJMG5:~/devel/python/Zope/instance2/bin mjm$ ./zopectl start
>Traceback (most recent call last):
> ...
> File
>"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
>python2.3/os.py", line 504, in _spawnvef
> wpid, sts = waitpid(pid, 0)
>OSError: [Errno 10] No child processes
This should not happen unless you have a SIGCHLD handler
installed or "fork" or "waitpid" are broken.
>But Zope DOES start! This on a Mac G5 (OSX 10.3) and python 2.3.
This would indicate a broken "waitpid" or "fork".
Check the "pid" returned by "fork".
It must be the pid of your Zope process.
If it is, then "waitpid" is broken (otherwise "fork").
>Also what do the 'daemon', 'backoff-limit' and 'forever' options do?
They are documented in "zdaemon/component.xml".
--
Dieter
More information about the Zope
mailing list