[rt-users] Trouble configuring FastCGI

Sam Snow sam.snow at christianheritageschool.org
Mon Mar 14 13:13:20 EST 2005


Tim Wilson wrote:
> On 3/14/05 11:15 AM, "Sam Snow" <sam.snow at christianheritageschool.org>
> wrote:
> 
> 
>>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
> 
> 
> Thanks Sam,
> 
> I also added the following line to my apache config (outside of the RT
> virtual host). I set the owner of that directory to apache and, just for
> testing purposes, made permissions wide open (777).
> 
> FastCgiIpcDir /var/run/httpd/fastcgi
> 
> Here's what my logs show when I restart apache.
> 
> [Mon Mar 14 11:41:42 2005] [notice] FastCGI: process manager initialized
> (pid 6393)
> [Mon Mar 14 11:41:42 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" started (pid 6394)
> FastCGI: can't start server "/opt/rt/bin/mason_handler.fcgi" (pid 6394),
> execle() failed: Permission denied
> [Mon Mar 14 11:41:42 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" (pid 6394) terminated by calling exit with
> status '255'
> [Mon Mar 14 11:41:42 2005] [notice] mod_python: Creating 4 session mutexes
> based on 150 max processes and 0 max threads.
> [Mon Mar 14 11:41:42 2005] [notice] Apache/2.0.52 (Red Hat) configured --
> resuming normal operations
> [Mon Mar 14 11:41:47 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" restarted (pid 6403)
> FastCGI: can't start server "/opt/rt/bin/mason_handler.fcgi" (pid 6403),
> execle() failed: Permission denied
> [Mon Mar 14 11:41:47 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" (pid 6403) terminated by calling exit with
> status '255'
> [Mon Mar 14 11:41:52 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" restarted (pid 6404)
> FastCGI: can't start server "/opt/rt/bin/mason_handler.fcgi" (pid 6404),
> execle() failed: Permission denied
> [Mon Mar 14 11:41:52 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" (pid 6404) terminated by calling exit with
> status '255'
> [Mon Mar 14 11:41:57 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" restarted (pid 6405)
> FastCGI: can't start server "/opt/rt/bin/mason_handler.fcgi" (pid 6405),
> execle() failed: Permission denied
> [Mon Mar 14 11:41:57 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" (pid 6405) terminated by calling exit with
> status '255'
> [Mon Mar 14 11:41:57 2005] [warn] FastCGI: server
> "/opt/rt/bin/mason_handler.fcgi" has failed to remain running for 30 seconds
> given 3 attempts, its restart interval has been backed off to 600 seconds
> 
> It looks a permissions problem somewhere. Any ideas?
> 
> -Tim
> 

Not sure. I just googled for that error and could only find two 
references to similar stuff:

http://ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/131807
http://marc.free.net.ph/message/20041230.004507.b04e50e7.en.html 
(unanswered post to RT mailing list).

Maybe someone else will have an idea.

Your RT_SiteConfig.pm is readable by the apache2 user, correct?

Sam



More information about the rt-users mailing list