KB Article #178319

How to check whether SELINUX is disabled?

Problem

Before installing SecureTransport you have to check whether the Linux Security-Enhanced Linux (SELinux) is disabled. On Oracle Linux and Red Hat Enterprise Linux SELINUX is enabled by default and will cause the installation/upgrade to fail.


Resolution

To check the status of the SELINUX execute the command below:


sestatus


When it is disabled the result should looks like:


SELinux status:                 disabled


When the SELINUX is enabled the output of the command would be:


SELinux status:                enabled


To disable SELINUX, you would have to edit the /etc/sysconfig/selinux file. For example:


 vi /etc/sysconfig/selinux


Set the parameter SELINUX to disabled:


SELINUX=disabled


Save the file and reboot the server.