0

I was following this guide to install FreePBX on CentOS 6.9 (minimaslist), everything worked, until the last step to install FreePBX: ./install -n from /usr/src/freepbx, I keep getting the follwing error msg:

Assuming you are Database Root
Checking if SELinux is enabled...Error!
SELinux is enabled.  Please disable SELinux before installing FreePBX.

I have disabled SELinux, by writing SELINUX=disabled in the following file /etc/sysconfig/selinux then rebooted, but I keep having the same problem. For reference, here is the output of cat /etc/sysconfig/selinux:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted 

Here is the output to sestatus

SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
2
  • What does sudo sestatus show?
    – testeaxeax
    Aug 1, 2017 at 19:26
  • @nullterminatedstring Just added that to the description Aug 1, 2017 at 22:01

1 Answer 1

0

I have faced this problem before: A quick search made me realise that in order to disable SELinux I have to modify /etc/selinux/config instead, doing that gave for sestatus:

SELinux status:                 disabled
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .