sudo ./ruby-enterprise/installer
then
sudo /opt/ruby-enterprise/bin/passenger-install-apache2-module
Then passenger says that I paste the lines below to httpd.conf file
sudo nano /etc/init.d/httpd/conf/httpd.conf
then paste
LoadModule passenger_module /opt/ruby-enterprise-1.8.7-2010.01/lib/
ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/
gems/passenger-2.2.11
PassengerRuby /opt/ruby-enterprise-1.8.7-2010.01/bin/ruby
and then try to restart Apache
sudo /etc/init.d/httpd restart
I get an error
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 202 of /etc/httpd/conf/
httpd.conf: Cannot load /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/
gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so into
server: /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/
passenger-2.2.11/ext/apache2/mod_passenger.so: failed to map segment
from shared object: Permission denied
[FAILED]
Why is this happening?
Thanks