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...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@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
悟
Silviu
Ugh. Thanks. When I installed passenger, I got 2.1.15. I'm not a gem
user... don't use them. The web site
(http://blog.phusion.nl/2010/01/08/phusion-passenger-2-2-9-released/)
says to get 2.2.9 just do a 'gem install passenger' .... which is how
I got 2.2.15 installed.
Doug.
So, went to passenger 2.2.9. Still not working. Same error.
[root@inst01 httpd]# gem list
*** LOCAL GEMS ***
fastthread (1.0.7)
passenger (2.2.9)
rack (1.2.1)
rake (0.8.7)
[root@inst01 httpd]# ruby -v
ruby 1.8.5 (2006-08-25) [x86_64-linux]
[root@inst01 httpd]# rpm -qa | grep puppet
puppet-0.25.5-1.el5
puppet-server-0.25.5-1.el5
So... I don't have a clue...
Doug.
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...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.