Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

need help regarding perl dispatch on lighttpd

by opensourcer (Monk)
on Mar 02, 2010 at 06:18 UTC ( #826078=perlquestion: print w/ replies, xml ) Need Help??
opensourcer has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I need help regarding setting up perl dispacth on lighthttpd. On trying I got the following error, I have been trying to fix this sicne from two days and I couldn't fix as of now. Please help me.
2010-03-01 10:15:19: (log.c.75) server started 2010-03-01 10:15:19: (mod_fastcgi.c.1047) the fastcgi-backend /usr/bin +/perl failed to start: 2010-03-01 10:15:19: (mod_fastcgi.c.1051) child exited with status 0 / +usr/bin/perl 2010-03-01 10:15:19: (mod_fastcgi.c.1054) If you're trying to run PHP +as a FastCGI backend, make sure you're using the FastCGI-enabled vers +ion. You can find out if it is the right one by executing 'php -v' and it s +hould display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'. For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3A +ModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo +, add 'fastcgi' to the USE flags. 2010-03-01 10:15:19: (mod_fastcgi.c.1358) [ERROR]: spawning fcgi faile +d. 2010-03-01 10:15:19: (server.c.908) Configuration of plugins failed. G +oing down.
my lighttpd.conf @ http://paste.lighttpd.net/946 and my perl script http://paste.lighttpd.net/949 output of lighttpd -pf output -> http://paste.lighttpd.net/947
"I really don't live on earth, it's just my reflection" "open source is not only technology, but it's a world out there - opensourcer"

Comment on need help regarding perl dispatch on lighttpd
Download Code
Re: need help regarding perl dispatch on lighttpd
by Corion (Pope) on Mar 02, 2010 at 08:02 UTC

    You have shown us the error message. This is an important step. But you don't show us your lighthttpd configuration and you don't show us your (minimal) Perl script.

    My guess is that your Perl script is not written for FCGI. Use one of the FCGI modules to enable your script to run under FCGI.

Re: need help regarding perl dispatch on lighttpd
by Khen1950fx (Canon) on Mar 02, 2010 at 08:02 UTC
    Your configuration failed, so you'll need to check your lighttpd.conf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://826078]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-12-26 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (167 votes), past polls