[rt-users] Trouble configuring FastCGI

Tim Wilson tim_wilson at hopkins.k12.mn.us
Mon Mar 14 12:58:28 EST 2005


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

-- 
Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA  (44š56.013'N  93š24.736'W)
ph: 952.988.4103  fax: 952.988.4311  AIM: tis270





More information about the rt-users mailing list