lighttpd/moinmoin/fastcgi: child exited with status 127

Rainer Schwarze rsc at
Wed Aug 10 21:30:10 UTC 2011


I want to run a moinmoin wiki in a jail via lighttpd. When I start the
jail, lighttpd logs an error and stops. When I run it manually, it
starts without problems and I can access the wiki in the browser.
Details below.
It looks like there are certain differences between starting when the
jail starts and starting manually. Which of those would influence this
issue? Can you give me any hints where I should start looking? (I asked
google but didn't get useful results.)

Thanks a lot - best regards,


srv# uname -a
FreeBSD srv.[snip] 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21
15:48:17 UTC 2009
root at  i386

srv# ezjail-admin start srvks
srv# ezjail-admin console srvks
srvks# tail /var/log/lighttpd/error.log
2011-08-10 20:54:54: (log.c.166) server started
2011-08-10 20:54:54: (mod_fastcgi.c.1104) the fastcgi-backend
/usr/local/www/wiki/admadic/moin.fcgi failed to start:
2011-08-10 20:54:54: (mod_fastcgi.c.1108) child exited with status 127
2011-08-10 20:54:54: (mod_fastcgi.c.1111) If you're trying to run your
app as a FastCGI backend, make sure you're using the FastCGI-enabled
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2011-08-10 20:54:54: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2011-08-10 20:54:54: (server.c.938) Configuration of plugins failed.
Going down.
srvks# /usr/local/etc/rc.d/lighttpd status
lighttpd is not running.
srvks# /usr/local/etc/rc.d/lighttpd start
Starting lighttpd.
srvks# /usr/local/etc/rc.d/lighttpd status
lighttpd is running as pid 14281.

srvks# /usr/local/sbin/lighttpd -v
lighttpd/1.4.28 (ssl) - a light and fast webserver
Build-Date: Jul 31 2011 08:23:56

(moimoin is 1.9.2)

Rainer SCHWARZE (Mr.)

More information about the freebsd-ports mailing list