Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011<div id="site_header"> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011#011<ul class="corporate_identity"> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011#011#011<li class="logo"><a href="https://www.phusionpassenger.com"><span>Phusion Passenger</span></a></li> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011#011</ul> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011</div> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011<div id="site_body"> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011#011<h1 class="error_title">Web application could not be started</h1> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011#011<div id="content"> Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: #011#011#011#011<pre>exit (SystemExit) Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: /usr/local/lib/ruby/gems/1.8/gems/puppet-3.2.3/lib/puppet/util.rb:<wbr>518:<wbr>in `exit' Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: /usr/local/lib/ruby/gems/1.8/gems/puppet-3.2.3/lib/puppet/util.rb:<wbr>518:<wbr>in `exit_on_fail' Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: /usr/local/lib/ruby/gems/1.8/gems/puppet-3.2.3/lib/puppet/application.rb:<wbr>362:<wbr>in `run' Jul 24 14:51:14 de-prod-archive puppet-agent[28391]: /usr/local/lib/ruby/gems/1.8/gems/puppet-3.2.3/lib/puppet/util/command_line.rb:<wbr>132:<wbr>in `run'
It spits out a lot of HTML, CSS... and things I don't think should ever happen, on the client side.
Looks like it it exiting, mentioning line 518 of /usr/local/lib/ruby/gems/1.8/gems/puppet-3.2.3/lib/puppet/util.rb, the code of which is:
# Now we need to catch *any* other kind of exception, because we may be calling third-party
# code (e.g. webrick), and we have no idea what they might throw.
rescue Exception => err
## NOTE: when debugging spec failures, these two lines can be very useful
#puts err.inspect
#puts Puppet::Util.pretty_backtrace(err.backtrace)
Puppet.log_exception(err, "Could not #{message}: #{err}")
Puppet::Util::Log.force_flushqueue()
exit(code)
end
Anyway, I'm pretty stumped. I am running Puppet 3.x on its own now. We only have 40 nodes, so it works. But I'd like to figure out what the heck is wrong with Passenger :-)
Anyone else encounter this problem?
Thanks.
The environment must be purely alphanumeric, not ''
1. /etc/puppet/rack/puppetmaster/config.ru should be puppet:puppet
2. /var/log/puppet/masterhttp.log neexds to have permission set, not at my computer but i think its 644.
youWill see error message in /var/log/messages. hope this helps