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:/ #