[Zope] My Installation Problem 2.7.3

Uwe Wlaschny professorix at gmx.de
Tue Dec 21 17:01:49 EST 2004


Im absolute zope beginner and tried to solve my probability Easy-Problem by
googling and looking in the forums, but it seems much confusing to me. There
are informations to use user nobody and sticky bits, but on the other site I
found informations such:
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/InstallingZope.stx/document_src
Note: for Zope 2.7, none of this permission-sticky-bit-setting nonsense is
necessary. Instead, just set the effective-user parameter to an existing
(nonroot) username in the zope.conf file and start Zope as root. All files
including log and pid files will be written as the lesser-privileged user.

If I try to make an instance of Zope 2.7.3 with
/opt/Zope-2.7/bin/mkzopeinstance.py I don't see an error (is there a
logfile?) but if I start the Zope-instance I get the following error. Can
someone help me? I use Python 2.3.4  

After completing mkzopeinstance there are no files in the VAR-directory. Is
this correct? When will the data.fs build?

p15142999:/usr/local/myzope/bin # ./zopectl fg
export EVENT_LOG_FILE
EVENT_LOG_FILE=
/usr/local/myzope/bin/runzope
------
2004-12-21T22:37:43 INFO(0) ZServer HTTP server started at Tue Dec 21
22:37:43 2004
        Hostname: p15142999.pureserver.info
        Port: 8080
------
2004-12-21T22:37:43 INFO(0) ZServer FTP server started at Tue Dec 21
22:37:43 2004
        Hostname: p15142999
        Port: 8021
------
2004-12-21T22:37:43 INFO(0) Zope Set effective user to "uwc"
Traceback (most recent call last):
  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 51, in
start_zope
    starter.startZope()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/__init__.py", line 230, in
startZope
    Zope.startup()
  File "/opt/Zope-2.7/lib/python/Zope/__init__.py", line 47, in startup
    _startup()
  File "/opt/Zope-2.7/lib/python/Zope/App/startup.py", line 57, in startup
    DB = configuration.dbtab.getDatabase('/', is_root=1)
  File "/opt/Zope-2.7/lib/python/DBTab/DBTab.py", line 96, in getDatabase
    db = self._createDatabase(name, is_root)
  File "/opt/Zope-2.7/lib/python/DBTab/DBTab.py", line 113, in
_createDatabase
    db = factory.open()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line 172, in
open
    DB = self.createDB()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line 169, in
createDB
    return ZODBDatabase.open(self)
  File "/opt/Zope-2.7/lib/python/ZODB/config.py", line 97, in open
    return ZODB.DB(section.storage.open(),
  File "/opt/Zope-2.7/lib/python/ZODB/config.py", line 128, in open
    quota=self.config.quota)
  File "/opt/Zope-2.7/lib/python/ZODB/FileStorage.py", line 232, in __init__
    self._lock_file = LockFile(file_name + '.lock')
  File "/opt/Zope-2.7/lib/python/ZODB/lock_file.py", line 60, in __init__
    self._fp = open(path, 'w+')
IOError: [Errno 13] Permission denied: '/usr/local/myzope/var/Data.fs.lock'

TIA
Regards
Uwe

-- 
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben


More information about the Zope mailing list