CRS-0184: Cannot communicate with the CRS daemon. 問題處理

chenfengwww發表於2012-03-18

節點1重啟後crs連線不上

問題現象
crs_start -t

CRS-0184: Cannot communicate with the CRS daemon.

./crsctl check crs
CSS appears healthy
Cannot communicate with CRS
Cannot communicate with EV

檢查日誌
more /opt/app/crs/log/rac1/crsd/crsd.log

[ COMMCRS][6936256]clsc_connect: (0xa181958) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
[ CSSCLNT][6936256]clsssInitNative: connect failed,


排查對比兩節點狀態
#ps -ef|grep css

#crsctl query css vote

#ocrcheck

#more /etc/inittab

#more /etc/oracle/ocr.loc

#ls -al /etc/oracle/ocr.loc

OCR檔案的所有者應該是root oinstall

[@more@]


參考——
[oracle@rac2 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 1959564
Used space (kbytes) : 3840
Available space (kbytes) : 1955724
ID : 230779981
Device/File Name : /dev/raw/raw1
Device/File integrity check succeeded

Device/File not configured

Cluster registry integrity check succeeded

[oracle@rac2 ~]$ more /etc/oracle/ocr.loc
ocrconfig_loc=/dev/raw/raw1
local_only=FALSE

$ $ORACLE_HOME/bin/localconfig reset
$ $ORACLE_HOME/bin/localconfig delete
$ $ORACLE_HOME/bin/localconfig add

執行了$ORACLE_HOME/bin/localconfig add會在/etc/inittab裡新增如下內容:

h1:35:respawn:/etc/init.d/init.evmd run >/dev/null 2>&1 h2:35:respawn:/etc/init.d/init.cssd fatal >/dev/null 2>&1 h3:35:respawn:/etc/init.d/init.crsd run >/dev/null 2>&1

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

相關文章