[Zope] Newbie - Zope won't start

marwin98 marwin98@gmx.net
Fri, 15 Sep 2000 22:37:56 +0200


Hi, my first posting here - and hopefully helpful :)

At 22:13 15.09.00, John VanDyk wrote:
>When I try to start Zope with ./start ...
>Then I get this:
>Traceback (innermost last):
>   File "/usr/zope/Zope-2.2.1-linux2-x86/z2.py", line 708, in ?
>     pf = open(PID_FILE, 'w')
>IOError: [Errno 13] Permission denied: 
>'/usr/zope/Zope-2.2.1-linux2-x86/var/Z2.p
>id'
>
>I installed it as root and am root when I issue the start command.

This is exactly what you should not be. Normally no daemons should run as 
"root", because it's a potential security hole.
Your linux box should have a user "zope", under which the daemon should 
run. just do a

    su - zope

and run the "start" script again. For me that did do the trick.

Martin