lighttpd/moinmoin/fastcgi: child exited with status 127

Sahil Tandon sahil at
Thu Aug 11 01:31:34 UTC 2011

On Wed, 2011-08-10 at 23:27:25 +0200, Rainer Schwarze wrote:

> 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.
> 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.)

What is the output of the following command, inside the jail, as the
user that runs lighttpd?

 % php-cgi -v

> 2011-08-10 20:54:54: (mod_fastcgi.c.1108) child exited with status 127
> /usr/local/www/wiki/admadic/moin.fcgi

Without more information, my WAG is that certain files (libraries,
perhaps) used by fcgi cannot be found by lighttpd from inside the jail.

Sahil Tandon <sahil at>

More information about the freebsd-ports mailing list