Request tracker and Lighttpd

Hello all.
I’m trying to set up Request Tracker 4.2.1 and Lighttpd
(1.4.28-2ubuntu4) on Ubuntu 12.04 LTS with all updates.
RT has been installed from sources.
When I try get http://rt.domain.tld/ I see error-message “500 - Internal
Server Error”. In web-server error log:
2013-12-23 19:34:50: (log.c.166) server started
2013-12-23 19:34:59: (mod_fastcgi.c.2568) unexpected end-of-file
(perhaps the fastcgi process died): pid: 21743 socket:
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:34:59: (mod_fastcgi.c.3356) response not received, request
sent: 1173 on socket: unix:/var/run/lighttpd/rt4.socket-3 for ?, closing
connection
2013-12-23 19:37:05: (mod_fastcgi.c.1734) connect failed: Connection
refused on unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:05: (mod_fastcgi.c.3027) backend died; we’ll disable it
for 1 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2013-12-23 19:37:07: (mod_fastcgi.c.2568) unexpected end-of-file
(perhaps the fastcgi process died): pid: 21936 socket:
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:07: (mod_fastcgi.c.3356) response not received, request
sent: 1144 on socket: unix:/var/run/lighttpd/rt4.socket-3 for ?, closing
connection
Also I tried remove directory /opt/rt4/var/mason_data/ but it did not help.
BTW, RT via stand-alone web-server works correctly.
Lighttpd and RT configs attached.

Best regards,
Ivan Osipov

lighttpd.conf (1.13 KB)

rt.domain.tld (495 Bytes)

RT_SiteConfig.pm (1.37 KB)

When I try start RT via Apache 2 with mod_fastcgi
(Web deployment - RT 4.2.17 Documentation - Best Practical)
in Apache error-log:

[Mon Dec 23 21:24:54 2013] [warn] FastCGI: server
“/opt/rt4/sbin/rt-server.fcgi” has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to
600 seconds
[Mon Dec 23 21:24:54 2013] [warn] FastCGI: server
“/opt/rt4/sbin/rt-server.fcgi” has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to
600 seconds
[23549] [Mon Dec 23 17:24:54 2013] [critical]: Something went wrong
while trying to run RT’s standalone web server:
Can’t locate FCGI/ProcManager.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at
/usr/local/share/perl/5.14.2/Plack/Util.pm line 23.
(/opt/rt4/sbin/…/lib/RT.pm:391)
Something went wrong while trying to run RT’s standalone web server:
Can’t locate FCGI/ProcManager.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at
/usr/local/share/perl/5.14.2/Plack/Util.pm line 23.
[Mon Dec 23 21:24:54 2013] [warn] FastCGI: server
“/opt/rt4/sbin/rt-server.fcgi” (pid 23549) terminated by calling exit
with status ‘2’

23.12.2013 20:05, Ivan Osipov пїЅпїЅпїЅпїЅпїЅ:

Hello all.
I’m trying to set up Request Tracker 4.2.1 and Lighttpd
(1.4.28-2ubuntu4) on Ubuntu 12.04 LTS with all updates.
RT has been installed from sources.
When I try get http://rt.domain.tld/ I see error-message “500 -
Internal Server Error”. In web-server error log:

2013-12-23 19:34:50: (log.c.166) server started
2013-12-23 19:34:59: (mod_fastcgi.c.2568) unexpected end-of-file
(perhaps the fastcgi process died): pid: 21743 socket:
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:34:59: (mod_fastcgi.c.3356) response not received,
request sent: 1173 on socket: unix:/var/run/lighttpd/rt4.socket-3 for
?, closing connection
2013-12-23 19:37:05: (mod_fastcgi.c.1734) connect failed: Connection
refused on unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:05: (mod_fastcgi.c.3027) backend died; we’ll disable
it for 1 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2013-12-23 19:37:07: (mod_fastcgi.c.2568) unexpected end-of-file
(perhaps the fastcgi process died): pid: 21936 socket:
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:07: (mod_fastcgi.c.3356) response not received,
request sent: 1144 on socket: unix:/var/run/lighttpd/rt4.socket-3 for
?, closing connection

Also I tried remove directory /opt/rt4/var/mason_data/ but it did not
help.
BTW, RT via stand-alone web-server works correctly.
Lighttpd and RT configs attached.

пїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ,
пїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ

When I try start RT via Apache 2 with mod_fastcgi
(Web deployment - RT 4.2.17 Documentation - Best Practical)
in Apache error-log:
[snip]

Sounds like you didn’t configure with --with-web-handler=fastcgi, so
‘make testdeps’ didn’t check the dependencies that that deployment adds.

  • Alex

Thank you, everything works.