<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>It was suggested that I send
along my lighttpd.conf, thanks for looking into this!<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>lighttpd.conf:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>server.modules
= (<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"mod_access",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"mod_fastcgi",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"mod_accesslog"
)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>server.document-root
= "/usr/local/rt3/share/html"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>server.errorlog
= "/var/log/lighttpd/error.log"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>index-file.names
= ( "index.php", "index.html",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"index.htm", "default.htm" )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>mimetype.assign
= (<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".pdf"
=> "application/pdf",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".sig"
=> "application/pgp-signature",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".spl"
=> "application/futuresplash",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".class"
=> "application/octet-stream",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".ps"
=> "application/postscript",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".torrent"
=> "application/x-bittorrent",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".dvi"
=> "application/x-dvi",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".gz"
=> "application/x-gzip",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> ".pac"
=>
"application/x-ns-proxy-autoconfig",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".swf"
=> "application/x-shockwave-flash",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".tar.gz"
=> "application/x-tgz",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".tgz"
=> "application/x-tgz",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".tar"
=> "application/x-tar",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".zip"
=> "application/zip",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".mp3"
=> "audio/mpeg",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".m3u"
=> "audio/x-mpegurl",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".wma"
=> "audio/x-ms-wma",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".wax"
=> "audio/x-ms-wax",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".ogg"
=> "application/ogg",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".wav"
=> "audio/x-wav",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".gif"
=> "image/gif",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".jar"
=> "application/x-java-archive",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".jpg"
=> "image/jpeg",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".jpeg"
=> "image/jpeg",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".png"
=> "image/png",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".xbm"
=> "image/x-xbitmap",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".xpm"
=> "image/x-xpixmap",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".xwd"
=> "image/x-xwindowdump",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".css"
=> "text/css",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".html"
=> "text/html",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".htm"
=> "text/html",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".js"
=> "text/javascript",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".asc"
=> "text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".c"
=> "text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".cpp"
=> "text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".log"
=> "text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".conf" =>
"text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".text"
=> "text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".txt"
=> "text/plain",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".dtd"
=> "text/xml",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".xml"
=> "text/xml",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".mpeg"
=> "video/mpeg",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".mpg"
=> "video/mpeg",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".mov"
=> "video/quicktime",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".qt"
=> "video/quicktime",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".avi"
=> "video/x-msvideo",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".asf"
=> "video/x-ms-asf",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".asx"
=> "video/x-ms-asf",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".wmv"
=> "video/x-ms-wmv",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".bz2"
=> "application/x-bzip",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".tbz"
=>
"application/x-bzip-compressed-tar",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
".tar.bz2"
=>
"application/x-bzip-compressed-tar",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # default mime type<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
""
=> "application/octet-stream",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>accesslog.filename
= "/var/log/lighttpd/access.log"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>url.access-deny
= ( "~", ".inc" )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>$HTTP["url"] =~
"\.pdf$" {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> server.range-requests =
"disable"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>static-file.exclude-extensions =
( ".php", ".pl", ".fcgi" )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>server.pid-file
= "/var/run/lighttpd.pid"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>server.username
= "apache"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>server.groupname
= "apache"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>$HTTP["host"] =~
"rtd2\.int\.kp\.com" {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Specify the
documentroot<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> server.document-root =
"/opt/rt3/share/html"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Map appropriate files
and extensions<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> fastcgi.map-extensions =
( ".css" => ".html", ".js" =>
".html", "/" => ".html",
"mail-gateway" => ".html", "Search/Chart"
=> ".html", "Search/Results.rdf" => ".html",
"Search/Results.tsv" => ".html", ".doc" =>
".html", ".zip" => ".html", ".7z"
=> ".html", ".jpg" => ".html",
".xls" => ".html", ".bmp" =>
".html", ".gif" => ".html" )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Set Lighttpd to check
for an index.html file for each directory<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> index-file.names = (
"index.html" )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Disallow access to
.mhtml files<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> url.access-deny = (
".mhtml" )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> setenv.add-environment =
(<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"SCRIPT_NAME" => "/",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Set up an alias for the
/NoAuth/images location<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> #url.rewrite-once = (<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> #
"^/(?!NoAuth/images/)(.*)" => "/$1",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> #)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Add trailing slash so
attachment downloads work<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> url.rewrite-once = (<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
#"^/(?!NoAuth/images/)(.*)" => "/$1",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"^(.*)/Ticket/Attachment/(.*)" =>
"/$1/Ticket/Attachment/$2/"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> # Set up FastCGI handler<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> fastcgi.server = (
".html" =><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> ((<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"socket" =>
"/tmp/rt-fcgi.socket",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"bin-path" =>
"/opt/rt3/bin/mason_lighttpd_handler.fcgi",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"check-local" => "disable",<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"min-procs" => 2,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
"max-procs" => 10<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
))<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> )<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] <b>On Behalf Of </b>Bob
Micheletto<br>
<b>Sent:</b> Friday, January 23, 2009 5:37 PM<br>
<b>To:</b> rt-users@lists.bestpractical.com<br>
<b>Subject:</b> [rt-users] RT 3.8.1/lighttpd problems<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’ve been trying to migrate an installation from RT
3.4.4 over to 3.8.1 on a new machine, and running into a bit of trouble.
The initial build using the production database works fine. However, <o:p></o:p></p>
<p class=MsoNormal>when I make the jump to go live, and migrate to the latest
copy of the production database to the new server things go awry. The
pages load at first, but after a short period start failing.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The following is a typical log entry in the lighttpd error log:<o:p></o:p></p>
<p class=MsoNormal>2009-01-23 15:11:09: (mod_fastcgi.c.2618) FastCGI-stderr:
[Fri Jan 23 21:11:03 2009] [info]: Successful login for bmicheletto from
10.30.3.42 (/usr/local/rt3/share/html/autohandler:273)<o:p></o:p></p>
<p class=MsoNormal>2009-01-23 15:50:19: (mod_fastcgi.c.1768) connect failed:
Connection refused on unix:/tmp/rt-fcgi.socket-9<o:p></o:p></p>
<p class=MsoNormal>2009-01-23 15:50:19: (mod_fastcgi.c.2956) backend died;
we'll disable it for 5 seconds and send the request to another backend instead:
reconnects: 0 load: 1<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Any ideas?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Bob Micheletto<o:p></o:p></p>
</div>
</body>
</html>