[Zope-dev] PCGI-Problem

Andre Schubert andre at km3.de
Fri Sep 19 04:31:56 EDT 2003


On Thu, 18 Sep 2003 14:32:52 +0200
Andre Schubert <andre at km3.de> wrote:

> Hi all,
> 
> i have a little problem.
> We have several Zope's running in our company.
> Versions are 2.5.1,2.6.1,2.6.2. All are running on Redhat Linux.
> All versions have the same problem, if i access them via pcgi and hit the Restart
> button in the Control Panel then the server goes down.
> If i do the same via ZServer port 8080 everything works fine.
> 
Hi all,

i think i have found a solution.
A patch is included for PCGIServer.py.
Could anybody check this patch please.
If there are no problems i could file a bug into the collector.

Thanks, as

################################################################

--- PCGIServer.py       Wed Aug 14 23:16:50 2002
+++ PCGIServer.py.patched       Fri Sep 19 10:13:05 2003
@@ -394,5 +394,5 @@
 
     def finish(self, response):
         if response._shutdownRequested():
-            self._shutdown = 1
+            self._shutdown = [sys.ZServerExitCode]
         self._channel.reply_code=response.status



More information about the Zope-Dev mailing list