The reason for the error
Configuration closed SELinux, as a result, wrong operation, should be modified in the configuration file/etc/SELinux/config “SELinux” the value of the parameter, SELinux = enforcing original configuration SELinux = disabled right
but mistakenly “SELINUXTYPE” as “SELinux”, set up SELINUXTYPE parameters:
# SELINUXTYPE = targeted the original configuration This don’t need to modify.
SELINUXTYPE = disabled errors
Error
Failed to load SELinux policy. Freezing error caused the machine to never start
Solutions:
- When rebooting, on the boot page, select the kernel you want to boot and press E to enter the GRUB editing page. Find the linux16 one line, behind the language Is LANG = zh_CN. Utf-8, the blank space with selinux = 0 or enforcing = 0 (note: I am join selinux = 0 effect.) Then Ctrl + X launches, and you see the familiar login screen. Modify the SELinux configuration file to properly close SELinux ~! 4. Modify SELinux configuration file to properly close SELinux ~!
vim /etc/selinux/config
#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 three two values:
#targeted – Targeted processes are protected,
#minimum – Modification of targeted policy. Only selected processes are protected.
#mls – Multi Level Security protection.
SELINUXTYPE=targeted
After the modification is complete, restart. Check to see if an error is reported. Over.
Read More:
- Centos 7.2 failed to load SELinux policy freezing
- SELinux solution to Apache SSL failure
- Error starting day: SELinux is not supported with the overlay 2
- Git authentication failure solution, due to the problem of password modification
- Solutions to the problem of using sudo caused by Ubuntu’s wrong modification of sudoers
- Andorid: Installation failed due to invalid APK file due to version mismatch
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- Oracle can’t start the database due to deleting DBF file by mistake
- Chrome console reports Failed to load resource: net::ERR_BLOCKED_BY_CLIENT one of the solutions
- The solution of “failed to load il2cpp” in Android package launched by unity
- Centos Failed to Modify the port of SSH: error: Bind to port 27615 on 0.0.0.0 failed: Permission denied.
- Word failed to convert PDF, export failed due to an unexpected error
- Error reported by nodejs server of CentOS system: solution to cannot find module ‘jQuery’
- Apache failed to start due to SSL library certificate has expired
- How to solve the failed to start switch root error during centos8.1 startup?
- After CentOS 7 starts, the login box cannot be displayed. Press Alt + F2 to display “failed to start authorization manager”
- An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed
- In the XML configuration file of spring jdbc.properties The connection to the database failed due to garbled code
- Solution to prompt “system group policy forbids installation of this device” in win10 system
- Android installation failed due to invalid URI