安装宝石后我无法启动我的redmine。我从github做了一个干净的安装,我跟着这个installation,但我仍然有同样的错误。 redmine(production.log)中没有输出。这是apache日志:
[ 2016-06-28 08:26:48.7305 3216/6db5c1bea700 Pool2/Spawner.h:738 ]: [App 3326 stdout]
[ 2016-06-28 08:26:53.4676 3216/6db5c1bea700 Pool2/SmartSpawner.h:301 ]: Preloader for /inlibro/opt/redmine started on PID 3326, listening on unix:/tmp/passenger.1.0.25100/generation-124/backends/preloader.3326
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr]
[ 2016-06-28 08:26:53.5183 3346/0x000000083b50a8(Worker 1) utils.rb:71 ]: *** Exception NoMethodError in Rack application object (undefined method `clean_path_info' for Rack::Utils:Module) (process 3346, thread 0x000000083b50a8(Worker 1)):
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:28:in `block in match?'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:27:in `map'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:27:in `match?'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/static.rb:110:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:102:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/engine.rb:518:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/application.rb:165:in `call'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in `public_send'
[ 2016-06-28 08:26:53.5184 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /var/lib/gems/1.9.1/gems/railties-4.2.5.2/lib/rails/railtie.rb:194:in `method_missing'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
[ 2016-06-28 08:26:53.5185 3216/6db5c0040700 Pool2/Implementation.cpp:1182 ]: [App 3326 stderr] from /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
[Tue Jun 28 08:26:53 2016] [error] [client 199.38.101.93] Premature end of script headers:
这是我的环境:
如果需要其他任何内容,请告诉我们!