Prespawn Ruby application Errno::ECONNREFUSED エラーが発生する
Issue
- OSE で Ruby アプリケーションを起動すると、以下のエラーが出力されます。
[Wed Apr 15 19:16:17 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 15 19:16:17 2015] [notice] Digest: done
[Wed Apr 15 19:16:17 2015] [notice] Apache/2.2.15 (Unix) Phusion_Passenger/3.0.21 configured -- resuming normal operations
/opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `initialize':Connection refused - connect(2) (Errno::ECONNREFUSED)
from /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `new'
from /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:105:in `connect'
from /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:86:in `socket'
from /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:90:in `head_request'
from /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/prespawn:145:in `<main>'
- Openshift で ruby 1.9 にアップグレードするとアプリケーションがクラッシュします。
Environment
- OpenShift Enterprise 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
