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

(再有需要的节点执行)

--待续

)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade