Why is this permissions error occurring with mod_passenger.so?

前端 未结 2 414
孤独总比滥情好
孤独总比滥情好 2020-12-30 07:13

I\'m setting up a production RHEL 6 server with RVM and Passenger. I\'ve gotten through installing RVM (to my home dir), installing Passenger, and adding the required lines

2条回答
  •  囚心锁ツ
    2020-12-30 08:04

    $ sudo setenforce 0

    helped me

    hope it help others!

    UPDATE

    i have to say that above solution is temporal (until reboot)

    so, as far as this answer has popularity let me show how to disable SELinux at all...

    here it is:

    run

    $ sudo vi /etc/sysconfig/selinux
    

    or

    $ sudo vi /etc/selinux/config
    

    then find this line

    SELINUX=enforcing
    

    and change it to

    SELINUX=disabled
    

    save selinux config.

    now SELinux is fully disabled.

    cheers

提交回复
热议问题