[Zope] z2 Startup Exception(asyncore.py in bind)

Jens Vagelpohl jens@zope.com
Thu, 17 Oct 2002 08:18:51 -0400


any particular reason you are using zope with PCGI? if there is no 
compelling reason just don't. recompile zope by running wo_pcgi.py.

PID files usually get written to <zope_root>/var. maybe for some 
strange reason it wants to write it elsewhere or the var directory has 
had its permissions changed.

i have no idea what the "zstart" command is. never seen that one.

jens


On Thursday, Oct 17, 2002, at 05:43 US/Eastern, zope wrote:

> Hi
>
> I have been using zope for the past 2 motnhs and also managed to 
> install
> zope newly on another machine recently.
> But now Zope is not starting.
> When I try to start  Zope it  gives me the following error:-
>
> 2002-10-17T09:04:43 INFO(0) ZServer FTP server started at Thu Oct 17
> 14:34:43 2002
>         Hostname: apollo.stylus.local
>         Port: 8021
> ------
> 2002-10-17T09:04:43 ERROR(200) ZServer Cannot write PID file.
> ------
> 2002-10-17T09:04:43 PANIC(300) z2 Startup exception
> Traceback (innermost last):
>   File /Users/zope/Zope-2.5.1/z2.py, line 618, in ?
>   File /Users/zope/Zope-2.5.1/ZServer/PCGIServer.py, line 275, in 
> __init__
>   File /Users/zope/Zope-2.5.1/ZServer/medusa/asyncore.py, line 306, in 
> bind
> error: (2, 'No such file or directory')
>
> But I am able to start Zope From outside the Zope Folder by using
> the -zstart -command
> What exactly is the zstart doing and how is it starting zope?
> As I have not started zope with the -start -command i do not know how 
> to
> stop the server as the -stop -command is not working outside the Zope 
> Folder
> Can someone please help me out?
>
> The power had gone and when the machine rebooted the error has 
> appeared.
>
> Thanks for all help in advance
>
> Best Regards
> John Kunchandy