【Oracle】RAC 11.2.0.4.0 OHASD服務無法啟動

dmcatding發表於2018-01-22
系統環境: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

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30327022/viewspace-2150402/,如需轉載,請註明出處,否則將追究法律責任。

相關文章