Hi,
I’ve already posted my problem a few weeks ago on several forums, or
lists. I still have the same problem:
I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR
working with fastCGI.
I have installed different versions of fastCGI, have checked the
permissions of the fcgi-ipc directory, reinstalled everything and it
still doesn’t work.
In the browser window I always get this error:
Application error
Rails application failed to start properly
And this is log:
fastcgi.crash.log:
[16/Jan/2006:23:47:02 :: 977] starting
[16/Jan/2006:23:47:03 :: 977] terminated gracefully
apache.log:
development.log is empty.
This is my virtual host entry of apache:
ServerName myHost AddHandler fastcgi-script .fcgi AddHandler cgi-script .cgi DocumentRoot /srv/www/htdocs/web4/html/rails/public SuexecUserGroup web4 ftponly FastCgiWrapper /usr/sbin/suexec2 RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] ErrorDocument 500 "Application error
Rails application failed to start properly" Options ExecCGI FollowSymLinks AllowOverride all Allow from all Order allow,denyPlease help me!! I would be so happy, if I could use RoR on this
server too. Webrick is working, when I try to run dispatch.fcgi I get:
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:274:
warning: already initialized constant KNOWN_OPTIONS
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:279:
warning: already initialized constant DEF_KEY_ATTRIBUTES
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:280:
warning: already initialized constant DEF_ROOT_NAME
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:281:
warning: already initialized constant DEF_CONTENT_KEY
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:282:
warning: already initialized constant DEF_XML_DECLARATION
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:283:
warning: already initialized constant DEF_ANONYMOUS_TAG
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:284:
warning: already initialized constant DEF_FORCE_ARRAY
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.7/lib/xmlsimple.rb:285:
warning: already initialized constant DEF_INDENTATION
Status: 500 Internal Server Error
This should be ok, or not?
Greetings
Mike