Re: fastcgi errors :: source is in error logs but never returned to browser?
Olivier Berger <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi. It seems I didn't understand what fastcgi is, as my message obviously reveals. The test CGI I've tried wouldn't work with fastcgi, of course. Anyway, I still have the same problem as you reported with sympa's wwsympa.fcgi script... but I will try and see what's wrong there. Sorry about bothering with my stupid test. Btw, I closed the Debian ticket... Now, let's see what's wrong with wwsympa, and maybe that's the same issue as the one you had ? Best regards, Le jeudi 22 février 2007 à 11:25 +0100, Olivier Berger a écrit : > Hi. > > I'm not sure you got any response to your report... > > I'd be interested in knowing if/how you solved it, as I'm experiencing > the same problem. > > Here's bellow a ticket I filed in Debian's BTS (bug #411928) about that > issue. > > If someone can provide any help, many thanks in advance. > > Best regards, > > P.S.: I've requested my subscription to the list but I'm not sure if it > worked. > P.P.S.: the mailman web interface of the list at > http://fastcgi.com/fastcgi-developers/listinfo.cgi/fastcgi-developers > seems broken atm :( > > -------- Message transféré -------- > Sujet: libapache2-mod-fastcgi: Won't work at all : script output sent to > error_log > Date: Wed, 21 Feb 2007 23:04:20 +0100 > > Package: libapache2-mod-fastcgi > Version: 2.4.2-8 > Severity: important > > I've been testing a simple shell-script CGI which outputs contents of a > file, after having had problems running wws (sympa's web interface) in > FastCGI. > > It won't work at all (both with my CGI script or wws) : error_log looks > like this, reporting output of the CGI script several time : > > [Wed Feb 21 22:54:22 2007] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/test.fcgi" started (pid 8389) > Content-type: text/html > > <HTML> > <HEAD><TITLE>File Output: /usr/share/doc/libapache2-mod-fastcgi/README > </TITLE> > </HEAD> > <BODY bgcolor="#cccccc" text="#000000"> > <HR SIZE=5> > <H1>File Output: /usr/share/doc/libapache2-mod-fastcgi/README </H1> > <HR SIZE=5> > <P> > <SMALL> > <PRE> > README for mod_fastcgi > ~~~~~~~~~~~~~~~~~~~~~~ > > [SNIP] > > </PRE> > </SMALL> > <P> > </BODY> > </HTML> > [Wed Feb 21 22:54:22 2007] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/test.fcgi" (pid 8389) terminated by calling exit with status '0' > Content-type: text/html > > <HTML> > > [SNIP] > > </HTML> > [Wed Feb 21 22:54:27 2007] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/test.fcgi" restarted (pid 8395) > [Wed Feb 21 22:54:27 2007] [warn] FastCGI: (dynamic) server "/usr/lib/cgi-bin/test.fcgi" (pid 8395) terminated by calling exit with status '0' > > > For reference, my CGI script is the following : > /usr/lib/cgi-bin/test.fcgi : > > #!/bin/sh > > echo Content-type: text/html > echo "" > > /bin/cat << EOM > <HTML> > <HEAD><TITLE>File Output: /usr/share/doc/libapache2-mod-fastcgi/README > </TITLE> > </HEAD> > <BODY bgcolor="#cccccc" text="#000000"> > <HR SIZE=5> > <H1>File Output: /usr/share/doc/libapache2-mod-fastcgi/README </H1> > <HR SIZE=5> > <P> > <SMALL> > <PRE> > EOM > > /bin/cat /usr/share/doc/libapache2-mod-fastcgi/README > > /bin/cat << EOM > </PRE> > </SMALL> > <P> > </BODY> > </HTML> > EOM > > > I suspect some weird problem with apache2.2 and FastCGI in etch atm :( > > -- System Information: > Debian Release: 4.0 > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.18-3-686 > Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) > > Versions of packages libapache2-mod-fastcgi depends on: > ii apache2.2-common 2.2.3-3.3 Next generation, scalable, extenda > > libapache2-mod-fastcgi recommends no packages. > > -- no debconf information > > Le mardi 02 janvier 2007 à 00:41 -0500, Un expéditeur inconnu a écrit : > > Hello all, > > I have recently installed mod_fastcgi and fastcgi for use with Movable Type > > 3.3 on a Plesk enabled (dv) server from mediatemple. Whenever I hit an fcgi > > file from a web browser, the browser hangs for several minutes before giving > > a 500 error. However, when I look in the logs, i see the correctly rendered > > html along with the following fastCGI errors.. > > > > [Tue Jan 02 00:14:11 2007] [warn] FastCGI: (dynamic) server > > "/var/www/vhosts/mysite/cgi-bin/mt/test.fcgi" (pid 4085) terminated by > > calling exit with status '0' > > > > [Tue Jan 02 00:14:11 2007] [warn] FastCGI: (dynamic) server > > "/var/www/vhosts/mysite/cgi-bin/test.fcgi" has failed to remain running for > > 30 seconds given 3 attempts, its restart interval has been backed off to 600 > > seconds > > > > the second error is then written out every 3 seconds until the server is > > restarted. > > > > Any help would be greatly appreciated. Thanks. j. > > > > -- Olivier BERGER <[email protected]> Ingénieur Recherche - Dept INF INT Evry (http://www.int-evry.fr) OpenPGP-Id: 1024D/6B829EEC ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/