[rt-users] RE: RT on RHEL 4 with FastCGI

William Harrison harrison at itrd.gov
Wed Mar 16 17:22:58 EST 2005


OK, made changes to my httpd.conf as thus:

<VirtualHost *:80>
  DocumentRoot /var/www/html/

  AddHandler fastcgi-script fcgi

  <Directory "/opt/rt3/share/html">
    Options FollowSymLinks ExecCGI
    AllowOverride None
  </Directory>

  # Pass through requests to display images
  Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
</VirtualHost>

FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi



And a quick change to my RT_SiteConfig.pm:
 Set($WebPath , "/rt");



Lo and behold, Apache starts now. But something is still wrong somewhere... I can serve non-RT related pages, but my error_log just keeps filling up with the same error:

[Wed Mar 16 16:54:12 2005] [crit] (13)Permission denied: FastCGI: can't create server "/opt/rt3/bin/mason_handler.fcgi": bind() failed [/etc/httpd/logs/fastcgi/362fab4db3d651b6d082c0358ebb4d83]

about once per second...


This leads me to believe its a permissions issue - FastCGI doesn't have permission to create files in /etc/httpd/logs/fastcgi/ for some reason. Let's check that:

[root]ls -la /etc/httpd/logs/
drwxrwxrwx   3 apache apache 4096 Mar 16 12:28 fastcgi

So its owned by apache, grouped by apache, and has rwx access by absolutely everyone.


Suggestions?









More information about the rt-users mailing list