start stop problems after renaming Zope installation
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']
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
Change the "stop" file, it's a shell script. Alternately, if you delete both the "start" and "stop" files and run python wo_pcgi.py again, it will recreate them with the "right" stuff in there. This is probably the better answer, and will fix your second problem.
From: "Chris McDonough" <chrism@digicool.com>
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
Change the "stop" file, it's a shell script. Alternately, if you delete both the "start" and "stop" files and run python wo_pcgi.py again, it will recreate them with the "right" stuff in there. This is probably the better answer, and will fix your second problem.
Thanks :-) I deleted both and reran python wo_pcgi.py, but still had to edit 'stop' script path by hand. start, stop, restart + shutdown all work ok now. -Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']
hi Jason, the path is hard-coded at install time into start and stop - scripts. Simply edit them to your needs. Edit stop and use ./stop schould work. HTH Tino Wildenhain --On Freitag, 27. April 2001 14:35 -0400 Jason Cunliffe <jasonic@nomadicsltd.com> wrote:
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']
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
----- Original Message ----- From: "Tino Wildenhain" <tino@wildenhain.de> To: "Jason Cunliffe" <jasonic@nomadicsltd.com>; <zope@zope.org> Sent: Saturday, April 28, 2001 5:49 AM Subject: Re: [Zope] start stop problems after renaming Zope installation
hi Jason,
the path is hard-coded at install time into start and stop - scripts. Simply edit them to your needs. Edit stop and use ./stop schould work.
HTH Tino Wildenhain
Yes thanks that does help... usually but not always !?hm.. Yesterday I tried all permutations and it worked fine. This mornning I made some small DTML changes, tried 'restart' and 'shutdown' from Control_Panel/manage pagse. But I get a Zope error mesage which shows me it is is again looking for its old Zope installation name... Zope is not only the most fascinating web tool ever, it is also very sticky!! :-) Q:Where else does it get these installation path values from ? Error Type: IOError Error Value: [Errno 5] Input/output error Traceback (innermost last): File /web/Zope/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /web/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /web/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /web/Zope/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/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']
participants (3)
-
Chris McDonough -
Jason Cunliffe -
Tino Wildenhain