Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2011 19:35:17 +0200
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Rainer Schwarze <rsc@admadic.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: lighttpd/moinmoin/fastcgi: child exited with status 127
Message-ID:  <CAHcdu2pHdtS5rNW6JPDx5jVDZ6zwj4a-ZnWL2Z4Q_teQt5YmoQ@mail.gmail.com>
In-Reply-To: <4E438787.4050503@admadic.de>
References:  <4E42F7BD.4000105@admadic.de> <20110811013130.GF262@magic.hamla.org> <4E438787.4050503@admadic.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

MoinMoin wiki is written in Python, so lighttpd must be configured
either wscgi (fastcgi) or cgi.

2011/8/11 Rainer Schwarze <rsc@admadic.de>:
> On 8/11/2011 3:31 AM, Sahil Tandon wrote:
>> 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?
>>
>> =A0% php-cgi -v
>
> srvks# php-cgi -v
> php-cgi: Command not found.
>
> :-) php is not needed there (at least I hope so).
>
>>
>>> 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.
>
> The confusing part is, I can start it in the jail manually with
>
> /usr/local/etc/rc.d/lighttpd start
>
> So all the required things should be there.
>
> Are there any debug flags which I could activate to get more output from
> lighttpd? I probably don't need those which log requests etc. There
> don't seem to be any as command line parameter?
>
> best regards,
> Rainer
> --
> Rainer SCHWARZE (Mr.)
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



--=20
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcdu2pHdtS5rNW6JPDx5jVDZ6zwj4a-ZnWL2Z4Q_teQt5YmoQ>