Problem Installing Zope 2.1.3
Hi I am trying to install Zope 2.1.3 on a linux machine running Suse 6.0. I manage to run the install script ok but when I try to start ZServer I get an error on the last task it is supposed to do (which is start the ZServer Monitor Server). The script halts with the error message of roughly: IOError Errno13 Permission denied on /zopedirectory/var/Z2.pid As far as I can find there is no Z2.pid file in the var directory and I have also used chmod on the directory to try and correct any permssion problems. If anybody can help me I would be very greatful as I hope to use Zope in my University Final year Project. Thanks again, Mat.
Matt, The error message is telling you that it can't create z2.pid. The directory it tries to put it in is <zopedir>/var, so the permissions need to be correct on this dir. HTH Phil phil.harris@zope.co.uk |>-----Original Message----- |>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of |>Matthew Stevenson |>Sent: Wednesday, February 02, 2000 12:32 PM |>To: zope@zope.org |>Subject: [Zope] Problem Installing Zope 2.1.3 |> |> |>Hi I am trying to install Zope 2.1.3 on a linux machine running |>Suse 6.0. I |>manage to run the install script ok but when I try to start |>ZServer I get an |>error on the last task it is supposed to do (which is start the |>ZServer Monitor |>Server). |> |>The script halts with the error message of roughly: |> |>IOError Errno13 Permission denied on /zopedirectory/var/Z2.pid |> |>As far as I can find there is no Z2.pid file in the var directory |>and I have |>also used chmod on the directory to try and correct any permssion |>problems. |> |>If anybody can help me I would be very greatful as I hope to use |>Zope in my |>University Final year Project. |> |> |>Thanks again, |> |>Mat. |> |> |>_______________________________________________ |>Zope maillist - Zope@zope.org |>http://lists.zope.org/mailman/listinfo/zope |>** No cross posts or HTML encoding! ** |>(Related lists - |> http://lists.zope.org/mailman/listinfo/zope-announce |> http://lists.zope.org/mailman/listinfo/zope-dev ) |>
At 12:32 pm +0000 2/2/00, Matthew Stevenson wrote:
IOError Errno13 Permission denied on /zopedirectory/var/Z2.pid
As far as I can find there is no Z2.pid file in the var directory and I have also used chmod on the directory to try and correct any permssion problems. Mat.
User nobody needs write permission to the var directory (as you started the process as root). This from Michel If you run Zope as root, it will turn itself into 'nobody'. This is a security feature many programs do. Run Zope as a user other than root and make sure that user has permission to write in the var directory. I run my Zopes as a non-privileged user and it all works fine... Tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
On Wed, Feb 02, 2000 at 03:06:05PM +0000, Tony McDonald wrote:
At 12:32 pm +0000 2/2/00, Matthew Stevenson wrote:
IOError Errno13 Permission denied on /zopedirectory/var/Z2.pid As far as I can find there is no Z2.pid file in the var directory and I have also used chmod on the directory to try and correct any permssion problems. Mat.
User nobody needs write permission to the var directory (as you started the process as root). This from Michel
If you run Zope as root, it will turn itself into 'nobody'. This is a security feature many programs do. Run Zope as a user other than root and make sure that user has permission to write in the var directory.
I run my Zopes as a non-privileged user and it all works fine...
I ran into this problem when I upgraded, because I'd changed zope to turn itself into user 'zope' instead of 'nobody'. But when I upgraded to 2.1.3 it replaced the start script with the default one. I had remembered to backup my Data.fs file, but hadn't thought of editing z2.py at all. It took me a lot of messing about with chmod and chown before I finally clicked to what was happening. Perhaps a note about this should be added to the UPGRADE instructions?
Tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project
Evan Gibson (Not Evan Simpson, but had you noticed that both Simpson and Gibson are the names of deserts?). -- Evan ~ThunderFoot~ Gibson ~ nihil mutatem, omni deletum ~ May the machines watch over you with loving grace.
participants (4)
-
Evan Gibson -
Matthew.Stevenson@student.shu.ac.uk -
Phil Harris -
Tony McDonald