Alex Rivera | Logout

Cannot spawn application

Asked 2012-03-27T17:56:08.673
8

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?

Edit
Report

1 Answer

0

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.

answered 2012-11-14T02:06:20.837

Your Answer