[rt-users] RT 3.8.9 -> 4.0.0 upgrade

Ross Lawrie ross at riverstyx.net
Mon May 2 11:49:30 EDT 2011


Thanks Jesse,

On Sun, 2011-05-01 at 10:18 -0400, Jesse Vincent wrote:

> There's a lot of ...extra stuff in your apache config. Can you try with the default config in docs/web_deployment.pod

Alright, dropped SSL and switched to using the config included in the
web_deployment.pod:

===
FastCgiServer /usr/share/rt4/sbin/rt-server.fcgi -processes 5
-idle-timeout 300

<VirtualHost XXXXX.XXXXXX.XXX>
   ### Optional apache logs for RT
   # Ensure that your log rotation scripts know about these files
   ErrorLog /var/log/apache2/XXXXX.XXXXXX.XXX-error_log
   CustomLog /var/log/apache2/XXXXX.XXXXXX.XXX-access_log combined
   LogLevel debug

   AddDefaultCharset UTF-8

   Alias /NoAuth/images/ /usr/share/rt4/share/html/NoAuth/images/
   ScriptAlias / /usr/share/rt4/sbin/rt-server.fcgi/

   DocumentRoot "/usr/share/rt4/share/html"
   <Location />
      Order allow,deny
      Allow from all

      Options +ExecCGI
      AddHandler fastcgi-script fcgi
   </Location>
</VirtualHost>
===

I'm still really not seeing anything in the logs except the timeout
itself:

===
May  2 08:28:25 XXXXX.XXXXXX.XXX fcgi-pm[10038]: [warn] FastCGI: server
"/usr/share/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
===

In case this helps, here's my RT_SiteConfig.pm:

===
Set($rtname, 'XXXXXX');
Set($Organization, 'XXXXX.XXXXXX.XXX');
Set($MinimumPasswordLength, '7');
Set($OwnerEmail, 'XXX at XXXXX.XXX');
Set($MaxAttachmentSize, 30_000_000);
Set($WebPort, 443);
Set($WebPath, "");
Set($WebDomain, 'XXXXX.XXXXXX.XXX' );
Set($CorrespondAddress , 'XXX at XXXXXX.XXX');
Set($CommentAddress , 'XXX at XXXXXX.XXX');
Set($ParseNewMessageForTicketCcs , 1);
Set($DatabaseUser , 'rt4');
Set($DatabasePassword , 'XXXXXXXXX');
Set($DatabaseName , 'rt4');
Set($SpamAssassinClient, 'localhost');
Set($ParseNewMessageForTicketCcs , 1);
Set($LogToSyslog    , 'debug');
Set($LogToScreen    , 'debug');
Set($MaxInlineBody, 120000);
1;
===

> Which docs suggest you need to run rt-server by hand if you're using
> the fastcgi handler?  I'd like to get them clarified.  You should not 
> need to do that.

It wasn't so much that they suggested I do so, but I was just looking
for things that I might not have done. 


> So you're not seeing anything in the access log at all? That sort of
> suggests that the problem isn't on the RT side.  
> 
> > --with-db-rt-pass=XXXXXXXXX
> 
> For next time, I'd recommend not sending your database password to the list ;)

Appreciated, feeling pretty dumb about that. 

> Anyway, Give the "simpler" apache configuration a shot and we'll see how things go from there.

Thanks,

Ross.




More information about the rt-users mailing list