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

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 +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 @ and my perl script output of lighttpd -pf output ->
"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"

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://826078]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-01-23 06:28 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (240 votes). Check out past polls.