在debian服务器上显示OOPS的REE与Passenger无法连接到服务器

时间:2011-11-23 23:19:54

标签: ruby-on-rails-3 apache2 passenger

当我尝试加载网页时:过了一段时间后,它会显示opps google crome无法连接到服务器

服务器错误日志中可能提供了有关此错误的更多信息。

apache error.log:

 /var/www/neighborTree-live/shared/bundle/ruby/1.8/gems/mysql2-0.2.11/lib/active_record/connection_adapters/mysql2_adapter.rb:56:
[BUG] Segmentation fault
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-linux], MBARI 0x8770,
Ruby Enterprise Edition 2010.01

[Thu Nov 24 01:10:26 2011] [error] [client 182.72.122.26] Premature
end of script headers: , referer: http://www.neighbortree.com/
[ pid=26090 file=ext/apache2/Hooks.cpp:700 time=2011-11-24 01:10:26.66 ]:
The backend application (process 23816) did not send a valid HTTP
response; instead, it sent nothing at all. It is possible that it has
crashed; please check whether there are crashing bugs in this
application.

1 个答案:

答案 0 :(得分:0)

看起来Passenger进程在向浏览器发送响应之前就崩溃了。 根据日志,它看起来像mysql2 gem的问题。我建议卸载gem并重新安装,确保使用适用于Ruby 1.8.7的版本。