[Pkg-zope-developers] Zope->ZEO dependancy
Igor Stroh
igor@rulim.de
Sun, 24 Oct 2004 16:43:13 +0200
Hi all,
I've wrote a small script that resolves dependancies between
Zope and ZEO instances running on the same machine.
It uses the ZConfig stuff, so the values from parsed config files
are reliable.
What's the purpose of all this? Simple:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275813
Script itself:
http://stroh.scan-plus.de/zope_stuff/resolveZEODeps.py
Set 'zopes' and 'zeos' in main() to whatever matches your
system settings and run as root[1].
Cheers,
Igor
[1]: ZEOs config parser tries to open the log/zeo.log and since
the file above is usually writeable only by root or the "zope"
user, you'll get an IOError if you run the script as someone
else.