From owner-freebsd-ports@FreeBSD.ORG Wed Aug 10 22:01:04 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 3D16C1065672 for ; Wed, 10 Aug 2011 22:01:04 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by mx1.freebsd.org (Postfix) with ESMTP id B4C9B8FC0A for ; Wed, 10 Aug 2011 22:01:03 +0000 (UTC) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward14.mail.yandex.net (Yandex) with ESMTP id 02AFB1984BBC; Thu, 11 Aug 2011 02:01:01 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1313013662; bh=vdIhDDSFexmecf4Rk1tksMbEZImPZ4VavgJpisK9Weo=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=jgvla6glpudTm09XEpXnNhAC8GHCFikCFvRzBBsPGY3ZxDzKg9n1Aat2VKZa88+7d bIj91/u31NMBmDQzOMDFzi/gDgT9fEHY1a1gxRRrRLngWrdv0vctZ/rFozzZxs4Szf ut48RNuhijeUtwCv7CEi0UPPgsQ+PW/zIGVR5ACA= Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id E37081B603AA; Thu, 11 Aug 2011 02:01:01 +0400 (MSD) Received: from unknown (unknown [178.76.212.172]) by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 112GYMEO; Thu, 11 Aug 2011 02:01:01 +0400 X-Yandex-Spam: 1 Message-ID: <4E42FF94.7090106@yandex.ru> Date: Thu, 11 Aug 2011 02:00:52 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:5.0) Gecko/20110701 Thunderbird/5.0 MIME-Version: 1.0 To: Rainer Schwarze References: <4E42F7BD.4000105@admadic.de> In-Reply-To: <4E42F7BD.4000105@admadic.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: 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 22:01:04 -0000 Rainer Schwarze wrote on 11.08.2011 01:27: > 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.) Are you sure it has something to do with jail? Does it work for you when not in jail environment? The last stable version is 1.9.3. Is updating your ports and using version 1.9.3 fix the problem? > > 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) > -- Regards, Ruslan