zoukankan      html  css  js  c++  java
  • 解决:apache 整合redmine 启动报错 mod_passenger.so: failed to map segment from shared object: Permission denied

    [root@localhost apache2]# /etc/init.d/httpd restart
    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 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]

    执行:

    [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
    
    

  • 相关阅读:
    mysql find_int_set
    PHPSTROM8.0 注册码(7.1也可用)
    gym 101657 D
    gym101657 C
    poj 3525
    poj1279
    poj3335
    poj 1228
    poj 1873
    poj 2074
  • 原文地址:https://www.cnblogs.com/jifeng/p/1831296.html
Copyright © 2011-2022 走看看