2012年 12月 19日 星期三 14:38:06 CST

[oracle@khyxdata1 ~]$ crs_stat -t

CRS-0184: Cannot communicate with the CRS daemon.

1.查询/tmp 下的

[root@khyxdata1 tmp]# cat crsctl.9544

Oracle Cluster Registry initialization failed accessing Oracle

Cluster Registry device:

PROC-26: Error while accessing the physical storage Operating

System error [No such file or directory] [2]

结论:得出是ocr无法访问

2.查看/etc/oracle/ocr.loc

[oracle@khyxdata1 ~]$ cat /etc/oracle/ocr.loc

ocrconfig_loc=/dev/raw/raw1

local_only=FALSE

结论:解决得出/dev/raw/raw1 这个访问不了

3.使用dd命令 对raw1和raw2

(dd if=/dev/raw/raw1 of=/dev/null bs=1M

count=10,dd if=/dev/raw/raw2 of=/dev/null bs=1M

count=10)

[oracle@khyxdata1 raw]$ dd if=/dev/raw/raw1

of=/dev/null bs=1M count=10

10+0 records in

10+0 records out

10485760 bytes (10 MB) copied, 0.041841 seconds, 251 MB/s

4.重新启动init.crs

关闭crs

/etc/init.d/init.crs stop

启动

/etc/init.d/init.crs start

5.重启启动全部的crs和db

crs_start -all

6.重新crs_stat -t查看状态

[oracle@khyxdata1 ~]$ crs_stat -t

Name Type Target State Host ------------------------------------------------------------

ora.khyx.db application ONLINE ONLINE khyxdata1 ora....x1.inst

application ONLINE ONLINE khyxdata1 ora....x2.inst

application ONLINE ONLINE khyxdata2 ora....SM1.asm

application ONLINE ONLINE khyxdata1 ora....A1.lsnr

application ONLINE ONLINE khyxdata1 ora....ta1.gsd

application ONLINE ONLINE khyxdata1 ora....ta1.ons

application ONLINE ONLINE khyxdata1 ora....ta1.vip

application ONLINE ONLINE khyxdata1 ora....SM2.asm

application ONLINE ONLINE khyxdata2 ora....A2.lsnr

application ONLINE ONLINE khyxdata2 ora....ta2.gsd

application ONLINE ONLINE khyxdata2 ora....ta2.ons

application ONLINE ONLINE khyxdata2 ora....ta2.vip

application ONLINE ONLINE khyxdata2

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐