On 3/25/2013 7:04 PM, thinkwell wrote:
My puppet master server got torched so I'm rebuilding - ubuntu 12.04.2 LTS.

After fiddling / tweaking / reading docs
<http://docs.puppetlabs.com/guides/passenger.html> for hours now and I
am reduced to hair-pulling frustration.

I'm endeavoring to install 3.1.1 (3.0.2 on the old server) and I'm
getting "Ruby (Rack) application could not be started
<http://thinkwelldesigns.com/errors2.html>" errors. I updated my
config.ru <http://thinkwelldesigns.com/config.txt> file with the 3.1
source
<https://github.com/puppetlabs/puppet/blob/master/ext/rack/files/config.ru>.

1. I'm not getting errors in the /var/log/apache2/errors.log as the
error message hints I should.
2. I tried my certs from my backup.
3. I tried recreating server certs, but no change.

I don't manage my puppet master with puppet, so I came on this discovery
very late. For whatever it's worth.

1. Installed puppet agent on the puppet master.
2. Ran puppet agent -t to generate an agent certificate
3. Get this error:

Error: Could not request certificate: Error 500 on SERVER: <!DOCTYPE
HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
  [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at puppet Port 8140</address>
</body></html>


here is my gem list which shows rack is installed.
*** LOCAL GEMS ***

activemodel (3.2.13)
activerecord (3.2.13)
activesupport (3.2.13)
arel (3.0.2)
builder (3.0.4)
daemon_controller (1.1.2)
fastthread (1.0.7)
i18n (0.6.1)
multi_json (1.7.2)
passenger (3.0.19)
rack (1.5.2)
rake (10.0.4)
tzinfo (0.3.37)

Many thanks for your assistance. I'm about maxed out. :-(

Your gem listing makes me thing you've installed Ruby inside rvm, is that the case? If so, you'll need to install Puppet within the same Ruby as the one the passenger.so resides in and is configured in /etc/apache2/mod-enabled/passenger.{conf,load}

fwiw, you may find it simpler to use the distro packages though I would pull in the official Passenger 3.x repo from apt.brightbox.net as well as apt.puppetlabs.com

Ramin

--
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to