(FATAL): Unable to create /etc/selinux/config

Fix cPanel Installation issue (FATAL): Unable to create /etc/selinux/config. in this tutorial you will learn how to fix file permission error, Cpanel installation issue, centos SELinux issue.
Fix cPanel Installation issue (FATAL): Unable to create /etc/selinux/config. in this tutorial you will learn how to fix file permission error, Cpanel installation issue, centos SELinux issue.
5/5 - (3 votes)

How to Fix cPanel Installation issue (FATAL): Unable to create /etc/selinux/config. in this tutorial you will learn how to fix file permission error, Cpanel installation issue, centos SELinux issue.

To fix the issue we need chattr -i to solve the cPanel installation issue which is because of file permission of SELinux/config. chattr (Change Attribute) is a command-line Linux utility that is used to set/unset certain attributes to a file in Linux system to secure accidental deletion or modification of important files and folders

lsattr /etc/selinux/config

—-i——–e- /etc/selinux/config

if you see this:

chattr -i /etc/selinux/config

Total
0
Shares
2 comments
  1. wow thanks for sharing, i fixed this issue with your last command, used vultr centos server and got this issue in all server while trying to install cPanel in it.

    Thanks again

Leave a Reply

Your email address will not be published.

Previous Post
How to install cPanel on Ubuntu 21.04

How to install cPanel on Ubuntu 21.04

Next Post
How to clean your tmp folder with tmpwatch to fix mysql issue.

How to clean your tmp folder with tmpwatch to fix mysql issue.

Related Posts
Total
0
Share