ocr 修复


rac1:/etc/init.d # ./init.crs stop
Shutting down Oracle Cluster Ready Services (CRS):
Oracle Cluster Registry initialization failed with invalid format: PROC-22: The OCR backend has an invalid format
Shutdown has begun. The daemons should exit soon
 
在$ crs_home/bin 下检测
 
ocrcheck 报ocr  损坏,因为一些原因没记录下来
 
 以前记的备份过,但不记的放在那了,
 
到$crs_home/crs/cdata/rac_cluster 下查到到有些自动备份

rac1:/opt/oracle/crs/bin # ./ocrconfig -restore  /opt/oracle/crs/cdata/rac_cluster/backup00.ocr
rac1:/opt/oracle/crs/bin # cd
rac1:~ # /etc/init.d/init.crs start
Startup will be queued to init within 30 seconds.
rac1:~ # cd /opt/oracle/crs/bin
rac1:/opt/oracle/crs/bin # ocrcheck
-bash: ocrcheck: command not found
rac1:/opt/oracle/crs/bin # ./orcheck
-bash: ./orcheck: No such file or directory
rac1:/opt/oracle/crs/bin # ./ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          2
         Total space (kbytes)     :    1059560
         Used space (kbytes)      :       4660
         Available space (kbytes) :    1054900
         ID                       :  416858646
         Device/File Name         : /dev/raw/raw1
                                    Device/File integrity check succeeded
 
                                    Device/File not configured
 
         Cluster registry integrity check succeeded
 
         Logical corruption check succeeded
 
rac1:/opt/oracle/crs/bin # /etc/init.d/init.crs stat
Usage: /etc/init.d/init.crs {stop|start|enable|disable}
rac1:/opt/oracle/crs/bin # crs_stat -t
-bash: crs_stat: command not found
rac1:/opt/oracle/crs/bin # ./crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.mosmir.db  application    ONLINE    OFFLINE              
ora....r1.inst application    ONLINE    OFFLINE              
ora....r2.inst application    ONLINE    OFFLINE              
ora.pmt.db     application    ONLINE    OFFLINE              
ora....t1.inst application    ONLINE    OFFLINE              
ora....t2.inst application    ONLINE    OFFLINE              
ora....SM1.asm application    ONLINE    ONLINE    rac1       
ora....C1.lsnr application    ONLINE    ONLINE    rac1       
ora.rac1.gsd   application    ONLINE    ONLINE    rac1       
ora.rac1.ons   application    ONLINE    ONLINE    rac1       
ora.rac1.vip   application    ONLINE    ONLINE    rac1       
ora....SM2.asm application    ONLINE    ONLINE    rac2       
ora....C2.lsnr application    ONLINE    ONLINE    rac2       
ora.rac2.gsd   application    ONLINE    ONLINE    rac2       
ora.rac2.ons   application    ONLINE    ONLINE    rac2       
ora.rac2.vip   application    ONLINE    ONLINE    rac2       
rac1:/opt/oracle/crs/bin #
rac1:/opt/oracle/crs/bin # cd /
rac1:/ # /etc/init.d/init.crs stop
Shutting down Oracle Cluster Ready Services (CRS):
Sep 13 13:12:53.549 | INF | daemon shutting down
Stopping resources.
This could take several minutes.
Successfully stopped Oracle Clusterware resources
Stopping Cluster Synchronization Services.
Shutting down the Cluster Synchronization Services daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
rac1:/ # /etc/init.d/init.crs start
Startup will be queued to init within 30 seconds.
rac1:/ #

 

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值