[Zope] start stop problems after renaming Zope installation

Tino Wildenhain tino@wildenhain.de
Sat, 28 Apr 2001 11:49:42 +0200


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 )