[Zope] start stop problems after renaming Zope installation
Jason Cunliffe
jasonic@nomadicsltd.com
Fri, 27 Apr 2001 14:35:58 -0400
hum: Newbie Trouble understanding how Zope 'sees' itelf and where it sets
this ...
Am upgrading from Zope 2.2.5 to 2.3.1b3 on Linux Redhat6.2
Running behind Apache 1.3 with Proxy Pass Directives and Siteroot.
Thought I would install install Zope in a separate folder and do some
private tests and imports firsts. I installed Zope-2.3.1-src.tgz but after
installing renamed its root folder to 'Zope231' [I'm a bad dislexic typist].
Problem: It starts OK but when I try to stop from su I get this error:
[root@colocate05 Zope231]# ./stop
cat: /web/Zope-2.3.1-src/var/Z2.pid: No such file or directory
Obviously when running Zope still 'thinks' it is in /web/Zope-2.3.1-src/ but
it is actually /web/Zope231/ now.
Q1: Where and when does Zope set this ?
Q2: How do I change it?
Q2: How best to install Zope adn upgrades into a newly named directory
without these problems?
Using Zope manage control panel to restart or stop I get the same problem:
Traceback (innermost last):
File /web/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
File /web/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 187, in
publish
File /web/Zope-2.3.1-src/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File /web/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 171, in
publish
File /web/Zope-2.3.1-src/lib/python/ZPublisher/mapply.py, line 160, in
mapply
(Object: manage_restart)
File /web/Zope-2.3.1-src/lib/python/ZPublisher/Publish.py, line 112, in
call_object
(Object: manage_restart)
File /web/Zope-2.3.1-src/lib/python/App/ApplicationManager.py, line 385,
in manage_restart
(Object: Traversable)
File /web/Zope-2.3.1-src/lib/python/zLOG.py, line 213, in LOG
File /web/Zope-2.3.1-src/lib/python/ZLogger/ZLogger.py, line 17, in
log_write
File /web/Zope-2.3.1-src/lib/python/ZLogger/stupidFileLogger.py, line 99,
in __call__
File /web/Zope-2.3.1-src/lib/python/ZLogger/stupidFileLogger.py, line 151,
in stupid_log_write
IOError: (see above)
Thanks
- Jason
___________________________________________________________
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']