[Support] zope via pcgi

Veit Schiele veit.schiele at hostsharing.net
Mon Oct 16 14:14:20 CEST 2006


Hallo,

Pavel Bogdanovic wrote:
> Hi Leute,
> 
> versuche gerade Zope mit pcgi zu starten und erhalte folgende Fehlermeldung.
> Ich meine, dass keine andere Instanz läuft.  (ps –ux). Was kann ich machen?
> 
> Gruß
> Pavel
> 
> Errorlog:
> ./runzope
> /usr/local/share/zope/instances/2.9.4/lib/python/ZServer/utils.py:33:
> DeprecationWarning: The zLOG package is deprecated and will be removed in
> Zope 2.11. Use the Python logging module instead.
>   LOG('ZServer', severity[type], message)
> Traceback (most recent call last):
>   File
> "/usr/local/share/zope/instances/2.9.4/lib/python/Zope2/Startup/run.py",
> line 56, in ?
>     run()
>   File
> "/usr/local/share/zope/instances/2.9.4/lib/python/Zope2/Startup/run.py",
> line 21, in run
>     starter.prepare()
>   File
> "/usr/local/share/zope/instances/2.9.4/lib/python/Zope2/Startup/__init__.py"
> , line 92, in prepare
>     self.setupServers()
>   File
> "/usr/local/share/zope/instances/2.9.4/lib/python/Zope2/Startup/__init__.py"
> , line 208, in setupServers
>     raise ZConfig.ConfigurationError(socket_err
> ZConfig.ConfigurationError: There was a problem starting a server of type
> "PCGIServer". This may mean that your user does not have permission to bind
> to the port which the server is trying to use or the port may already be in
> use by another application. (No such file or directory)
> 
> Auszug aus der zope.conf:
> <http-server>
>   # valid keys are "address" and "force-connection-close"
>   address 30140
>   # force-connection-close on
> </http-server>
> 
> # Examples:
> #
>   <ftp-server>
>     # valid key is "address"
>     address 30142
>   </ftp-server>
> 
>   <webdav-source-server>
>     # valid keys are "address" and "force-connection-close"
>     address 30141
>     force-connection-close off
>   </webdav-source-server>
> 
>   <persistent-cgi>
>     # valid key is "path"
>     path $INSTANCE/cgi-bin/zope.cgi
>   </persistent-cgi
> ...
> Rechte von .../subs/www/etc/zope.cgi sind +xcccccccccccccccccccccccccccccc

So wie Deine Zope-Instanz konfiguriert ist, benötigt Dein
Zope-PCGI-Server zum Starten die Datei $INSTANCE/cgi-bin/zope.cgi (s.a.
<http://www.hostsharing.net/dokumentation/installationsanleitungen/zope-294.html#1892>).

Falls weitere Probleme auftreten, gib bitte Hive und Paket an.

Schöne Grüße
   Veit Schiele


More information about the Support mailing list