FastCGI config problem on RHEL 4.0 w/ Apache 2.0.52

Hello gurus,
I’ve had a Rails app going strong for a month now running as CGI, and
users are finally complaining of the speed. So I’m attempting a FastCGI
setup. I’ve followed the RHEL instructions for fastcgi from the wiki
and googled for a day and am getting nowhere. Anybody have a hint? :slight_smile:

error_log:

[Sun Feb 12 08:51:01 2006] [crit] (13)Permission denied: FastCGI: can’t
create (dynamic) server
“/var/www/rails/mobmemo_prod/public/dispatch.fcgi”: bind() failed
[/tmp/fcgi_ipc/dynamic/30e79f0d49f25465be5c75e9cb091d52]
[Sun Feb 12 08:51:06 2006] [alert] [client 10.3.0.38] (2)No such file or
directory: FastCGI: failed to connect to (dynamic) server
“/var/www/rails/mobmemo_prod/public/dispatch.fcgi”: something is
seriously wrong, any chance the socket/named_pipe directory was
removed?, see the FastCgiIpcDir directive
[Sun Feb 12 08:51:06 2006] [error] [client 10.3.0.38] FastCGI:
incomplete headers (0 bytes) received from server
“/var/www/rails/mobmemo_prod/public/dispatch.fcgi”

below is when running .dispatch.fcgi from the command line:

[root@prhc-web1 public]# ./dispatch.fcgi
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:200:in
`const_missing’: uninitialized constant RailsFCGIHandler (NameError)
from ./dispatch.fcgi:25