When you mistakenly consider Selinuxtype as SELinux, change its value to disabled. Causes operating system services to start and cannot enter single-user mode

Source: Internet
Author: User

Environment: Redhat 6.4

oracle11g RAC

You need to shut down the operating system's firewall and SELinux before installing oracle11g.

1. Shut down firewall: iptables-f ———————————— Clear Firewall Policy

Service iptables stop ——————— shut down the Firewall service

Chkconfig iptables off —————— Disable Firewall service from booting

2. Turn off SELinux

The value of the "selinux" parameter in the configuration file /etc/selinux/config should be modified,
# selinux=enforcing
Selinux=disabled
However, the "Selinuxtype" is mistakenly considered as "SELINUX"and the selinuxtype parameters are set:
#SELINUXTYPE =targeted
Selinuxtype=disabled
problem Phenomenon:

restart prompt:
Unable to load SELinux policy. Machine was in enforcing mode. Halting now. Kernel panic-not syncing:attempted to kill init! 
solution :

when the system starts, press ' E ' key to enter the Grub editing interface, edit the Grub menu, use the up and down keys to select "kernel" line, press ' E ' key to enter the edit , add "enforcing=0"at the end, press "enter" to save the settings and go back to the previous layer,Press ' B ' key to continue booting normally after boot. You receive theconfiguration information in the recovery "/etc/selinux/config". Then modify the "selinux=disabled" as required.

When you mistakenly consider Selinuxtype as SELinux, change its value to disabled. Causes operating system services to start and cannot enter single-user mode

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.