I am trying to install ZEO 2.0b3 on a fresh copy of Zope 2.6.2. I installed Zope 2.6.2 successfully and I am able to get to the ZMI. I installed ZEO per the instructions in the Zope Book but when I go to start, it does the following: bash-2.05b$ python lib/python/ZEO/start.py -D -p 7700 Traceback (most recent call last): File "lib/python/ZEO/start.py", line 356, in ? main(sys.argv) File "lib/python/ZEO/start.py", line 222, in main zdaemon.run(sys.argv, env.zeo_pid) File "/usr/local/testsetup/Zope-2.6.2-src/lib/python/zdaemon/Daemon.py", line 59, in run write_pidfile(pidfile) File "/usr/local/testsetup/Zope-2.6.2-src/lib/python/zdaemon/Daemon.py", line 93, in write_pidfile pf = open(pidfile, 'w+') IOError: [Errno 13] Permission denied: '/usr/local/testsetup/Zope-2.6.2-src/var/ZEO_SERVER.pid' bash-2.05b$ Traceback (most recent call last): File "lib/python/ZEO/start.py", line 235, in main ImportError: No module named StorageServer I added the lib/python path to PYTHONPATH variable (export PYTHONPATH="/usr/local/testsetup/Zope-2.6.2/lib/python") with the same results. OS: FreeBSD 5.1 Python 2.1.3 Thanks for any ideas. Joe
Joe Toon wrote at 2003-11-5 14:47 -0700:
... pf = open(pidfile, 'w+') IOError: [Errno 13] Permission denied: '/usr/local/testsetup/Zope-2.6.2-src/var/ZEO_SERVER.pid'
A very clear problem report: Your OS tells you that you do not have the necessary permission to open "/usr/local/testsetup/Zope-2.6.2-src/var/ZEO_SERVER.pid" in "w+" mode. This may means "ZEO_SERVER.pid" already exists and it does not allow to be written or it does not yet exist and the directory forbids creation of new files. Thus check the permissions of "/usr/local/testsetup/Zope-2.6.2-src/var" and "/usr/local/testsetup/Zope-2.6.2-src/var/ZEO_SERVER.pid" The Zope process must be able to write there. -- Dieter
participants (2)
-
Dieter Maurer -
Joe Toon