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