[Zope] Permission Denied...New Build

robert rottermann robert at redcor.ch
Wed Nov 29 14:12:13 EST 2006


this lock was maybe created by root.
(when zope started from /etc/init.d)

if so you have to delete it as root.

and of course your "efective user" defined (in /usr/local/zope/2012/etc/zope.conf)
must be set to somebody that has write permission in /usr/local/zope/2012/var

robert

Nancy Donnelly schrieb:
> 79797975
> Hi;
> After nuking my Zope instances by trying to copy my main HD over to my
> new one, I'm rebuilding with backups. But I'm having a problem. I built
> Z29 from source. I created an instance, specified the path, "nancy" as
> the user and a p/w. When I go to "runzope", as root or as nancy, I get
> this error:
> 
> root at server167:local/zope/2012 (108) ./bin/runzope
> Traceback (most recent call last):
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py", line
> 56, in ?
>     run()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py", line
> 21, in run
>     starter.prepare()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py",
> line 98, in prepare
>     self.startZope()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py",
> line 257, in startZope
>     Zope2.startup()
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/__init__.py",
> line 47, in startup
>     _startup()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/App/startup.py", line
> 60, in startup
>     DB = dbtab.getDatabase('/', is_root=1)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py",
> line 280, in getDatabase
>     db = factory.open(name, self.databases)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py",
> line 178, in open
>     DB = self.createDB(database_name, databases)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py",
> line 175, in createDB
>     return ZODBDatabase.open(self, databases)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py", line
> 97, in open
>     storage = section.storage.open()
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py", line
> 135, in open
>     quota=self.config.quota)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/ZODB/FileStorage/FileStorage.py",
> line 112, in __init__
>     self._lock_file = LockFile(file_name + '.lock')
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZODB/lock_file.py",
> line 60, in __init__
>     self._fp = open(path, 'w+')
> IOError: [Errno 13] Permission denied:
> '/usr/local/zope/2012/var/Data.fs.lock'
> 
> What do?
> TIA,
> Nancy
> 
> ------------------------------------------------------------------------
> Cheap Talk? Check out
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
> Yahoo! Messenger's low PC-to-Phone call rates.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )

-------------- next part --------------
A non-text attachment was scrubbed...
Name: robert.vcf
Type: text/x-vcard
Size: 200 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20061129/ec4478d3/robert.vcf


More information about the Zope mailing list