Re: [Zope-dev] PCGI-Problem

2003-09-22 Thread Andre Schubert
On Sun, 21 Sep 2003 16:13:55 -0400
Casey Duncan [EMAIL PROTECTED] wrote:

 On Friday 19 September 2003 04:31 am, Andre Schubert wrote:
  On Thu, 18 Sep 2003 14:32:52 +0200
  Andre Schubert [EMAIL PROTECTED] 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.
 
 I would recommend putting it into the collector so that it does not get lost. 
 Please ignore the muted sound of laughter in the background... ;^)
 

Ok,

http://collector.zope.org/Zope/1054

Thanks, as

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] PCGI-Problem

2003-09-21 Thread Casey Duncan
On Friday 19 September 2003 04:31 am, Andre Schubert wrote:
 On Thu, 18 Sep 2003 14:32:52 +0200
 Andre Schubert [EMAIL PROTECTED] 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.

I would recommend putting it into the collector so that it does not get lost. 
Please ignore the muted sound of laughter in the background... ;^)

-Casey

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] PCGI-Problem

2003-09-19 Thread Andre Schubert
On Thu, 18 Sep 2003 14:32:52 +0200
Andre Schubert [EMAIL PROTECTED] 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

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )