On 02/08/10 19:17, Russell Jackson wrote: > I'm having a hell of a time with mod_passenger. Where would I even begin > to investigate where this exception is coming from? My configuration > works fine with the 2.6.0 webrick server. > >> [Thu Jul 29 18:03:00 2010] [error] [client 136.168.1.4] Premature end of >> script headers: preamble >> [ pid=28460 file=ext/apache2/Hooks.cpp:735 time=2010-07-29 18:03:00.77 ]: >> The backend application (process 30417) didn't send a valid HTTP response. >> It might have crashed during the middle of sending an HTTP response, so >> please check whether there are crashing problems in your application. This >> is the data that it sent: [Content-Type] >> *** Exception NoMethodError in PhusionPassenger::Rack::ApplicationSpawner >> (undefined method `each' for 3238:Fixnum) (process 30417): >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/request_handler.rb:100:in >> `process_request' >> from >> /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/utils.rb:278:in `each' >> from >> /usr/local/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/utils.rb:277:in `each' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/request_handler.rb:96:in >> `process_request' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_request_handler.rb:207:in >> `main_loop' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:120:in >> `run' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:65:in >> `spawn_application' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/utils.rb:252:in >> `safe_fork' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:58:in >> `spawn_application' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/rack/application_spawner.rb:41:in >> `spawn_application' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:150:in >> `spawn_application' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:278:in >> `handle_spawn_application' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in >> `__send__' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in >> `main_loop' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in >> `start_synchronously' >> from >> /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/bin/passenger-spawn-server:61
Can anyone experiencing the same issue try the following patch: http://github.com/masterzen/puppet/commit/4d48437d0102d46cedd865973b97db49bcc862d2 and let us know if that solves or not the issue? -- Brice Figureau My Blog: http://www.masterzen.fr/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
