[rt-users] Good Instruction for RT3 + Apache2 + FastCGI + MYSQL
Rommie
request_tracker at acerhomes.com
Tue Sep 30 05:06:02 EDT 2003
I solved this already. You need to put this on httpd.conf
AddHandler fastcgi-script fcgi
FastCgiIpcDir /var/log/httpd/fastcgi
FastCgiServer /usr/local/rt/bin/mason_handler.fcgi -idle-timeout 3600
Alias /NoAuth/images /usr/local/rt/share/html/NoAuth/images/
ScriptAlias / /usr/local/rt/bin/mason_handler.fcgi/
FastCgiIpcDir directs mod_fastcgi where it will put sockets and lock files.
Then you need to chown to apache or www all httpd
log directories including parents and chmod to 777.
Then you always need to check httpd error log for other permission error.
If you got this error 'Can't do setuid', just install perl-suidperl RPM
which available from your RH9 CD or website.
That's it. Then you should be able to see your first login screen.
I am about to configure my email and users list.
---rommie
> Ohh...again..what is this?
>
> My web browser produced an Internal Server Error then I checked the
> error log and I found it consistently/repeatedly producing this error.
>
> [Fri Sep 26 17:39:03 2003] [crit] (13)Permission denied: FastCGI: can't
> create server "/usr/local/rt/bin/mason_handler.fcgi": bind() failed
> [/etc/httpd/logs/fastcgi/f0fbdc528b6cf761a517e935bb97072f]
> [Fri Sep 26 17:39:04 2003] [crit] (13)Permission denied: FastCGI: can't
> create server "/usr/local/rt/bin/mason_handler.fcgi": bind() failed
> [/etc/httpd/logs/fastcgi/f0fbdc528b6cf761a517e935bb97072f]
>
> I checked again the mailinglist and I found this unanswered thread
>
> ----------------------------
> Hi,
>
> i just installed rt3.01 with fastcgi under apache 1.3.27. Dependencies
> are all ok. But now i always get this error log:
>
> [Mon Apr 28 13:26:28 2003] [error] [client 217.226.24.115]
> (13)Permission denied: FastCGI: failed to connect to server
> "/opt/rt3/bin/mason_handler.fcgi": connect() failed
> [Mon Apr 28 13:26:29 2003] [crit] (13)Permission denied: FastCGI: can't
> create server "/opt/rt3/bin/mason_handler.fcgi": bind
> () failed
> [/usr/local/apache/logs/fastcgi/362fab4db3d651b6d082c0358ebb4d83]
>
> I tried to change group and user of different directories but nothing
> helped. Please help!!!
>
> Thank you very much!
>
> Manuel Bernardy
> --------------------------------------------
>
> I re-checked my httpd.conf with this entry for any incorrect syntax
>
> NameVirtualHost 10.0.0.10
>
> <VirtualHost 10.0.0.10>
> ServerAdmin request_tracker at acerhomes.com
> ServerName file.acerhomes.com
> DocumentRoot "/usr/local/rt/share/html"
> AddDefaultCharset UTF-8
>
> <IfModule mod_fastcgi.c>
> AddHandler fastcgi-script fcgi
> FastCgiServer /usr/local/rt/bin/mason_handler.fcgi
> -idle-timeout 3600
> Alias /NoAuth/images
> /usr/local/rt/share/html/NoAuth/images/ ScriptAlias /
> /usr/local/rt/bin/mason_handler.fcgi/
> </IfModule>
> </VirtualHost>
>
>
>
> But it seems it started without an error.
> My current setup is httpd-2.0.40-21.5 (RPM) and mod_fastcgi-2.4.0
>
> Needed your help again!
>
> ---rommie
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list