crs-4124 Oracle 11gR2 RAC ohasd failed to start [How to Solve]

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.

The first time I installed 11gR2 RAC, I encountered this classic problem of 11.0.2.1, and only after checking the Internet did I realize that it was a bug, and the solution was very simple.

It is the execution of the following command before the execution of root.sh

/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

If you get

/bin/dd: opening`/var/tmp/.oracle/npohasd’: No such file or directory

When the file is not generated, continue to execute it until it can be executed, generally execute the dd command when the message Adding daemon to inittab appears.

Another solution is to change the file permissions

chown root:oinstall /var/tmp/.oracle/npohasd

Don’t forget to delete the configuration before re-executing root.sh: /u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose

Similar Posts: