Hi

�I�am�setting�up�zope-2.7.5-final�on�a�server�(FreeBSD�5.3-RELEASE).
Installed python-2.3.5 from sources (not ports). After configuring and
compiling it correctly, I got an initial error on running runzope.
Following the exhortation I found on the following webpage :

http://mail.zope.org/pipermail/zope/2004-May/149695.html

�I�created�a�new�user�(zopeuser),�added�it�to�group�users,�and�tried�to�run
runzope as that user. I also changed the effective_user to zopeuser in
zope.conf. However, I now get the error :

�Traceback�(most�recent�call�last):
��File�"/usr/local/zope/lib/python/Zope/Startup/run.py",�line�50,�in�?
����run()
��File�"/usr/local/zope/lib/python/Zope/Startup/run.py",�line�19,�in�run
����start_zope(opts.configroot)
��File�"/usr/local/zope/lib/python/Zope/Startup/__init__.py",�line�52,�in
start_zope
����starter.startZope()
��File�"/usr/local/zope/lib/python/Zope/Startup/__init__.py",�line�231,�in
startZope
����Zope.startup()
��File�"/usr/local/zope/lib/python/Zope/__init__.py",�line�47,�in�startup
����_startup()
��File�"/usr/local/zope/lib/python/Zope/App/startup.py",�line�57,�in�startup
����DB�=�configuration.dbtab.getDatabase('/',�is_root=1)
��File�"/usr/local/zope/lib/python/DBTab/DBTab.py",�line�96,�in�getDatabase
����db�=�self._createDatabase(name,�is_root)
��File�"/usr/local/zope/lib/python/DBTab/DBTab.py",�line�113,�in
_createDatabase
����db�=�factory.open()
��File�"/usr/local/zope/lib/python/Zope/Startup/datatypes.py",�line�172,�in
open
����DB�=�self.createDB()
��File�"/usr/local/zope/lib/python/Zope/Startup/datatypes.py",�line�169,�in
createDB
����return�ZODBDatabase.open(self)
��File�"/usr/local/zope/lib/python/ZODB/config.py",�line�97,�in�open
����return�ZODB.DB(section.storage.open(),
��File�"/usr/local/zope/lib/python/ZODB/config.py",�line�128,�in�open
����quota=self.config.quota)
��File�"/usr/local/zope/lib/python/ZODB/FileStorage.py",�line�227,�in
__init__
����self._lock_file�=�LockFile(file_name�+�'.lock')
��File�"/usr/local/zope/lib/python/ZODB/lock_file.py",�line�60,�in�__init__
����self._fp�=�open(path,�'w+')
IOError: [Errno 13] Permission denied:
'/usr/local/zope/instance/var/Data.fs.lock'

�I�understand�partially�why�this�error�is�occuring�-�zopeuser�does�not�have
write permissions in the instance directory. I wonder how is this issue
resolved - does one change the group ownership of the entire zope tree to a
new group (say zopeusers) and add zopeuser to that group, or what ?

Thanks.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to