在一测试环境下的RAC出错解决

环境:VMWARE SERVER 2

REDHAT5.8

ORACLE11.2


在安装时没有问题,但我拿到手后,使用DBCA建立库,报错:ASM 在M2节点没有加载,但使用ASMCA查看,

却没有问题,并且CRS_STAT -T 也没看到问题,所以没有理会,一路向前。

完成建库后。测试先关闭CRS,再打开(/crsctl start crs)。问题来了,CRS无法启动,

后面有空接着来。



[root@m2 cfgtoollogs]# /opt/app/grid/bin/crsctl stop crs



[root@m2 cfgtoollogs]# /opt/app/grid/bin/crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[root@m2 cfgtoollogs]# /opt/app/grid/bin/crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
我在一测试环境中,执行
[root@m2 cfgtoollogs]# /opt/app/grid/bin/crsctl stop crs
后,再启动:

[root@m2 cfgtoollogs]# /opt/app/grid/bin/crsctl start crs
但启动不了了。




CRS-4123: Oracle High Availability Services has been started.
是说已启动了。


[grid@m2 crsd]$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.



crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online





ps -ef | grep d.bin 没有crsd.bin 的进程。

crsctl status res -t -init 中ora.crsd 为offline

crsctl start res ora.crsd -init 启动ora.crsd

crs_start -all 启动了crs


[grid@m2 crsd]$ crsctl check css
CRS-4529: Cluster Synchronization Services is online
[grid@m2 crsd]$ ps -ef | grep d.bin
root      3921     1  0 16:51 ?        00:00:05 /opt/app/grid/bin/ohasd.bin reboot
grid      4129     1  0 16:53 ?        00:00:10 /opt/app/grid/bin/oraagent.bin
root      4132     1  0 16:53 ?        00:00:03 /opt/app/grid/bin/orarootagent.bin
grid      4149     1  0 16:53 ?        00:00:00 /opt/app/grid/bin/gipcd.bin
grid      4163     1  0 16:53 ?        00:00:00 /opt/app/grid/bin/mdnsd.bin
grid      4180     1  0 16:53 ?        00:00:01 /opt/app/grid/bin/gpnpd.bin
root      4260     1  0 16:53 ?        00:00:04 /opt/app/grid/bin/cssdmonitor
root      4327     1  0 16:53 ?        00:00:06 /opt/app/grid/bin/cssdagent
grid      4335     1  0 16:53 ?        00:00:00 /opt/app/grid/bin/diskmon.bin -d -f
grid      4355     1  0 16:53 ?        00:00:16 /opt/app/grid/bin/ocssd.bin
root      4448     1  0 16:55 ?        00:00:00 /opt/app/grid/bin/octssd.bin reboot
grid      4468     1  0 16:55 ?        00:00:02 /opt/app/grid/bin/evmd.bin
grid      4643     1  0 16:56 ?        00:00:00 /opt/app/grid/bin/oclskd.bin
grid      4767  4468  0 16:57 ?        00:00:00 /opt/app/grid/bin/evmlogger.bin -o /opt/app/grid/evm/log/evmlogger.info -l /opt/app/grid/evm/log/evmlogger.log
grid      6061  4477  1 18:06 pts/1    00:00:00 grep d.bin
[grid@m2 crsd]$ crsctl stat res -t -init  
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       m2                       Started             
ora.crsd
      1        ONLINE  UNKNOWN      m2                                           
ora.cssd
      1        ONLINE  ONLINE       m2                                           
ora.cssdmonitor
      1        ONLINE  ONLINE       m2                                           
ora.ctssd
      1        ONLINE  ONLINE       m2                       OBSERVER            
ora.diskmon
      1        ONLINE  ONLINE       m2                                           
ora.drivers.acfs
      1        ONLINE  ONLINE       m2                                           
ora.evmd
      1        ONLINE  ONLINE       m2                                           
ora.gipcd
      1        ONLINE  ONLINE       m2                                           
ora.gpnpd
      1        ONLINE  ONLINE       m2                                           
ora.mdnsd
      1        ONLINE  ONLINE       m2  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值