err: Could not retrieve catalog from remote server: Error 500 on SERVER: Ruby (Rack) application could not be started

Ruby (Rack) application could not be started

A source file that the application requires, is missing.
  • It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
  • A required library may not installed. Please install all libraries that this application requires.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
cannot load such file -- facter
Exception class:
LoadError
Application root:
/usr/share/puppet/rack/puppetmasterd
Backtrace:
# File Line Location
0 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
1 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
2 /usr/lib/ruby/vendor_ruby/puppet.rb 9 in `'
3 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
4 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
5 /usr/lib/ruby/vendor_ruby/puppet/application.rb 272 in `initialize'
6 /usr/lib/ruby/vendor_ruby/puppet/application.rb 229 in `new'
7 /usr/lib/ruby/vendor_ruby/puppet/application.rb 229 in `[]'
8 config.ru 16 in `block in
'
9 /usr/lib/ruby/vendor_ruby/rack/builder.rb 51 in `instance_eval'
10 /usr/lib/ruby/vendor_ruby/rack/builder.rb 51 in `initialize'
11 config.ru 1 in `new'
12 config.ru 1 in `
'
13 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 225 in `eval'
14 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 225 in `load_rack_app'
15 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 157 in `block in initialize_server'
16 /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb 572 in `report_app_init_status'
17 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 154 in `initialize_server'
18 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 204 in `start_synchronously'
19 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 180 in `start'
20 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 129 in `start'
21 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 253 in `block (2 levels) in spawn_rack_application'
22 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add'
23 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 246 in `block in spawn_rack_application'
24 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb 82 in `block in synchronize'
25 prelude> 10:in `synchronize'
26 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
27 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 244 in `spawn_rack_application'
28 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 137 in `spawn_application'
29 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application'
30 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 357 in `server_main_loop'
31 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 206 in `start_synchronously'
32 /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server 99 in `
'
 warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run err: Could not send report: Error 500 on SERVER: Ruby (Rack) application could not be started

Ruby (Rack) application could not be started

A source file that the application requires, is missing.
  • It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
  • A required library may not installed. Please install all libraries that this application requires.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
cannot load such file -- facter
Exception class:
LoadError
Application root:
/usr/share/puppet/rack/puppetmasterd
Backtrace:
# File Line Location
0 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
1 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
2 /usr/lib/ruby/vendor_ruby/puppet.rb 9 in `'
3 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
4 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in `require'
5 /usr/lib/ruby/vendor_ruby/puppet/application.rb 272 in `initialize'
6 /usr/lib/ruby/vendor_ruby/puppet/application.rb 229 in `new'
7 /usr/lib/ruby/vendor_ruby/puppet/application.rb 229 in `[]'
8 config.ru 16 in `block in
'
9 /usr/lib/ruby/vendor_ruby/rack/builder.rb 51 in `instance_eval'
10 /usr/lib/ruby/vendor_ruby/rack/builder.rb 51 in `initialize'
11 config.ru 1 in `new'
12 config.ru 1 in `
'
13 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 225 in `eval'
14 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 225 in `load_rack_app'
15 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 157 in `block in initialize_server'
16 /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb 572 in `report_app_init_status'
17 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 154 in `initialize_server'
18 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 204 in `start_synchronously'
19 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 180 in `start'
20 /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb 129 in `start'
21 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 253 in `block (2 levels) in spawn_rack_application'
22 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add'
23 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 246 in `block in spawn_rack_application'
24 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb 82 in `block in synchronize'
25 prelude> 10:in `synchronize'
26 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
27 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 244 in `spawn_rack_application'
28 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 137 in `spawn_application'
29 /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application'
30 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 357 in `server_main_loop'
31 /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb 206 in `start_synchronously'
32 /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server 99 in `
'