Re: [Zope] Newbie - Zope won't start

2000-09-15 Thread marwin98

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


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Newbie - Zope won't start

2000-09-15 Thread J. Atwood

Read the /doc/INSTALL

When you run install you should give it the username and group

./install -g nobody -u nobody

Try that and start it again.

J

 From: John VanDyk [EMAIL PROTECTED]
 Date: Fri, 15 Sep 2000 15:13:43 -0500
 To: [EMAIL PROTECTED]
 Subject: [Zope] Newbie - Zope won't start
 
 I downloaded and installed Zope for Linux as per the instructions at zope.org.
 
 When I try to start Zope with ./start  I get a report that it has started up
 on ports 8080, 8021, and 8099.
 
 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 a stock Red Hat 6.2 Intel box.
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
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 )