2017-08-01 55 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 
相關問題