在CentOS 6.5 X86_64上安装11.2.0.1 的RAC,在安装grid时执行root.sh 脚本,报错,如下:

CRS-4124:  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/grid/11.2.0/crs/install/rootcrs.pl line 443.

这是个bug,解决方法如下:

1)执行脚本回滚root.sh操作

[root@oracle01 ~]# /u01/11.2.0/grid/crs/install/roothas.pl -deconfig  -force  -verbose

2)重新执行root.sh操作

(开启2个会话,在出现“Adding daemon to inittab”时,同步操作dd命令(直到成功执行为止))

 

窗口一

[root@oracle01 ~]# /u01/11.2.0/grid/root.sh 

窗口二 

dd操作:

[root@oracle01 ~]# dd if=/var/tmp/.oracle/npohasd of=/dev/nullbs=1024 count=1