[Zope] PID Error with PCGI

rgines@purina.com rgines@purina.com
Thu, 30 Dec 1999 09:54:50 -0600


Well I thought I would look into running Zope alongside Apache using the
PCGI and associated wrapper on NT.   Since all indications were that this
was rather straightforward I dove in.  I have a feeling that I am having a
problem getting Apache to run the wrapper, but I don't think that is the
heart of the problem.  When I kick off Zope I get the following
information.

>---cutline ---<

D:\Program Files\GynzerWebSite>"D:\Program
Files\GynzerWebSite\bin\python.exe" "
D:\Program Files\GynzerWebSite\z2.py" -D -p "D:\Program Files\Apache
Group\Apache\CGI-BIN\zope.pcgi"
------
1999-12-29T23:46:34 PROBLEM(100) ZServer Computing default hostname
------
1999-12-29T23:46:34 INFO(0) ZServer Medusa (V1.10) started at Wed Dec 29
17:46:34 1999
        Hostname: w2041025.ppe.ralston.com
        Port:8080

------
1999-12-29T23:46:34 INFO(0) ZServer FTP server started at Wed Dec 29
17:46:34 1999
        Authorizer:None
        Hostname: w2041ddd
        Port: 8021
------
1999-12-29T23:46:34 ERROR(200) ZServer Cannot write PID file.
------
1999-12-29T23:46:34 INFO(0) ZServer Monitor Server (V1.5) started on port
8099

>---end cutline ---<

I'm not sure what could be causing the PID write problem.   Access Control
should not be the issue.   I have applied no access controls to the
directory in question and the process is running as an Admin.

Here is a copy of my zope.pcgi file.


>---cutline ---<
#!"D:\Program Files\GynzerWebSite\pcgi\win32\pcgi-wrapper.exe"
PCGI_NAME=GynzerWebSite
PCGI_PORT=8090
PCGI_MODULE_PATH="D:\Program Files\GynzerWebSite\lib\python\Main.py"
PCGI_PUBLISHER="D:\Program Files\GynzerWebSite\pcgi\pcgi_publisher.py"
PCGI_EXE="D:\Program Files\GynzerWebSite\pcgi"
PCGI_SOCKET_FILE="D:\Program Files\GynzerWebSite\pcgi\pcgi.soc"
PCGI_ERROR_LOG="D:\Program Files\GynzerWebSite\pcgi\pcgi.log"
PCGI_PID_FILE="D:\Program Files\GynzerWebSite\pcgi\pcgi.pid"
PCGI_DOSPLAY_ERRORS=1
BOBO_REALM=Zope
BOBO_DEBUG_MODE=1
INSTANCE_HOME="D:\Program Files\GynzerWebSite"
>---end cutline ---<


Any assistance would be appreciated.

If someone has successfully gotten Zope/Apache/PCGI to work with virtual
hosting on NT and would be willing to share their httpd.conf and zope.pcgi
files it would be greatly appreciated.

Thanks in advance!!