Oracle 11g R2 RAC :ohasd failed to start
Aug 26, 2017 · 1 min read
在虚拟机安装11gR2 RAC的时候遇到这个11.0.2.1的经典问题:
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/opt/data/app/11.2.0/grid/crs/install/rootcrs.pl line 443
解决方法:
1、更改文件权限
chown root:oinstall /var/tmp/.oracle/npohasd
2、在重新执行root.sh前,通过命令:
/opt/data/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose删除之前的配置信息重新执行root.sh
或者
1、通过命令:
/opt/data/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force-verbose删除之前的配置信息重新执行root.sh
2、执行后,当在打印信息“ Adding daemon to inittab”出现后,执行:
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
(再有需要的节点执行)
--待续
