Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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
[marioroy]: The MCE::Hobo::Pool module will come later.
[Corion]: marioroy: Oh, that's always cool, having API-compatible modules. This makes testing and comparing things much easier
[marioroy]: IPC in MCE::Shared can handle 400k (sends) per second. That's seems a lot for being a pure-Perl module. After making the release, will come back and post a solution for a node by a fellow wanting faster logging.
[Corion]: While working on WWW::Mechanize:: Chrome, I had the suspicion that AnyEvent was doing something wrong, but I was able to swap it out for Mojolicious and the error persisted.
[Corion]: Of course, the error was in my own code ;)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-05-26 08:36 GMT
Find Nodes?
    Voting Booth?