[Zope] installing and running zope problem (r.h. linux 7.2)
Duane Douglas
ddouglas@mindspring.com
Fri, 01 Mar 2002 13:06:48 -0500
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?