节点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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22036495/viewspace-1057624/