Rails application failed to start properly

Added by ghosti gmail almost 7 years ago

i have installed redmine and its working fine when i run

ruby script/rails server webrick -e production

and i can able to access it from http://redmine:3000/. but when i am accessing it from http://redmine/ i am getting following error
Application error
Rails application failed to start properly

Logs error:

Apache error_log
from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/runtime.rb:66:in `each'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/runtime.rb:66:in `require'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/runtime.rb:55:in `each'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler/runtime.rb:55:in `require'
    from /usr/lib/ruby/gems/1.8/gems/bundler-1.2.0/lib/bundler.rb:128:in `require'
    from /var/www/redmine/config/application.rb:7
    from /var/www/redmine/public/../config/environment.rb:2:in `require'
    from /var/www/redmine/public/../config/environment.rb:2
    from /var/www/redmine/public/dispatch.fcgi:4:in `require'
    from /var/www/redmine/public/dispatch.fcgi:4

redmine_error log
[Mon Sep 17 00:43:30 2012] [warn] [client 192.168.9.7] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Sep 17 00:43:30 2012] [error] [client 192.168.9.7] Premature end of script headers: dispatch.fcgi
[Mon Sep 17 00:44:55 2012] [warn] [client 192.168.9.7] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Sep 17 00:44:55 2012] [error] [client 192.168.9.7] Premature end of script headers: dispatch.fcgi
[Mon Sep 17 00:47:39 2012] [warn] [client 192.168.9.7] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Sep 17 00:47:39 2012] [error] [client 192.168.9.7] Premature end of script headers: dispatch.fcgi
[Mon Sep 17 00:47:43 2012] [warn] [client 192.168.9.7] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Sep 17 00:47:43 2012] [error] [client 192.168.9.7] Premature end of script headers: dispatch.fcgi
[Mon Sep 17 00:48:49 2012] [warn] [client 192.168.9.7] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Sep 17 00:48:49 2012] [error] [client 192.168.9.7] Premature end of script headers: dispatch.fcgi

Can anyone help me to fix this issue?

Have CENTOS 6.3
Ruby 1.8.7
Apache 2.2.15

Replies (1)

RE: Rails application failed to start properly - Added by heng zhao 5 months ago

I also encountered the same problem.

(1-1/1)