Oracle中RAC 11.2.0.4.0 OHASD服务无法启动怎么办
这篇文章将为大家详细讲解有关Oracle中RAC 11.2.0.4.0 OHASD服务无法启动怎么办,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
系统环境:Oracle Linux 6.6
数据库版本:11.2.0.4.0
1、关闭节点1数据库实例,关闭集群服务;
[oracle@rac2]$sqlplus / as sysdba
SQL>shutdown immediate
[root@rac1 bin]#./crsctl stop crs
2、重启主机后,启动集群
[root@rac1 bin]#./crsctl start crs
CRS-4124:Oracle High Availability Services startup failed.
CRS-4000:Command Start failed,Or completed with errors.
3、检查相关日志,只有ohasd.log日志显示如下:
2018-01-19 19:55:59.091 [default][1929652000] Created alert :(OHASD00117 :) : TIMED OUT WAITTING FOR OHASD MONITOR
2018-01-19 20:16:04.893 [default][3020662560] Created alert :(OHASD00117 :) : TIMED OUT WAITTING FOR OHASD MONITOR
2018-01-19 20:33:30.618 [default][3004282656] Created alert :(OHASD00117 :) : TIMED OUT WAITTING FOR OHASD MONITOR
4、检查启动进程,对ohasd进程进行strace
[root@rac1 bin]#ps -ef|grep ohasd.bin
root 27319 1 0 21:19 ? 00:00:00 /u01/11.2.0/grid/bin/ohasd.bin reboot
root 29575 27064 99 21:23 pts/3 625-09:43:00 grep ohasd.bin
[root@rac1 bin]#strace -p 27319 -o ohasd.log
[root@rac1 bin]#cat ohasd.log
Process 27319 attached - interrupt to quit
open("/var/tmp/.oracle/npohasd",O_WRONLY
11g GI的启动顺序:
ohasd-->ohasd
agents-->daemons (gipcd, mdnsd, gpnpd,ctssd, ocssd, crsd, evmd asm etc),
然后 crsd-->crsd agents--> user resources (database, SCAN,listener etc)
5、删除管道文件
[root@rac1 bin]#cd /var/tmp/.oracle/
[root@rac1 bin]#rm npohasd
6、重新启动GI成功
[root@rac1 bin]#./crsctl start crs
关于"Oracle中RAC 11.2.0.4.0 OHASD服务无法启动怎么办"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。