CRS-4124: Oracle High Availability Services startup failed.

问题描述

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

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.

第一次安装11gR2 RAC的时候就遇到了这个11.0.2.1的经典问题,上网一查才知道这是个bug,解决办法也很简单,

解决方法1

就是在执行root.sh之前,打开一个新的命令行窗口,执行以下命令

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

如果出现报错:

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

这个时候文件还没生成就继续执行,直到能执行为止,一般出现Adding daemon to inittab这条信息的时候执行dd命令。

其他不成功的方法

另外网上还有其他方法,就是更改文件权限,执行以下命令

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

但是我尝试了,没有成功!!!!!

其他说明

重新执行root.sh之前别忘了删除配置:

/u01/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose

猜你喜欢

转载自blog.csdn.net/wanglei9876/article/details/50172379