What does the error log say about this? On Tue, Aug 14, 2012 at 1:15 AM, Adam Bengtsson <adam...@gmail.com> wrote:
> Hello there, > > Short time reader, first time poster. > > I've been having some problems deploying a web.py project with lighttpd. > > Running the hello world/name example works fine, but when trying to run my > own application (divided into multiple files) the mod_fastcgi reports that > "child exited with status 2". > > I've tried running the project with the builtin development http server > and it works fine, but with lighttpd I'm out of luck. > > lighttpd error log: > 2012-08-14 02:57:30: (log.c.166) server started > 2012-08-14 02:57:30: (mod_fastcgi.c.1104) the fastcgi-backend > /var/www/site/webpy/index.py failed to start: > 2012-08-14 02:57:30: (mod_fastcgi.c.1108) child exited with status 2 > /var/www/site/webpy/index.py > 2012-08-14 02:57:30: (mod_fastcgi.c.1111) If you're trying to run your app > as a FastCGI backend, make sure you're using the FastCGI-enabled version. > If this is PHP on Gentoo, add 'fastcgi' to the USE flags. > 2012-08-14 02:57:30: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed. > 2012-08-14 02:57:30: (server.c.938) Configuration of plugins failed. Going > down. > > After some googling I've concluded that when you get "child exited with > status 13" you have a executable permission error, but I can't find any > info on status 2. > > If anyone has a solution, similar experience or knows of a resource > explaining the status codes, it would be very much appreciated. > > Thanks in advance, > > //Adam > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/webpy/-/tp0fNy3GehsJ. > To post to this group, send email to webpy@googlegroups.com. > To unsubscribe from this group, send email to > webpy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.