我正在尝试按照本教程在 Centos 5.8 机器上安装 gitorious:http://gitorious.org/gitorious/pages/Rhel_Installation ,但在我安装Passenger 并添加建议的行之后:
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
到我的 httpd.conf,apache 无法启动。
我得到的错误是:
Iniciando httpd: httpd: Syntax error on line 200 of /etc/httpd/conf/httpd.conf: Cannot load /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/passenger-3.0.12/ext/apache2/mod_passenger.so into server: /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/passenger-3.0.12/ext/apache2/mod_passenger.so: failed to map segment from shared object: Permission denied
[FALLÃ]
我已经尝试过 chmod -R 777 /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/ 并且仍然收到此错误。
任何帮助将不胜感激!!!先谢谢各位了!!!