Can Zope 2.9 Coexist With Zope 2.6 Using Different Ports?
My website GoodbyeJim.com currently runs Zope 2.6 on Red Hat 7.3. I have installed Zope 2.9 to use port 3200 instead of 80. Does Zope 2 support running two separate instances of two versions of Zope on different ports? I have been able to run Zope 3 concurrently with Zope 2.6 without problem. When I run bin/runzope in my Zope 2.9 home directory I get the following error on lock_file.py line 60: IOError: [Errno 13] Permission denied: '.../Data.fs.lock'
On 2/22/06, Mark, Jonathan (Integic) <jonathan.mark@integic-hc.com> wrote:
Does Zope 2 support running two separate instances of two versions of Zope on different ports? I have been able to run Zope 3 concurrently with Zope 2.6 without problem.
Absolutely, we run quite a few more than 2 Zope instances on one machine here.
When I run bin/runzope in my Zope 2.9 home directory I get the following error on lock_file.py line 60:
IOError: [Errno 13] Permission denied: '.../Data.fs.lock'
This is a different problem altogether. The Zope process does not have the rights to create the Data.fs.lock file. Without the whole traceback (always include the whole traceback!) I cannot tell you what exactly went wrong though. -- Martijn Pieters
I'm running Zope 2.8.1-final, python 2.3.5, linux2 and Zope 2.6.1 python 2.1.3, linux2 on the same server so I don't see why you cant' also run Zope 2.9. More than likely each of your configurations have the same path to the lock file. Edit zopefolder/etc/zope.conf where zopefolder is the name of you Zope instance. Or you need to grant permissions for the user that Zope runs as to modify that file or change owner. See 'man chmod' and 'man chown'. from zope.conf # Directive: lock-filename # # Description: # The path to a "lock file" which will be locked by Zope while it's # running. This file is used by zopectl.py to determine if Zope is # currently running. This defaults to CLIENT_HOME/Z2.lock. # # Default: CLIENT_HOME/Z2.lock # # Example: # # lock-filename /home/chrism/projects/sessions/var/Z2.lock Thomas On Wednesday 22 February 2006 12:59, Mark, Jonathan (Integic) wrote:
My website GoodbyeJim.com currently runs Zope 2.6 on Red Hat 7.3. I have installed Zope 2.9 to use port 3200 instead of 80.
Does Zope 2 support running two separate instances of two versions of Zope on different ports? I have been able to run Zope 3 concurrently with Zope 2.6 without problem.
When I run bin/runzope in my Zope 2.9 home directory I get the following error on lock_file.py line 60:
IOError: [Errno 13] Permission denied: '.../Data.fs.lock'
-- ==================================================================== Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III P O Box University Library Boone, North Carolina 28608 Please use the Systems Help Desk at http://linux.library.appstate.edu/help All in Systems receive an email with each submission. ====================================================================
participants (3)
-
Mark, Jonathan (Integic) -
Martijn Pieters -
Thomas Bennett