[Zope] zope 2.7 && ZEO errors
zope at netchan.cotse.net
zope at netchan.cotse.net
Fri Apr 16 02:12:24 EDT 2004
> Behalf Of G. Clifford Williams
> Sent: Friday, April 16, 2004 1:04 AM
> Subject: [Zope] zope 2.7 && ZEO errors
>
> I've installed zope 2.7 (gmake instance) on OpenBSD-current
> when I try to
> execute a "python lib/python/ZEO/start.py" I get the following error:
[...]
AFAIR the ZEO make instance process was declared faulty.
Anyway, you can create your own zeo instance by examining the source of
lib/python/ZEO/mkzeoinst.py.
I have the following layout and startup script (OpenBSD 3.4):
$ pwd
/zope/instances/zeo
$ ls
total 24
drwxrwx--- 6 zope zopeadm 512 Feb 12 18:26 ./
drwxrwx--- 6 zope zopeadm 512 Jan 26 17:38 ../
drwxrwx--- 2 zope zopeadm 512 Jan 19 11:46 bin/
drwxrwx--- 2 zope zopeadm 512 Apr 14 17:50 etc/
drwxrwx--- 2 zope zopeadm 512 Jan 19 10:54 log/
drwxrwx--- 2 zope zopeadm 512 Apr 14 17:51 var/
--------------------------------------------------
$ pwd
/zope/instances/zeo/bin
$ cat runzeo
#! /bin/sh
PYTHON=/zope/python23/bin/python
INSTANCE_HOME=/zope/instances/zeo
CONFIG_FILE=$INSTANCE_HOME/etc/zeo.conf
SOFTWARE_HOME=/zope/zopestable/lib/python
PYTHONPATH=$SOFTWARE_HOME
ZEO_RUN=$SOFTWARE_HOME/ZEO/runzeo.py
export PYTHONPATH
exec "$PYTHON" "$ZEO_RUN" -C "$CONFIG_FILE" "$@"
--------------------------------------------------
Regards,
Sandor
More information about the Zope
mailing list