-
-
Original address: http://www.2cto.com/os/201504/395229.html
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:
Prompt when restarting:
Unable to load SELinux policy. Machine was in enforcing mode. Halting now. Kernel panic-not syncing:attempted to kill init!
Workaround:
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 continues to boot normally after booting. You receive the configuration information in the recovery "/etc/selinux/config". Then modify the "selinux=disabled" as required.
[reprint] mistakenly consider Selinuxtype as SELinux and change its value to disabled. Causes the operating system service to start and cannot enter single-user mode