[Zope] newbie installation problem Zope-2.2.5 on ppc linux

Doug Hellmann doug@hellfly.net
Wed, 9 Oct 2002 11:56:40 -0400


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