If SELINUXTYPE is treated as SELINUX by mistake, the value is changed to disabled. As a result, the operating system service is started and cannot enter the single-user mode.

Source: Internet
Author: User

If SELINUXTYPE is treated as SELINUX by mistake, the value is changed to disabled. As a result, the operating system service is started and cannot enter the single-user mode.

Environment: Redhat 6.4

ORACLE11g RAC

Disable the operating system firewall and SELinux before installing ORACLE11g.

1. Disable the firewall: iptables-F ------------ clear the firewall policy

Service iptables stop ------- disable the Firewall service

Chkconfig iptables off ------ disable Firewall Service from startup

2. Disable SELinux

Modify the value of the "selinux" parameter in the configuration file/etc/SELINUX/config,
# SELINUX = enforcing
SELINUX = disabled
However, if "SELINUXTYPE" is mistaken as "SELINUX", the SELINUXTYPE parameter is set:
# SELINUXTYPE = targeted
SELINUXTYPE = disabled
Symptom:

Prompt upon restart:
Unable to load selinux policy. machine is in enforcing mode. halting now. kernel panic-not syncing: attempted to kill init!
Solution:

When the system starts, press 'e' to go To the grub editing page, edit the grub menu, use the up/down key to select a line of "kernel", and press 'e' to go to editing, add "enforcing = 0" at the end, press "enter" to save the settings and return to the previous layer. Press the 'B' key to continue boot and boot normally. You have received the configuration information in "/etc/selinux/config. Modify "SELINUX = disabled" as needed ".

Related Article

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.