
アプリケーションが500errorを返してきており困っています。
ログを見てもなんのことだかさっぱりです。
環境はcentos6,apache,passenger,rails4です。
よろしくお願いします。
App 22093 stderr: /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:203: warning: already initialized constant ActionController::Base::MODULES App 22093 stderr: /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:203: warning: previous definition of MODULES was here App 22093 stderr: /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:254: warning: already initialized constant ActionController::Base::PROTECTED_IVARS App 22093 stderr: /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:254: warning: previous definition of PROTECTED_IVARS was here App 22093 stderr: [ 2019-05-23 15:02:17.7479 22176/0x007fdf0682f630(Worker 1) utils.rb:68 ]: *** Exception NoMethodError in Rack application object (private method `include' called for ActionDispatch::Assertions:Module) (process 22176, thread 0x007fdf0682f630(Worker 1)): App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/turbolinks-5.2.0/lib/turbolinks.rb:25:in `block (2 levels) in <class:Engine>' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.1/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.1/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.1/lib/active_support/lazy_load_hooks.rb:44:in `each' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:266:in `<class:Base>' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:164:in `<module:ActionController>' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_controller/base.rb:5:in `<top (required)>' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:66:in `ext' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:27:in `match?' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:107:in `call' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/rack-1.6.11/lib/rack/sendfile.rb:113:in `call' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call' App 22093 stderr: from /home/ssl/rails_apps/up/vendor/bundle/ruby/2.0.0/gems/railties-4.2.1/lib/rails/application.rb:164:in `call' App 22093 stderr: from /home/ssl/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' App 22093 stderr: from /home/ssl/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/lib/phusion_passenger/request_handler/thread_handler.rb:142:in `accept_and_process_next_request' App 22093 stderr: from /home/ssl/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop' App 22093 stderr: from /home/ssl/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/lib/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'
passengerのログはこれだけしか表示されないです。
[Thu May 23 15:10:17 2019] [error] [client 0.0.0.0] Premature end of script headers:
もう一つログを見つけました。
0.0.0.0 - - [23/May/2019:15:15:01 +0900] "GET /user/login/ HTTP/1.1" 401 401 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36" 0.0.0.0 - up [23/May/2019:15:15:01 +0900] "GET /user/login/ HTTP/1.1" 500 541 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36" 0.0.0.0 - up [23/May/2019:15:15:01 +0900] "GET /favicon.ico HTTP/1.1" 200 - "http://hoge.com/user/login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36"

