💫《博主介绍》:✨又是一天没白过,我是奈斯,DBA一名✨
💫《擅长领域》:✌️擅长Oracle、MySQL、SQLserver、阿里云AnalyticDB for MySQL(分布式数据仓库)、Linux,也在扩展大数据方向的知识面✌️
💖💖💖大佬们都喜欢静静的看文章,并且也会默默的点赞收藏加关注💖💖💖
哈喽各位小伙伴!今天给大家分享一个在安装Oracle RAC(Real Application Clusters)过程中遇到的报错案例。使用的系统版本是Linux 7.6,Oracle的版本则是11.2.0.4。在安装的过程中到了执行root.sh脚本这步后,遇到了一个棘手的问题,但是经过不懈的努力和大量的资料查找,最终成功地解决了这个问题。今天把这个经验分享给大家,希望能帮助你们避免走同样的弯路,顺利地进行Oracle RAC的安装。接下来,我将详细讲述这个报错的情况以及是如何解决的。
相关日志报错如下。
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
[client(42589)]CRS-2101:The OLR was formatted using version 3.
2013-08-28 20:48:04.274
[client(42645)]CRS-1001:The OCR was formatted using version 3.
[client(42714)]CRS-10001:CRS-6021: No msg for has:crs-6021 [n][65536]
[client(7904)]CRS-10001:28-Aug-13 21:07 ACFS-9459: ADVM/ACFS is not supported on this OS version: 'error: file /etc/SuSE-release: No such file or directory
mos账号对此问题的描述:
The problem is caused by init.ohasd not running, ohasd.bin start up is waiting for init.ohasd acknowledgement, hence it is waiting on the pipe /var/tmp/.oracle/npohasd, it times out and fails to startup after 10minutes.(Doc ID 1580379.1)
希望你在工作中,像数据库里的精确匹配一样,总能准确抓住关键,取得优异成果。
解决办法:
请确保init.ohasd正在运行。此进程应在节点重新启动后或安装过程中自动启动。init.ohasd是在/etc/inittab中为Linux 6之前的Linux平台定义的,如果定义了它,运行“init q”将启动它。对于Linux 6,它是在/etc/init/oracle-ohasd.conf中定义的。
在调查init.hasd自动启动问题时,可以手动临时启动init.ohasd进程。
切换到root用户下:
1)先手动临时启动init.ohasd进程
[root@rac1 ~]# /etc/init.d/init.ohasd run > /dev/null 2>&1 < /dev/null &
2)然后重新执行root.sh脚本
[root@rac1 ~]# /home/grid/app/grid/product/11.2.0/grid/root.sh
3)永久解决
参考我之前的文章:Oracle篇—11gRAC安装在linux7之后集群init.ohasd进程启动不了报错CRS-0715问题_redhat7安装iracle集群 ohas-CSDN博客
今日分享虽简短,却凝聚了满满的干货与精华。愿大家能够从容吸收,学以致用。