From owner-freebsd-ports@FreeBSD.ORG Wed Aug 10 21:30:10 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FE6010656AE for ; Wed, 10 Aug 2011 21:30:10 +0000 (UTC) (envelope-from rsc@admadic.de) Received: from wp135.webpack.hosteurope.de (wp135.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:848e]) by mx1.freebsd.org (Postfix) with ESMTP id 3002A8FC0A for ; Wed, 10 Aug 2011 21:30:10 +0000 (UTC) Received: from p5b2b5c32.dip.t-dialin.net ([91.43.92.50] helo=srvms.intra.admadic.com); authenticated by wp135.webpack.hosteurope.de running ExIM with esmtpa id 1QrGLo-0001rb-D7; Wed, 10 Aug 2011 23:30:08 +0200 Received: (qmail 14502 invoked by uid 98); 10 Aug 2011 21:27:19 -0000 Received: from 192.168.1.56 by srvms.intra.admadic.com (envelope-from , uid 89) with qmail-scanner-2.01 ( Clear:RC:1(192.168.1.56):. Processed in 0.009124 secs); 10 Aug 2011 21:27:19 -0000 Received: from unknown (HELO ?192.168.1.56?) (192.168.1.56) by srvms.lpz.q-17.de.local with SMTP; 10 Aug 2011 21:27:19 -0000 Message-ID: <4E42F7BD.4000105@admadic.de> Date: Wed, 10 Aug 2011 23:27:25 +0200 From: Rainer Schwarze User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;rsc@admadic.de;1313011810;997134e5; Subject: lighttpd/moinmoin/fastcgi: child exited with status 127 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 21:30:10 -0000 Hi, 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, Rainer Details: srv# uname -a FreeBSD srv.[snip] 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 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 /usr/local/www/wiki/admadic/moin.fcgi 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 version. 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# 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.)