Unexpected end-of-file detected.

729 views
Skip to first unread message

Misantropo

unread,
Sep 10, 2009, 6:07:56 AM9/10/09
to Phusion Passenger Discussions
Hi, i am new to Passenger. I am having this error on a RoR app.

Passenger encountered the following error:

The application spawner server exited unexpectedly: Unexpected end-of-
file detected.

Exception class:
PhusionPassenger::Railz::ApplicationSpawner::Error


Thanks in advance for your help.

treybean

unread,
Sep 15, 2009, 5:06:04 PM9/15/09
to Phusion Passenger Discussions
Did you figure out what was causing this? I'm seeing it show up on
one of my apps all of a sudden. Running rails 2.3.4. It was working
just a couple of days ago.

Thanks,
Trey

treybean

unread,
Sep 15, 2009, 9:43:23 PM9/15/09
to Phusion Passenger Discussions
I just tried upgrading to 2.2.5, but I'm still getting this on one of
the rails sites on my review server. There are other rails sites on
this box using passenger which are even 2.3.4 as well, so it must be
something affecting this particular app. Does anyone know where I
should begin to look? Here's the full output from the passenger error
page:

Passenger encountered the following error:

The application spawner server exited unexpectedly: Unexpected end-of-
file detected.

Exception class:
PhusionPassenger::Railz::ApplicationSpawner::Error
Backtrace:
# File Line Location
0 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/railz/application_spawner.rb 218 in `start'
1 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb 262 in `spawn_rails_application'
2 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server_collection.rb 126 in
`lookup_or_add'
3 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb 256 in `spawn_rails_application'
4 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
5 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
6 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application'
7 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb 154 in `spawn_application'
8 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/spawn_manager.rb 287 in `handle_spawn_application'
9 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb 352 in `__send__'
10 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb 352 in `main_loop'
11 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/
phusion_passenger/abstract_server.rb 196 in `start_synchronously'
12 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-
spawn-server 61

Thanks.

treybean

unread,
Sep 15, 2009, 9:59:57 PM9/15/09
to Phusion Passenger Discussions
Bah, nevermind.

I finally checked the main apache error log and discovered there was a
problem with one of my gems.

I think passenger should at least give an option to see more of the
stack trace that gets reported in apache's error log. Would have been
more helpful.

Trey
Reply all
Reply to author
Forward
0 new messages