Forum: Ruby on Rails FastCGI config problem on RHEL 4.0 w/ Apache 2.0.52

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A6b74fef495a52a7d868534e10024091?d=identicon&s=25 Sean Clark (smc7000)
on 2006-02-12 16:09
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? :)

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
This topic is locked and can not be replied to.