Project

General

Profile

Actions

Bug #13405

closed

Passenger doesn't start with missing PassengerRoot setting under pl-apache 1.8.0 on EL

Added by Dominic Cleal over 8 years ago. Updated almost 6 years ago.


Description

Passenger is failing to start on EL6/EL7 on nightly builds after the release of puppetlabs-apache 1.8.0.

httpd's error log says:

[Wed Jan 27 08:37:21.705232 2016] [passenger:error] [pid 5789] *** Passenger could not be initialized because of this error: The 'PassengerRoot' configuration option is not specified. This option is required, so please specify it. TIP: The correct value for this option w
as given to you by 'passenger-install-apache2-module'.

/etc/httpd/conf.modules.d/passenger.conf contains:

LoadModule passenger_module modules/mod_passenger.so

On previous releases it wasn't templated at all, allowing the default from the package to come through, which on our packages is something like:

<IfModule mod_passenger.c>
PassengerRoot /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/locations.ini
PassengerRuby /usr/bin/ruby
</IfModule>
Actions

Also available in: Atom PDF