Re: [Zope] Can Zope 2.9 Coexist With Zope 2.6 Using Different Ports?

2006-02-23 Thread Thomas Bennett
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.

___
Zope maillist  -  Zope@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 )


Re: [Zope] Can Zope 2.9 Coexist With Zope 2.6 Using Different Ports?

2006-02-23 Thread Chris Withers

J Cameron Cooper wrote:
I don't know if this is your problem, but you can't run two instances off 
the same ZODB unless you use ZEO. 


And it's certainly an extremely bad idea to try and do so with two 
different versions of Zope, whatever your setup!


how you've installed things.) But it's certainly possible. I have at 
least three different versions of Zope and at least a dozen different 
instances on this machine right now.


Yup, he really needs to make sure the new and old zope's aren't trying 
to share an instance home on disk!


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@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 )


Re: [Zope] Can Zope 2.9 Coexist With Zope 2.6 Using Different Ports?

2006-02-22 Thread J Cameron Cooper

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'


I don't know if this is your problem, but you can't run two instances of 
the same ZODB unless you use ZEO. (That's my guess, but it depends on 
how you've installed things.) But it's certainly possible. I have at 
least three different versions of Zope and at least a dozen different 
instances on this machine right now.


   --jcc

--
"Building Websites with Plone"
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com

___
Zope maillist  -  Zope@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 )


Re: [Zope] Can Zope 2.9 Coexist With Zope 2.6 Using Different Ports?

2006-02-22 Thread Martijn Pieters
On 2/22/06, Mark, Jonathan (Integic) <[EMAIL PROTECTED]> 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
___
Zope maillist  -  Zope@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 )


[Zope] Can Zope 2.9 Coexist With Zope 2.6 Using Different Ports?

2006-02-22 Thread Mark, Jonathan (Integic)
Title: 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'




___
Zope maillist  -  Zope@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 )