解决:apache 整合redmine 启动报错 mod_passenger.so: failed

2014/08/25 17:50
阅读数 303

1

2

3

4

[root@localhost apache2]# /etc/init.d/httpd restart

Stopping httpd:                                           [FAILED]

Starting httpd: httpd: Syntax error on line210 of /etc/httpd/conf/httpd.conf: Syntax error on line1 of /etc/httpd/conf.d/ruby.conf:
Cannot load /usr/
local/ruby/lib/ruby/gems/1.8/gems/passenger-3.0.0.pre2/ext/apache2/mod_passenger.so into server: /usr/local/ruby/lib/ruby/gems/1.8/gems
/passenger
-3.0.0.pre2/ext/apache2/mod_passenger.so: failed to map segment from shared object: Permission denied

                                                           [FAILED]

 

执行:

?

1

[root@localhost apache2]# chcon -R -h -t httpd_sys_script_exec_t /usr/local/ruby/lib/ruby/gems/1.8/gems/passenger-3.0.0.pre2/ext/apache2/mod_passenger.so


展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部