newbie installation problem Zope-2.2.5 on ppc linux
hello - can anyone offer some advice on this error message, from a new installation of Zope-2.2.5 on YellowDog Linux 2.3 ppc ? (stderr.txt pasted below) the Zope server was compiled from source, by root, and built in /usr/local/Zope-2.2.5 I'm new to Linux, but is it saying that the permissions on this directory are set wrongly ? contacting http://localhost:8080 shows that the server hasn't started and I got the same message when I tried the Mac OS X binaries (in OS 10.1.5) to try and find out what was going wrong TIA cheers Richard ------ 2002-10-09T13:57:38 INFO(0) ZServer HTTP server started at Wed Oct 9 14:57:38 2002 Hostname: localhost.localdomain Port: 8080 ------ 2002-10-09T13:57:38 INFO(0) ZServer FTP server started at Wed Oct 9 14:57:38 2002 Hostname: localhost.localdomain Port: 8021 ------ 2002-10-09T13:57:38 INFO(0) ZServer Monitor Server (V1.8.4.1) started on port 8099 Traceback (innermost last): File "/usr/local/Zope-2.2.5-src/z2.py", line 710, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/usr/local/Zope-2.2.5-src/var/Z2.pid'
On Wednesday 09 October 2002 10:23 am, you wrote:
hello - can anyone offer some advice on this error message, from a new installation of Zope-2.2.5 on YellowDog Linux 2.3 ppc ?
(stderr.txt pasted below)
the Zope server was compiled from source, by root, and built in /usr/local/Zope-2.2.5
How was the server started? It sounds like it is probably running as someone other than root (which is a Good Thing), and that user does not have permission to write to '/usr/local/Zope-2.2.5-src/var/Z2.pid'. The user is probably 'nobody', which is also good. Where did you get the error messages, from /usr/local/Zope-2.2.5-src/var/debug.log or from the console? The problem should be corrected by changing the permissions of the directory /usr/local/Zope-2.2.5-src/var and probably some of the files in it, so that 'nobody' can write there. Something along the lines of: % chgrp nobody /usr/local/Zope-2.2.5-src/var % chmod g+w /usr/local/Zope-2.2.5-src/var % chgrp nodbody /usr/local/Zope-2.2.5-src/var/* % chmod g+w /usr/local/Zope-2.2.5-src/var/* should do what you need, although there may be more secure ways to do the same thing. Doug
thanks for the quick reply Doug
How was the server started?
./start & in /usr/local/Zope-2.2.5-src tried as root, and as a regular user with the same result
Where did you get the error messages, from /usr/local/Zope-2.2.5-src/var/debug.log or from the console?
from the console ./start > stdout.txt 2> stderr.txt &
The problem should be corrected by changing the permissions of the directory /usr/local/Zope-2.2.5-src/var and probably some of the files in it, so that 'nobody' can write there
thanks for the suggestions - plenty to go on !
although there may be more secure ways to do the same thing
like making a user 'zope' etc ? best regards cheers Richard
participants (2)
-
Doug Hellmann -
Richard Weltman