Having issues getting Puppet running under Passenger.

>From httpd error_log:

[ pid=24647 thr=268010020 file=utils.rb:176 time=2011-10-04
11:45:10.892 ]: *** Exception LoadError in
PhusionPassenger::Rack::ApplicationSpawner (no such file to load --
puppet/application/master) (process 24647, thread #<Thread:
0x0000001ff30448>):
        from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/
1.9.1/rubygems/custom_require.rb:36:in `require'
        from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/
1.9.1/rubygems/custom_require.rb:36:in `require'
        from config.ru:13:in `block in <main>'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/
rack/builder.rb:51:in `instance_eval'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/
rack/builder.rb:51:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1:in `<main>'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/rack/application_spawner.rb:222:in `eval'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/rack/application_spawner.rb:222:in
`load_rack_app'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/rack/application_spawner.rb:156:in `block in
initialize_server'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/utils.rb:572:in `report_app_init_status'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/rack/application_spawner.rb:153:in
`initialize_server'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server.rb:204:in `start_synchronously'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server.rb:180:in `start'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/rack/application_spawner.rb:128:in `start'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in
spawn_rack_application'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server_collection.rb:132:in
`lookup_or_add'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/spawn_manager.rb:246:in `block in
spawn_rack_application'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server_collection.rb:82:in `block in
synchronize'
        from <internal:prelude>:10:in `synchronize'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/spawn_manager.rb:275:in
`handle_spawn_application'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
        from /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/
helper-scripts/passenger-spawn-server:99:in `<main>'

- Installed Puppet and Facter from the latest tarballs.
- Installed Ruby 1.9.2 and rack/passenger gems from RVM.
- Used httpd and config.ru snippets from latest git version.
- Verified PassengerRoot, PassengerRuby, and all SSL-related
directives in httpd are configured properly.
- DocRoot is /etc/puppet/rack/puppetmaster/public/, config.ru lives
in /etc/puppet/rack/puppetmaster and is owned by puppet:puppet.

I'm not a Ruby master, but it just looks like the Puppet libraries
aren't being loaded for some reason and I can't figure out why. I'm at
the end of my rope, Google has exceeded its usefulness. Any help that
could be lent would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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