操作系统:CentOS7.5单节点
Oracle:11.2.0.4
报错信息:
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2019-03-11 11:33:01.158:
[client(5588)]CRS-2101:The OLR was formatted using version 3.
2019-03-11 11:33:01.614:
[client(5613)]CRS-1001:The OCR was formatted using version 3.
ohasd failed to start at /opt/app/11.2.0/grid/crs/install/roothas.pl line 377, <ALERTLOG> line 4.
解决方案:
1.首先删除配置:/opt/app/11.2.0/grid/perl/bin/perl -I/opt/app/11.2.0/grid/perl/lib -I/opt/app/11.2.0/grid/crs/install /opt/app/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
2.重新执行root.sh
在执行root.sh脚本时出现Adding daemon to inittab的时候,在另一个窗口使用root立即执行以下命令:
dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1(等待root.sh成功执行完毕后可以ctrl+c取消这里的命令。)
OK,此时Grid 安装通过。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31544156/viewspace-2638738/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/31544156/viewspace-2638738/