无法产生应用程序 [英] Cannot spawn application
问题描述
我有rvm,passenger,ruby 1.9.3,nginx,但是现在出现此错误
I have rvm, passenger, ruby 1.9.3, nginx but I now get this error
无法生成应用程序'/path/to/my/app':无法从生成服务器读取:连接被同级重置(104)
Cannot spawn application '/path/to/my/app': Could not read from the spawn server: Connection reset by peer (104)
我已将passenger_root
设置为passenger_ruby
的passenger-config --root
和ruby-1.9.3-p125
的输出
I have passenger_root
set to the output of passenger-config --root
and ruby-1.9.3-p125
for passenger_ruby
我确实必须做rvmsudo passenger-install-nginx-module
,因为乘客一直试图安装1.8.7支撑而不是1.9.3
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.
有什么我想念的吗?
推荐答案
最有可能发生这种情况的原因是您的乘客用户没有运行您的应用程序的权限,或者您的应用程序本身无法正常启动.
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.
这篇关于无法产生应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!