2017-08-01 68 views
0

我按照本指南在CentOS 6.9(minimaslist)上安装FreePBX,一切正常,直到最后一步安装FreePBX:./install -n/usr/src/freepbx,我不断收到以下错误信息:保持检测SELinux,即使它被禁用(当安装FreeBPX时)

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

我已经停用了SELinux,通过在以下文件/etc/sysconfig/selinux然后重新启动写SELINUX=disabled,但我一直有同样的问题。 作为参考,这里是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 
+1

'sestatus'的输出是什么? –

+0

SELinux状态:启用 SELinuxfs安装:/ SELinux的 当前模式:从配置文件执行 模式:执行 政策版本:从配置文件24 政策:针对 –

+0

但内容的/ etc/SYSCONFIG/SELinux的仍然是相同的 –

回答

0

我已经找到了解决办法,部分得益于@Dusan Bajic的评论,通过运行sestatus

SELinux status:     enabled 
SELinuxfs mount:    /selinux 
Current mode:     enforcing 
Mode from config file:   enforcing 
Policy version:     24 
Policy from config file:  targeted 

快速搜索让我认识,为了禁用SELinux我要修改/etc/selinux/config代替,这样做给了sestatus

SELinux status:     disabled 
相关问题