Security-Enhanced Linux (SELinux)

 

Security-Enhanced Linux (SELinux) is a version of the Linux kernel and utilities, which contains support for mandatory access controls based on the principle of least privilege. SELinux can cause some incompatabilities with cPanel.

 

Steps to disable SELinux.

cd /etc/selinux

vi config

insert the following changes in it

SELINUX=disabled

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

logwatch result from messages.

--------------------- Kernel Begin ------------------------
WARNING: Kernel Errors Present
audit(1166271967.311:180): avc: denied { write } for pid=9485 comm="rndc"
name="error_log" dev=hda5 in...: 1 Time(s)

 

 

The error is due to selinux is being enabled on the server