RE: [Zope] trying to run ZServer with PCGI
-----Original Message----- From: vinod tipparaju [mailto:tipparaj@cis.ohio-state.edu] Sent: Monday, October 18, 1999 11:12 AM To: zope@zope.org; support@digicool.com Subject: [Zope] trying to run ZServer with PCGI
Hi I was trying to run ZServer with pcgi .. ValueError: unpack list of wrong size
can u help me with what the reason for this error could be??? and I 've changed HTTP_PORT to some other number cause i was already using 8080..it should'nt make a difference..should it vinod.
This means you have an error in your PCGI resource file (usually Zope.cgi) or you are not pointing Zope at the right file. -Michel
Michel Pelletier wrote:
-----Original Message----- From: vinod tipparaju [mailto:tipparaj@cis.ohio-state.edu] Sent: Monday, October 18, 1999 11:12 AM To: zope@zope.org; support@digicool.com Subject: [Zope] trying to run ZServer with PCGI
Hi I was trying to run ZServer with pcgi .. ValueError: unpack list of wrong size
can u help me with what the reason for this error could be??? and I 've changed HTTP_PORT to some other number cause i was already using 8080..it should'nt make a difference..should it vinod.
This means you have an error in your PCGI resource file (usually Zope.cgi) or you are not pointing Zope at the right file.
-Michel
thankx... well when i tried the above, i compiled in the directory where in i had both z2.py and zope.cgi...but still.. now i copied zope.cgi to cgi-bin of my webserver(apache) and then i tried to compile it again..by giving it that path...***/cgi-bin/Zope.cgi (I am the root and I have permissions on var directory in zope) the error i get this time..is to my surprise... Traceback (innermost last): File "z2.py", line 494, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/home/Zope-2.0.1-src/var/Z2.pid' how can permission be denied when i am doing it as root???and i've got write permission on it??? can u help me with this..pl thank you vinod.
IOError: [Errno 13] Permission denied: '/home/Zope-2.0.1-src/var/Z2.pid'
how can permission be denied when i am doing it as root???and i've got write permission on it???
Because Zope avoids running as root, usually by setuiding itself to 'nobody'. Give 'nobody' full access to your 'var' directory (and read rights on enclosing directories, if necessary.)
participants (3)
-
Evan Simpson -
Michel Pelletier -
vinod tipparaju