15 Jun 10:31
Re[3]: Start up script for lighttpd?
From: Jack L <jlist9 <at> yahoo.ca>
Subject: Re[3]: Start up script for lighttpd?
Newsgroups: gmane.comp.web.lighttpd
Date: 2008-06-15 08:31:31 GMT
Subject: Re[3]: Start up script for lighttpd?
Newsgroups: gmane.comp.web.lighttpd
Date: 2008-06-15 08:31:31 GMT
I found out that somehow when run from /etc/init.d/lighttpd, a wrong version of Python is invoked. -- Best regards, Jack Saturday, June 14, 2008, 2:40:38 PM, you wrote: > Hello Christian, > In my case, lighttpd starts the fastcgi process automatically. > The exact error: > [root <at> server init.d]# Traceback (most recent call last): > File "/web/webapp.py", line 4, in ? > import web > ImportError: No module named web > 2008-06-14 17:38:27: (mod_fastcgi.c.1025) the fastcgi-backend /web/webapp.py failed to start: > 2008-06-14 17:38:27: (mod_fastcgi.c.1029) child exited with status 1 /web/webapp.py > 2008-06-14 17:38:27: (mod_fastcgi.c.1032) If you're trying to run > PHP as a FastCGI backend, make sure you're using the FastCGI-enabled > version. > You can find out if it is the right one by executing 'php -v' and > it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR > '(cli)'. > For more information, check > http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf > this is PHP on Gentoo, add 'fastcgi' to the USE flags. > 2008-06-14 17:38:27: (mod_fastcgi.c.1336) [ERROR]: spawning fcgi failed. > 2008-06-14 17:38:27: (server.c.895) Configuration of plugins failed. Going down.
RSS Feed