3
我想下面這個教程上一個CentOS 5.8箱安裝gitorious:http://gitorious.org/gitorious/pages/Rhel_Installation,但我安裝乘客和建議行添加之後:在CentOS 5.8(乘客模塊)安裝gitorious
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/,仍然得到這個錯誤。
任何幫助將不勝感激!在此先感謝球員!