Re: [Zope] installing and running zope problem (r.h. linux 7.2)
Keep it on the list! On Fri, 2002-03-01 at 17:12, Duane Douglas wrote:
At 05:02 PM 3/1/2002 +0000, seb bacon wrote:
Not quite sure how you've got into that situation. To run Zope as a user 'zope' you can still *start* it as root. As root, try:
./start -u zope
now i'm getting the startup exception again. the output is below:
<snip>
2002-03-01T17:20:31 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/zope/Zope-2.5.0-linux2-x86/z2.py, line 688, in ? IOError: [Errno 13] Permission denied: '/usr/local/zope/Zope-2.5.0-linux2-x86/var/Z2.pid'
So, the user 'zope' does not have write access to the var directory and therefore cannot create the Z2.pid file. seb
At 05:37 PM 3/1/2002 +0000, seb bacon wrote:
Keep it on the list!
On Fri, 2002-03-01 at 17:12, Duane Douglas wrote:
At 05:02 PM 3/1/2002 +0000, seb bacon wrote:
Not quite sure how you've got into that situation. To run Zope as a user 'zope' you can still *start* it as root. As root, try:
./start -u zope
now i'm getting the startup exception again. the output is below:
<snip>
2002-03-01T17:20:31 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/zope/Zope-2.5.0-linux2-x86/z2.py, line 688, in ? IOError: [Errno 13] Permission denied: '/usr/local/zope/Zope-2.5.0-linux2-x86/var/Z2.pid'
So, the user 'zope' does not have write access to the var directory and therefore cannot create the Z2.pid file.
seb
are you sure about that? please look at the following output: [root@grumpy Zope-2.5.0-linux2-x86]# pwd /usr/local/zope/Zope-2.5.0-linux2-x86 [root@grumpy Zope-2.5.0-linux2-x86]# ls -l | grep var drwxrwxrwx 2 zope users 4096 Mar 1 12:48 var [root@grumpy Zope-2.5.0-linux2-x86]# the var directory owner is *zope* and has full access. am i overlooking something?
2002-03-01T17:20:31 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/zope/Zope-2.5.0-linux2-x86/z2.py, line 688, in ? IOError: [Errno 13] Permission denied: '/usr/local/zope/Zope-2.5.0-linux2-x86/var/Z2.pid'
So, the user 'zope' does not have write access to the var directory and therefore cannot create the Z2.pid file.
seb
the var directory owner is *zope* and has full access. am i overlooking something?
what happens when you 'touch var/Z2.pid' as zope? p.s. I'm going home soon so I may not answer till Monday...
At 05:59 PM 3/1/2002 +0000, seb bacon wrote:
2002-03-01T17:20:31 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/zope/Zope-2.5.0-linux2-x86/z2.py, line 688, in ? IOError: [Errno 13] Permission denied: '/usr/local/zope/Zope-2.5.0-linux2-x86/var/Z2.pid'
So, the user 'zope' does not have write access to the var directory and therefore cannot create the Z2.pid file.
seb
the var directory owner is *zope* and has full access. am i overlooking something?
what happens when you 'touch var/Z2.pid' as zope?
i su'd to zope, then cd'd to var, then issued "touch Z2.pid". the output is below: [root@grumpy Zope-2.5.0-linux2-x86]# su zope [zope@grumpy Zope-2.5.0-linux2-x86]$ cd var [zope@grumpy var]$ ls Data.fs Data.fs.in Data.fs.lock Data.fs.tmp pcgi.pid pcgi.soc Z2.log zProcessManager.pid [zope@grumpy var]$ touch Z2.pid [zope@grumpy var]$ ls Data.fs Data.fs.in Data.fs.lock Data.fs.tmp pcgi.pid pcgi.soc Z2.log Z2.pid zProcessManager.pid [zope@grumpy var]$ so, Z2.pid was created as user zope. what do you suggest that i do next?
participants (2)
-
Duane Douglas -
seb bacon