Modified SELinux configuration parameters, kernel error occurred after reboot

Source: Internet
Author: User

This afternoon, after a file server restarts. It is not possible to FTP to this file server from other hosts. The check was found to be a problem with SELinux. Colleague to change the parameters in/etc/selinux/config selinuxtype=targeted to Disabled, restart the host is unsuccessful, error message:


Unable to load SELinux Policy. Machine was in enforcing Mode. Halting now.

Kenel panic-not syncing:attempted to kill init!


Degree Niang, found a lot of Freemasonry, such as: http://hehaibo.iteye.com/blog/749860. Follow the method of this post:

    1. Restart the system, press F2 to enter the BIOS;

    2. Start in grub this step with the e command to edit the startup parameters;

    3. Input selinux=0, enter;

    4. Press B;

After rebooting, you can enter the system normally, then find the data and view the/etc/selinux/config configuration parameters. It is found that the selinux=enfocing should be changed to disabled instead of modifying the Selinuxtype parameters:


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6C/0A/wKioL1U-VDbCGv-iAAHmv6uzNPI577.jpg "title=" 1.png " alt= "Wkiol1u-vdbcgv-iaahmv6uznpi577.jpg"/>


Modified SELinux configuration parameters, kernel error occurred after reboot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.