Oracle 11gR2 RAC ohasd failed to start solution

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 the at/u01/app/11.2.0/grid/CRS/install/rootcrs. Pl line 443. When I installed 11gR2 RAC for the first time, I encountered this classic problem of 11.0.2.1. After checking on the Internet, I realized that it was a bug and the solution was very simple.
Just before root.sh, execute the following command
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
If there is a
/bin/dd: opening`/var/tmp/.oracle/npohasd’: No such file or directory
While the file is still running, it is not Adding a daemon to Inittab until it is ready to run. The DD command is usually executed while Adding a daemon to Inittab.
Another solution is to change file permissions
chown root:oinstall /var/tmp/.oracle/npohasd
To perform root. Don’t forget to delete the configuration before sh:/u01/app/11.2.0/grid/CRS/install/roothas. Pl – deconfig – force – verbose
Reference:
https://cn.forums.oracle.com/forums/thread.jspa?threadID=2350285
http://blog.csdn.net/tianlesoftware/article/details/8207629

Read More: