[rt-users] Troubleshooting RT FastCGI Problems
Brian W. Spolarich
bwspolarich at uscar.org
Wed May 25 11:52:27 EDT 2005
I'm having some sudden difficulty with RT and FastCGI.
I recently upgraded RT to the latest version from the previous release
last week. Once I got FastCGI installed it worked without problems. I
changed from the Apache module approach because of some other issues I
was having that I wanted to isolate.
Now I'm getting 500 Server Errors from Apache when I go to /rt on my
server.
Here is the config:
# RT-related configuration directives
AddDefaultCharset UTF-8
AddHandler fastcgi-script fcgi
<Directory "/opt/rt3/share/html">
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
# Pass through requests to for noauth
Alias /NoAuth/ /opt/rt3/share/html/NoAuth/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi
</VirtualHost>
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
When I start apache I see this in error_log:
[Wed May 25 11:34:16 2005] [crit] (13)Permission denied: FastCGI: can't
create server "/opt/rt3/bin/mason_handler.fcgi": bind() failed
[/etc/httpd/logs/fastcgi/362fab4db3d651b6d082c0358ebb4d83]
Here are the perms on /etc/httpd/logs/fastcgi (/etc/httpd/logs is a
symlink to /var/log/httpd):
root at ws1:fastcgi# find /var/log/httpd/fastcgi -ls
588939 4 drwxrwxrwx 3 apache apache 4096 May 25 11:26
/var/log/httpd/fastcgi
588940 4 drwxrwxrwx 2 apache apache 4096 May 13 10:54
/var/log/httpd/fastcgi/dynamic
After a bit more head-scratching, and trying to manually set a
FastCgiIpcDir in /tmp, I found that /var/log/httpd was permitted 700
root:root. chmod 755 /var/log/httpd fixed the problem. I upgraded
Apache this week (RHEL3 release stream) and the patch must have
repermitted /var/log/httpd.
I'm finding RT to be quite fragile. :-)
-brian
--
Brian W. Spolarich ~ IT Consultant ~ USCAR ~ +1-248-223-9044
More information about the rt-users
mailing list