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
r...@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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"