ruby on rails - The application spawner server exited unexpectedly: Connection closed - Passenger -


i've been stuck on few weeks , i've run out of ideas.

i trying move 2 ruby sites new server. 1 working flawlessly , other gives connection closed error.

it should standard apache + passenger 3.0 + ruby 1.8.7 + rails 2.3.18 setup. both ruby sites based on same code slight differences. i'm not ruby guy, administer servers developers out of ideas on issue.

apache's error log passenger debugging turned maximum shows this:

[ pid=23816 thr=139877253064448 file=ext/common/applicationpool/pool.h:939 time=2013-05-15 14:19:28.87 ]: spawning process /home/xxxxx because there none app group [ pid=23816 thr=139877253064448 file=ext/common/applicationpool/../spawnmanager.h:289 time=2013-05-15 14:19:28.88 ]: spawning new application process /home/xxxxx... [ pid=23816 thr=139877253064448 file=ext/common/applicationpool/server.h:292 time=2013-05-15 14:19:34.141 ]: client 28: spawnexception occured (with error page) 

so tries spawn app , fails. can't locate logs explain why failing however.

running ./script/server app's root folder works fine must more or less working correctly app.

the apache config file pretty straight forward , basic: (simplified slightly)

passengerroot /var/lib/gems/1.8/gems/passenger-3.0.19 passengerruby /usr/bin/ruby1.8 passengerenabled off passengeruserswitching on passengerloglevel 3 <virtualhost *:80>         servername xxxxx.com         serveradmin webmaster@agentpoint.com.au         documentroot /home/xxxxx/public         passengerenabled on         passengerapproot /home/xxxxx         passengertempdir /home/xxxxx/tmp         passengeruploadbufferdir /home/xxxxx/tmp/uploads </virtualhost> 

does know how error occuring given fact identical code base works fine? , logging should show spawn error that? missing crucial step failing , can't figure out doing precisely.

could upgrade phusion passenger 4? potentially solve problem. if not, phusion passenger 4 has better error reporting. print error reason logs.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -