I just had this happen to me today. Turns out that I had pasted some
database settings into the puppet.conf instead of the database.ini while
using *screen* and having too many windows open. Luckily I had some cert
warnings so I ran *puppet cert list --all *and got an error about the
puppet.conf file having an invalid line. There you go,
Sean
On Monday, December 9, 2013 9:45:17 PM UTC-7, Naveen Desu wrote:
>
> 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-puppetmasterEnvironment (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.
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/b132068d-c699-40c3-b5f0-4a64d336bce7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.