[Zope] Strange PCGI Problems

seb bacon seb@jamkit.com
20 Dec 2001 11:18:47 +0000


Don't use pcgi.  Use mod_rewrite & virtualhostmonster as described in 

  http://www.zope.org/Members/mwr/VHosts_With_Zope_Default

or use the 'enhanced VirtualHostMonster' at:

  http://www.zope.org/Members/sfm/SiteAccessEnhanced

IMO, pcgi should be eliminated completely from the apache / unix
rulebook.  Unfortunately it still seems necessary on Windows, I believe?

seb

On Thu, 2001-12-20 at 10:59, olpa@sybcom.de wrote:
> 
> Hi there,
> 
> I am trying to install Zope 2.4.3 from scratch with Apache/pcgi...
> 
> Starting Zope.cgi gives following:
> 
> <html>
> <head>
> <title>Temporarily Unavailable</title>
> </head>
> <body BGCOLOR="#FFFFFF">
> <table BORDER="0" WIDTH="100%">
> <tr>
> <td WIDTH="10%">
> <center>
> <b><font SIZE="+6" COLOR="#77003B">!</font></b>
> </center>
> </td>
> <td WIDTH="90%"><br>
> <font SIZE="+2">Temporarily Unavailable</font>
> <p>
> The resource you requested is temporarily unavailable - please try again
> later.
>   </td>
> </tr>
> </table>
> (102) failure during connect
> <!--
> No such file or directory
> pcgi-wrapper-version 2.0a5
> -->
> </body></html>
> 
> and in pcgi.log, there is:
> 
> Thu Dec 20 12:52:19 2001  unable to publish module
>   Traceback (most recent call last):
>   File "/mnt/raid/Zope/pcgi/pcgi_publisher.py", line 303, in handler
> 
> self.publish_module(self.moduleName,stdin=stdin,stdout=stdout,stderr=stderr,environ=env)
>   File "/mnt/raid/Zope/lib/python/ZPublisher/Publish.py", line 233, in
> publish_module
>     request.response.exception()
> AttributeError: 'None' object has no attribute 'response'
> 
> the Zope.cgi itself is:
> 
> #!/mnt/raid/Zope/pcgi/pcgi-wrapper
> PCGI_NAME=Zope
> PCGI_MODULE_PATH=/mnt/raid/Zope/lib/python/Zope
> PCGI_PUBLISHER=/mnt/raid/Zope/pcgi/pcgi_publisher.py
> PCGI_EXE=/mnt/raid/Zope/bin/python
> PCGI_SOCKET_FILE=/mnt/raid/Zope/var/pcgi.soc
> PCGI_PID_FILE=/mnt/raid/Zope/var/pcgi.pid
> PCGI_ERROR_LOG=/mnt/raid/Zope/var/pcgi.log
> PCGI_DISPLAY_ERRORS=1
> BOBO_REALM=/mnt/raid/Zope/Zope.cgi
> BOBO_DEBUG_MODE=1
> INSTANCE_HOME=/mnt/raid/Zope
> 
> and the paths are ok.
> 
> why is this happening ?
> 
> ---
>    My life needs a rewind/erase button.
> 		  -- Calvin
> ---
>  Oliver Pabst             .-------------------------.
>  mailto:olpa@sybcom.de    :                         :
>  phone :+49 681 56600600  :    project department   :          SYBCOM GmbH
>  fax   :+49 681 56600660  :                         : http://www.sybcom.de
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )