[rt-users] Trouble configuring FastCGI

Sam Snow sam.snow at christianheritageschool.org
Mon Mar 14 12:15:14 EST 2005


Tim Wilson wrote:
> Hey everyone,
> 
> I think I'm getting closer to getting FastCGI working with RT 3.2 on my
> RHEL4 box. I've been trying to combine advice from the list and wiki to come
> up with something that works. I get an Internal Server Error with the
> following errors logged:
> 
> [Mon Mar 14 10:50:31 2005] [error] [client 10.50.21.25] (13)Permission
> denied: FastCGI: failed to connect to server
> "/opt/rt/bin/mason_handler.fcgi": connect() failed
> [Mon Mar 14 10:50:31 2005] [error] [client 10.50.21.25] FastCGI: incomplete
> headers (0 bytes) received from server "/opt/rt/bin/mason_handler.fcgi"
> 
> My apache config looks like this:
> 
> FastCgiServer /opt/rt/bin/mason_handler.fcgi
> ScriptAlias / /opt/rt/bin/mason_handler.fcgi/
> 
> <VirtualHost 198.174.221.29>
>   DocumentRoot /opt/rt/share/html
>   DirectoryIndex index.html index.htm index.shtml
> 
>   CustomLog logs/support-access_log combined
>   ErrorLog logs/support-error_log
>   HostNameLookups off
> 
>   AddHandler fastcgi-script fcgi
>   <Directory "/opt/rt/share/html">
>     Options FollowSymLinks ExecCGI
>     AllowOverride None
>   </Directory>
> </VirtualHost>
> 
> I'm stumped. Any suggestions?
> 
> -Tim
> 

Tim,

Here is what I see when I restart my apache server (in the error log). 
Are you seeing something similar, and is the error message you posted 
coming when you try to access the index.html page?

[Sun Mar 13 22:24:29 2005] [notice] caught SIGTERM, shutting down 


[Sun Mar 13 22:24:32 2005] [notice] FastCGI: process manager initialized 
(pid 5296)

[Sun Mar 13 22:24:32 2005] [warn] FastCGI: server 
"/usr/share/request-tracker3.4/libexec/mason_handler.fcgi" started (pid 
5297)

[Sun Mar 13 22:24:34 2005] [notice] Apache/2.0.53 (Debian GNU/Linux) 
mod_fastcgi/2.4.2 PHP/4.3.10-8 mod_ssl/2.0.53 OpenSSL/0.9.7e configured

The key line above is the "mason_handler.fcgi" started" part. The 
handler is being started by your "FastCgiServer" line in your apache 
config.

Sam




More information about the rt-users mailing list