Hi,
While I was trying to access Puppet REST API [https://<PuppetHost>:8140/production/facts/<ClientHost>], getting the below error.
I am not sure the issue here & could not find any specific log to further troubleshoot. Any help will be appreciated.
Web application could not be started
exit (SystemExit)
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:525:in `exit'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:525:in `rescue in exit_on_fail'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:511:in `exit_on_fail'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:364:in `run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:132:in `run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:86:in `execute'
config.ru:28:in `block in <main>'
/opt/puppet/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
/opt/puppet/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:105:in `eval'
/opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:105:in `preload_app'
/opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:150:in `<module:App>'
/opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/opt/puppet/share/phusion_passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
- Application root
- /var/opt/lib/pe-puppetmaster
- Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)
- production
PS: The server was working fine until the REST API DELETE https://<PuppetHost>:8140/production/certificate_status/{hostname} was run.
Thanks,
Naveen.