Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Passenger fails on RHEL/CentOS 7

$
0
0
I've been beating my head against RHEL 7 (CentOS 7) trying to set up a puppet master. I'm using IPA and NSS for certificate management, and those problems appear to be solved. I can run the puppet master daemon (Webrick default) and connect from an agent successfully, but passenger throws 500 exceptions and a diagnostic page. I tried changing the config.ru to a simple "hello world" web app, and that runs successfully, so the hook through Apache to Passenger seems successful. I suspected problems with systemd and the fact that passenger makes heavy use of the /tmp directory. I tracked down the httpd service file and set PrivateTmp=false, and confirmed that passenger stopped using the private /tmp directory. This had no effect on the fail. Here is the stack trace reported on the passenger 500 page: exit (SystemExit) /usr/share/ruby/vendor_ruby/puppet/util.rb:493:in `exit' /usr/share/ruby/vendor_ruby/puppet/util.rb:493:in `rescue in exit_on_fail' /usr/share/ruby/vendor_ruby/puppet/util.rb:479:in `exit_on_fail' /usr/share/ruby/vendor_ruby/puppet/application.rb:369:in `run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute' config.ru:35:in `block in
' /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' config.ru:1:in `new' config.ru:1:in `
' /usr/local/share/gems/gems/passenger-4.0.48/helper-scripts/rack-preloader.rb:112:in `eval' /usr/local/share/gems/gems/passenger-4.0.48/helper-scripts/rack-preloader.rb:112:in `preload_app' /usr/local/share/gems/gems/passenger-4.0.48/helper-scripts/rack-preloader.rb:158:in `' /usr/local/share/gems/gems/passenger-4.0.48/helper-scripts/rack-preloader.rb:29:in `' /usr/local/share/gems/gems/passenger-4.0.48/helper-scripts/rack-preloader.rb:28:in `
' I'd love some suggestions for troubleshooting this problem. My fallback is to ditch RHEL 7 for 6.5.

Viewing all articles
Browse latest Browse all 6104

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>