[Zope] PCGI not working --isolated cause!
Bill Anderson
bill@libc.org
Sat, 02 Sep 2000 11:21:56 -0600
OK, after being much frustrated with PCGI/ZServer
(I run ZServer, and talk to it both direct to port (management), and from Roxen through PCGI), not working. I found the
'problem'.
This works:
=====
#! /bin/sh
reldir=`dirname $0`
PYTHONHOME=`cd $reldir; pwd`
export PYTHONHOME
exec /usr/bin/python \
$PYTHONHOME/z2-2.2.py \
-m '' -f '' -w6001 -d 127.0.0.1
====
This Does not:
====
#! /bin/sh
reldir=`dirname $0`
PYTHONHOME=`cd $reldir; pwd`
export PYTHONHOME
exec /usr/bin/python \
$PYTHONHOME/z2-2.2.py \
-X -w6001 -d 127.0.0.1
======
The difference is in the port options passed to z2.py. If you use the new -X, it shuts of pcgi. If you use the old -m ''
-f '' (fo ronly running web), it works.
--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.