Problem
Installation of the Oracle Grid Infrastructure 11.2.0.4 for a Cluster fails on the execution of the root.sh script:
[root@oelinux76 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
Running Oracle 11g root.sh script...
.
.
.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
Solution
This is documented in the Oracle Database 11.2 Release Notes:
The issue is tracked as Bug 18370031 - RC SCRIPTS (/ETC/RC.D/RC.* , /ETC/INIT.D/* ) ON OL7 FOR CLUSTERWARE
Solution is to apply patch 18370031 just before executing the root.sh script.
The patch should be applied as:
<GRID_HOME>/OPatch/opatch napply -oh <GRID_HOME> -local <UNZIPPED_PATCH_LOCATION>/18370031
Applying patch 18370031 may fail with "Can't locate Switch.pm in @INC". This is Bug 18824047 - OPATCH AUTO FAILS "CAN'T LOCATE SWITCH.PM IN @INC "
Workaround is:
cp -p /u01/app/11.2.0/grid/perl/lib/5.10.0/Switch.pm /usr/lib64/perl5
If applying the patch is not possible, a temporal workaround can be applied:
nohup etc/init.d/init.ohasd run &
Reference:
- Install of Clusterware fails while running root.sh on OL7 - ohasd fails to start (Doc ID 1959008.1)
- Installation walk-through - Oracle Grid/RAC 11.2.0.4 on Oracle Linux 7 (Doc ID 1951613.1)
- Opatch Auto fails with: Can't locate Switch.pm in @INC (Doc ID 1915430.1)
- Troubleshoot Grid Infrastructure Startup Issues (Doc ID 1050908.1)
GI Fails to Start as Process "init.ohasd run" is not Running (Doc ID 1680406.1)
No comments:
Post a Comment