oracle10g rac中的节点上crs无法启动?

环境说明: oracle10gr2  linux5.3

之前遇到的一个问题。rac中的节点1突然没法用了,检查后发现是crs服务没有启动。

错误:
[root@rac1 bin]# ./crsctl check crs
Failure 1 contacting CSS daemon
Cannot communicate with CRS
Cannot communicate with EVM

下面是我的排错过程和相关日志。。
首先我查看了ClusterWare日志:
#more alertrac1.log
2014-12-05 12:56:52.752
[client(20064)]CRS-1006:The OCR location /dev/raw/raw1 is inaccessible. Details in /u01/oracle/OraCrs10g_home/log/rac1/cl
ient/clscfg_23344.log.

在查看

[oracle@rac1 rac1]$ more client/clscfg_23344.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2015-01-04 19:25:15.523: [  OCROSD][3801381760]utread:3: problem reading buffer afb8000 buflen 512 retval 0 phy_offset 10
2400 retry 0
2015-01-04 19:25:15.523: [  OCROSD][3801381760]utread:4: problem reading the buffer errno 2 errstring No such file or dir
ectory
2015-01-04 19:25:15.524: [  OCROSD][3801381760]utread:3: problem reading buffer afba000 buflen 4096 retval 0 phy_offset 1
02400 retry 0
2015-01-04 19:25:15.524: [  OCROSD][3801381760]utread:4: problem reading the buffer errno 2 errstring No such file or dir
ectory
2015-01-04 19:25:15.524: [  OCRRAW][3801381760]propriogid:1: INVALID FORMAT
2015-01-04 19:25:15.524: [  OCROSD][3801381760]utread:3: problem reading buffer afba000 buflen 4096 retval 0 phy_offset 1
02400 retry 0

-----------------------分割线--------
小弟我也看不太懂到底问题出在了那, 但是感觉好像是OCR设备在写的时候发生了错误。于是我查看了rac1的ocr文件

[oracle@rac1 oracle]$ more ocr.loc
ocrconfig_loc=/u01/oracle/OraCrs10g_home/cdata/localhost/local.ocr
local_only=TRUE
发现这个文件是错的,于是我该过来,和rac2上改成一样的。rac2是正常的。

[root@rac1 rac1]# more /etc/oracle/ocr.loc
ocrconfig_loc=/dev/raw/raw1
local_only=FALSE

重新启动rac1机器,还是没法启动crs。
参与2

2 同行回答

leonarding leonarding CTO 恒升盛拓
你的ocr有备份吗还原一下试试显示全部
你的ocr有备份吗还原一下试试 收起
IT培训教育 · 2015-06-26
浏览1112
liulei_oracle liulei_oracle 数据库管理员 lgcns china
您用的ASM 还是raw device ? 看起来像是 raw device既然RAC就要同时被两个节点访问,您的用的难道是linux的机群软件?显示全部
您用的ASM 还是raw device ? 看起来像是 raw device既然RAC就要同时被两个节点访问,您的用的难道是linux的机群软件? 收起
系统集成 · 2015-06-25
浏览1029

提问者

chpwu470
软件开发工程师 IBM
评论12

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-06-25
  • 关注会员:0 人
  • 问题浏览:2082
  • 最近回答:2015-06-26
  • X社区推广