debian 服务器上的 REE 和 Passenger 显示 OOPS 无法连接到服务器
当我尝试加载网页时: 一段时间后,它显示 google crome 无法连接到服务器
有关此错误的更多信息可能会在服务器错误日志中提供。
阿帕奇错误日志:
/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.
When I try loading up the webpage: After sometime , it shows opps the google crome cannot connect to the server
More information about this error may be available in the server error log.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来 Passenger 进程在向浏览器发送响应之前就崩溃了。
根据日志,看起来像是 mysql2 gem 的问题。我建议卸载 gem 并重新安装,确保使用适合 Ruby 1.8.7 的版本。
It looks like the Passenger process crashed before it could send a response to the browser.
Based on the log, it looks like a problem with the mysql2 gem. I recommend uninstalling the gem and reinstalling, making sure to use the appropriate version for Ruby 1.8.7.