Cannot spawn application

社会主义新天地 提交于 2019-12-12 10:38:51

问题


I have rvm, passenger, ruby 1.9.3, nginx but I now get this error

Cannot spawn application '/path/to/my/app': Could not read from the spawn server: Connection reset by peer (104)

I have passenger_root set to the output of passenger-config --root and ruby-1.9.3-p125 for passenger_ruby

I did have to do rvmsudo passenger-install-nginx-module because passenger kept trying to install with 1.8.7 support rather than 1.9.3

i've even set spawn mode to conservative.

Is there anything I'm missing out?


回答1:


This is happening most likely because your passenger user does not have permissions to run your application or your application itself is not starting up properly.



来源:https://stackoverflow.com/questions/9894939/cannot-spawn-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!