From owner-freebsd-ports@FreeBSD.ORG Thu Aug 11 01:31:34 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 9F83D1065676 for ; Thu, 11 Aug 2011 01:31:34 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 80DC58FC0C for ; Thu, 11 Aug 2011 01:31:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id EF48417088 for ; Wed, 10 Aug 2011 21:32:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received; s=aegis; t= 1313026322; bh=IRmh25UKoystic3VMHSYHSlLqQKv5+plxWvZCSRyxbg=; b=j TS7/rG+MPk9sVJY4EqAVYCuTvfH5cVaWv8n3iaQ415RrT+8oG1kITjHocvpfHsUF gk7hi9H/y0OONzeif57U1QeYBH9vNX6GH6JktprJElisiO3xVHCch500QFgCVvc4 7eyi1UXZ0pngiNSH9ZCGCfz169lEUimoQgaawWTFe8= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id 557g9ssJZljy for ; Wed, 10 Aug 2011 21:32:02 -0400 (EDT) Date: Wed, 10 Aug 2011 21:31:30 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20110811013130.GF262@magic.hamla.org> References: <4E42F7BD.4000105@admadic.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E42F7BD.4000105@admadic.de> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: lighttpd/moinmoin/fastcgi: child exited with status 127 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2011 01:31:34 -0000 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