[Zope] Zope starting Probelm

Bakhtiar A Hamid kedai@kedai.com.my
Tue, 31 Dec 2002 14:50:19 +0800


On Tuesday 31 December 2002 13:58, zope wrote:
> Hi
> Thanks for the prompt help . I tried starting the server using:-
>  python z2.py -X -w8080 -D
> This is the error I got.
> --------------------------
> /Software/Python-2.2.2/Lib/FCNTL.py:7: DeprecationWarning: the FCNTL mo=
dule
> is deprecated; please use fcntl
>   DeprecationWarning)
> Traceback (most recent call last):
>   File "z2.py", line 470, in ?
>     import ZServer
>   File "/Users/zope/Zope-2.5.1/ZServer/__init__.py", line 26, in ?
>     from medusa import asyncore
>   File "/Users/zope/Zope-2.5.1/ZServer/medusa/asyncore.py", line 51, in=
 ?
>     import socket
>   File "/Software/Python-2.2.2/Lib/socket.py", line 41, in ?
>     from _socket import *
> ImportError: libssl.so.1: cannot open shared object file: No such file =
or
> directory
> ----------------------------------
>

ok, restate the start command

try with python2.1.3

/path/to/python2.1.3 z2.py -X -w 8080 -D

> Is there some change I need to make here.Also could you please tell me =
what
> exactly is the functionality of pcgi ?Also how it would affect an
> application built to run on Zope without the pcgi?

the earlier traceback you posted showed some permission problem when tryi=
ng to=20
write the .pid file (i think it's for pcgi)
=20
pcgi is a persistant cgi that people used to use.  nowadays, with apache,=
=20
people use modrewrite/modproxy.  or use squid with httpd_accel

google for pcgi zope for better explanation

hth

>
> Thanks and Best Regards
> John Kunchandy
>
> ----- Original Message -----
> From: "Bakhtiar A Hamid" To: "zope"
> Sent: Tuesday, December 31, 2002 10:57 AM
> Subject: Re: [Zope] Zope starting Probelm
>
> > On Tuesday 31 December 2002 13:04, zope wrote:
> > > Hi
> > >
> > > I have a probelm with starting the Zope server.
> > > It was running perfectly fine,all of a sudden it has started throwi=
ng
>
> this
>
> > > error when I try ./start &
> > >
> > > ERROR:-
> > >
> > > 2002-12-31T04:09:15 INFO(0) ZServer FTP server started at Tue Dec 3=
1
> > > 09:39:15 2002 Hostname: apollo.stylus.local
> > >         Port: 8021
> > > ------
> > > 2002-12-31T04:09:15 ERROR(200) ZServer Cannot write PID file.
> > > ------
> > > 2002-12-31T04:09:15 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')
> >
> > do you need pcgi?  if not try
> > python z2.py -X -w8080 -D
> >
> > and see if that goes
> > hth
> >
> > > Could you please tell me where I have gone wrong .Is this a probelm
> > > with the port number already being in use? Is the address already b=
ound
> > > to
>
> some
>
> > > other process?
> > > Thank you for all help in advance.
> > >
> > > Best Regards
> > > John Kunchandy
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.431 / Virus Database: 242 - Release Date: 12/17/2002

--=20

=09http://www.kedai.com.my/             http://www.kedai.com.my/eZine
=09http://www.zope.org/Members/kedai    http://www.my-zope.org
=09If you SMELLLL...=20