在linux redhat 6.10上安装oracle 11g rac时,报错: 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 /oracle/app/product/grid/crs/install/rootcrs.pl line 443.

发现这是一个oracle的bug。 解决办法: 1.执行脚本回滚root.sh操作 [root@ractest1 install]#/oracle/app/product/grid/crs/install/./roothas.pl -deconfig -force -verbose

2.窗口一重新执行/oracle/app/product/grid/root.sh, 同时另开一个窗口,不断执行/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

 如果执行dd的时候报以下错误:

[root@ractest1 ~]# /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1 /bin/dd: opening `/var/tmp/.oracle/npohasd': No such file or directory

说明文件还没有生成,那就继续执行。执行成功后,命令挂起。root.sh就可以执行成功。