Followed the instructions in README: did configure, make upgrade, updated schema, now rt-server.fcgi+lighttpd is broken.
Lighttpd error log only says:
2011-06-23 15:09:24: (log.c.166) server started
2011-06-23 15:09:24: (mod_fastcgi.c.1104) the fastcgi-backend /opt/rt4/sbin/rt-server.fcgi failed to start:
2011-06-23 15:09:24: (mod_fastcgi.c.1108) child exited with status 255 /opt/rt4/sbin/rt-server.fcgi
2011-06-23 15:09:24: (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-06-23 15:09:24: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2011-06-23 15:09:24: (server.c.938) Configuration of plugins failed. Going down.
I can verify that manually executing rt-server.fcgi fails, as in:
[root@rt ~]# /opt/rt4/sbin/rt-server --port 9000
Plack::Handler::Starlet: Accepting connections at http://0:9000/
versus:
[root@rt ~]# /opt/rt4/sbin/rt-server.fcgi --port 9000
WARNING: RT couldn’t start up a web server on port 9000.
This is often the case if the port is already in use or you’re running /opt/rt4/sbin/rt-server.fcgi
as someone other than your system’s “root” user. You may also specify a
temporary port with: /opt/rt4/sbin/rt-server.fcgi --port
Please check your system configuration or choose another port
(And yes, I made sure nothing else was listening on port 9000. The .fcgi version won’t start on any port.)
Also confirmed I used the same ./configure line for both 4.0.0 and 4.0.1,
( from config.status, of either: )
ac_cs_config=“‘–enable-graphviz’ ‘–enable-gd’ ‘–enable-gpg’ ‘–with-web-handler=fastcgi’ ‘–with-db-type=Pg’”
Nothing changed in my lighttpd setup, nor in my Pg setup… help? What debugging should I be enabling to help narrow this down?
(Luckily, in the meantime, I just revert to using rt-server again.)
-Adam Thompson
mailto:athompso@athompso.net athompso@athompso.net
(204) 291-7950 - direct
(204) 489-6515 - fax