Hello for me it seems Zope 2.2 pcgi is buggy ! My Fix was copying pcgi directory from 2.1.6 to 2.2 and exchanging the complete pcgi dir and it worked well ! down below is me Question to the Mailing list (seems to me Bill Anderson had same Problem) (2nd Part of message) first my report to the List: Hello i use Apache / Zope with 2.1.0 2.1.6 i can without problems start Zope With Zope 2.2 i get (after making the pcgi Wrappper and providing the new Zope.cgi to apache/cgi-bin Dir) No such file or directory PCGI Error: (102) failure during connect to ZServer Explanation: The PCGI-wrapper program, spawned by Apache to handle the HTTP request via the standard CGI protocol, is unable to connect to the ZServer background process via Unix socket /soft/swtest.rw.root/zope/rel2.2stable/Zope-2.2.0-src/var/pcgi.soc. and Mon Jul 17 17:16:32 2000 pcgi-wrapper(/usr/freeware/apache/share/cgi-bin/Zope.cgi): No such file or directory (102) failure during connect to ZServer where should i begin searching ? thanks for Help Micha (the Socket pcgi.soc is not generated but i assume this to be follow up to Problems starting Zserver ?) _______________________________________________________________ Bill Anderson wrote:
Michael Arndt wrote:
Have you fixed this Problem ?
Since i am havening the same Problem ?
Nope :(
I was told to use an older version of pcgi. but no luck. :(
-- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password.
-- ======================================================== Michael Arndt science + computing gmbh c/o CAE-Systemservice Abt. I/FS-2, CAE Systeme, Visualisierung Tel. +49 (841) 89-37421 Fax -35093 mail extern.michael2.arndt@audi.de ========================================================
On Tue, 18 Jul 2000, Michael Arndt wrote:
No such file or directory
PCGI Error:
(102) failure during connect to ZServer
Explanation:
The PCGI-wrapper program, spawned by Apache to handle the HTTP request via the standard CGI protocol, is unable to connect to the ZServer background process via Unix socket /soft/swtest.rw.root/zope/rel2.2stable/Zope-2.2.0-src/var/pcgi.soc. and Mon Jul 17 17:16:32 2000 pcgi-wrapper(/usr/freeware/apache/share/cgi-bin/Zope.cgi): No such file or directory (102) failure during connect to ZServer
where should i begin searching ?
Seems that the versions of pcgi from 2.1.6 to 2.2.0a1 and on are "broken" on purpose .. In pcgi/pcgi-wrapper.c, lines 246 to 282: /* // Attempt to connect */ if ((r->conn = pcgiConnect(r)) < 0) { if (!r->errmsg[0]) { strcpy(r->errmsg, ERR102_FAILURE_DURING_CONNECT); sprintf(r->explain, WHY102_FAILURE_DURING_CONNECT, r->sockpath); } onError(E_503, strerror(errno), r); /* if(pcgiVerifyProc(r) < 0) { if(pcgiStartProc(r) < 0) { if (!r->errmsg[0]) strcpy(r->errmsg, ERR101_FAILURE_DURING_START); onError(E_500, "Failed to start resource", r); } if ((r->conn=pcgiConnect(r)) < 0) { if (!r->errmsg[0]) strcpy(r->errmsg, ERR102_FAILURE_DURING_CONNECT); onError(E_503, strerror(errno), r); } } else { if (!r->errmsg[0]) strcpy(r->errmsg, ERR103_UNABLE_VERIFY_RUNNING); onError(E_503, "pcgiVerifyProc failed", r); } */ } But you're fix works around this problem nicely. David
participants (2)
-
David Elkins -
Michael Arndt