Redmine install: mod_fcgi error
Added by Serge Bilak over 10 years ago
Hello,
I've been trying to install redmine for a few hours, but no result yet.
I've followed this instruction:
http://www.redmine.org/projects/redmine/wiki/Install_Redmine_25x_on_Centos_65_complete
After it I've made a lot of work for some errors like "Gem not found" and now what I have:
dispatch.fcgi:
#!/usr/bin/env ruby
- Set necessary environment variables
ENV['HOME'] ||= `echo `.strip
ENV['GEM_HOME'] = File.expand_path('/.gems')
ENV['GEM_PATH'] = File.expand_path('~/.gems') + ":" + '/usr/local/rvm/gems/ruby-1.9.3-p547'require File.dirname(FILE) + '/../config/boot'
require File.dirname(FILE) + '/../config/environment'class Rack::PathInfoRewriter
def initialize(app)
@app = app
enddef call(env)
env.delete('SCRIPT_NAME')
parts = env['REQUEST_URI'].split('?')
env['PATH_INFO'] = parts0
env['QUERY_STRING'] = parts1.to_s
@app.call(env)
end
endRack::Handler::FastCGI.run Rack::PathInfoRewriter.new(RedmineApp::Application)
When I'm trying to access redmine web page I've got "Application error Rails application failed to start properly"
Apache error log: [Tue Oct 07 11:10:42 2014] [error] mod_fcgid: process /var/www/web14/data/www/t7.web14.com.ua/public/dispatch.fcgi(40137) exit(communication error), get signal 6, possible coredump generated
If someone know how to solve the issue or where I've gone wrong - I'll be very happy if you help me.
Thanks!
Replies (1)
RE: Redmine install: mod_fcgi error
-
Added by Serge Bilak over 10 years ago
Tried to repeat the instruction once again, but still receive the same issue.
When I make "bundle install" I'm receiving message "Don't run bundle as root", can it be the problem?