Check Passenger version. Had this problem, rolled back to 2.2.9
(IIRC), removed the most recent Gem (2.2.11, I think), and all was
well.

On Thursday, June 24, 2010, Douglas Garstang <doug.garst...@gmail.com> wrote:
> I have a freshly installed and updated CentOS 5.4 system running
> puppet 0.25.5. I followed the passenger docs here:
>
> http://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger
>
> Upon starting the client, the following appears in the apache error log.
>
> [Thu Jun 24 10:48:40 2010] [error] [client 10.10.4.45] Premature end
> of script headers: production
> [ pid=6785 file=ext/apache2/Hooks.cpp:706 time=2010-06-24 10:48:40.476 ]:
>   The backend application (process 7077) did not send a valid HTTP
> response; instead, it sent nothing at all. It is possible that it has
> crashed; please check whether there are crashing bugs in this
> application.
> *** Exception TypeError in PhusionPassenger::Rack::ApplicationSpawner
> (can't convert Array into String) (process 7077):
>         from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in
> `union'
>         from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>         from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:1
>         from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/rack.rb:35:in
> `call'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/request_handler.rb:92:in
> `process_request'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_request_handler.rb:207:in
> `main_loop'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:120:in
> `run'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:65:in
> `spawn_application'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/utils.rb:252:in
> `safe_fork'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:58:in
> `spawn_application'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:41:in
> `spawn_application'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:150:in
> `spawn_application'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:278:in
> `handle_spawn_application'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in
> `__send__'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in
> `main_loop'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in
> `start_synchronously'
>         from 
> /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/bin/passenger-spawn-server:61
>
> Anyone got any ideas?
>
> Doug.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
Gary Larizza

Director of Technology
Huron City Schools
http://www.huronhs.com

悟

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to