[Zope3-dev] Re: Exiting ZX3

Peter Mayne PeterMayne at ap.spherion.com
Tue Dec 7 18:14:02 EST 2004


Derrick Hudson wrote:
> On Tue, Dec 07, 2004 at 09:12:02AM +1100, Peter Mayne wrote:
> | Is there a "nice" way of causing ZX3 to terminate? os._exit() does the 
> | trick, but it's rather drastic.
> 
> $ ./bin/zopectl stop
> 
> or, if you ran 'zopectl fg' hit ^C

On Windows XP SP2:

 >python zopectl stop
Traceback (most recent call last):
   File "zopectl", line 42, in ?
     run()
   File "zopectl", line 38, in run
     main(["-C", CONFIG_FILE] + sys.argv[1:])
   File "C:\opt\Python23\Lib\site-packages\zdaemon\zdctl.py", line 571, 
in main
     c = ZDCmd(options)
   File "C:\opt\Python23\Lib\site-packages\zdaemon\zdctl.py", line 127, 
in __init__
     self.get_status()
   File "C:\opt\Python23\Lib\site-packages\zdaemon\zdctl.py", line 168, 
in get_status
     resp = self.send_action("status")
   File "C:\opt\Python23\Lib\site-packages\zdaemon\zdctl.py", line 148, 
in send_action
     sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
AttributeError: 'module' object has no attribute 'AF_UNIX'

However, I can attempt to figure out what this is trying to connect to, 
and see what it does. Can someone please save me some time and give me a 
hint?

Thanks.

PJDM
-- 
Peter Mayne
Spherion Technology Solutions
Canberra, ACT, Australia
"I'm after rebellion, I'll settle for lies" - Blue Oyster Cult



More information about the Zope3-dev mailing list