[rt-users] Request tracker and Lighttpd

Ivan Osipov osipov.i at gmail.com
Mon Dec 23 11:05:47 EST 2013


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

-------------- next part --------------
server.modules = (
	"mod_access",
	"mod_alias",
	"mod_compress",
 	"mod_redirect",
#       "mod_rewrite",
)

server.document-root        = "/var/www"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"

index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                               " index.lighttpd.html" )

url.access-deny             = ( "~", ".inc" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl"

dir-listing.encoding        = "utf-8"
server.dir-listing          = "enable"

compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/x-javascript", "text/css", "text/html", "text/plain" )

include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"

include "rt.domain.tld"
-------------- next part --------------
server.modules += ("mod_fastcgi")

$HTTP["host"] == "rt.domain.tld" {
        server.document-root = "/opt/rt4/share/html"
#        index.file-names = ( "index.html" ) 

        fastcgi.server = ( "/" =>
             ((
                "bin-path"      => "/opt/rt4/sbin/rt-server.fcgi",
                "socket"        => "/var/run/lighttpd/rt4.socket",
                "check-local"   => "disable",
                "fix-root-scriptname" => "enable"
              )),
          )
}
-------------- next part --------------
# Any configuration directives you include  here will override 
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
# The converse is also true, if this file isn't valid perl, you're
# going to run into trouble. To check your SiteConfig file, use
# this command:
#
#   perl -c /path/to/your/etc/RT_SiteConfig.pm
#
# You must restart your webserver after making changes to this file.


# You must install Plugins on your own, this is only an example
# of the correct syntax to use when activating them.
# Plugin( "RT::Extension::QuickDelete" );
# Plugin( "RT::Extension::CommandByMail" );

Set( $CommentAddress, 'support-comment at domain.tld' );
Set( $CorrespondAddress, 'support at domain.tld' );
Set( $DatabaseHost, 'localhost' );
Set( $DatabaseName, 'basename' );
Set( $DatabasePassword, 'pwd' );
Set( $DatabasePort, '' );
Set( $DatabaseRequireSSL, '' );
Set( $DatabaseType, 'mysql' );
Set( $DatabaseUser, 'username' );
Set( $Organization, 'rt.domain.tld' );
Set( $OwnerEmail, 'ivan at domain.tld' );
Set( $SendmailPath, '/usr/sbin/sendmail' );
Set( $WebDomain, 'rt.domain.tld' );
Set( $WebPort, '81' );
Set($Timezone, 'Europe/Moscow');
Set( $rtname, 'my_rtname' );
1;


More information about the rt-users mailing list