[root@rac1 cdata]# crsctl start crs
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
alertrac1.log
[ohasd(17042)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:24.996:
[ohasd(17053)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:25.180:
[ohasd(17064)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:25.365:
[ohasd(17075)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:25.545:
[ohasd(17086)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:25.723:
[ohasd(17097)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:25.935:
[ohasd(17108)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
2018-06-26 19:12:26.131:
[ohasd(17119)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]]. Details at (:OHAS00106:) in /u01/app/11.2.0/grid/log/rac1/ohasd/ohasd.log.
[client(17134)]CRS-10001:CRS-10132: No msg for has:crs-10132 [10][60]
ohasd.log
2018-06-26 19:12:25.722: [ default][2819983136] OHASD Daemon Starting. Command string :restart
2018-06-26 19:12:25.722: [ default][2819983136] Initializing OLR
2018-06-26 19:12:25.723: [ OCROSD][2819983136]utopen:6m': failed in stat OCR file/disk /u01/app/11.2.0/grid/cdata/rac1.olr, errno=2, os err string=No such file or directory
2018-06-26 19:12:25.723: [ OCROSD][2819983136]utopen:7: failed to open any OCR file/disk, errno=2, os err string=No such file or directory
2018-06-26 19:12:25.723: [ OCRRAW][2819983136]proprinit: Could not open raw device
2018-06-26 19:12:25.723: [ OCRAPI][2819983136]a_init:16!: Backend init unsuccessful : [26]
2018-06-26 19:12:25.723: [ CRSOCR][2819983136] OCR context init failure. Error: PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]
2018-06-26 19:12:25.723: [ default][2819983136] Created alert : (:OHAS00106:) : OLR initialization failed, error: PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]
2018-06-26 19:12:25.723: [ default][2819983136][PANIC] OHASD exiting; Could not init OLR
2018-06-26 19:12:25.723: [ default][2819983136] Done.
2018-06-26 19:12:25.934: [ default][2730133280] OHASD Daemon Starting. Command string :restart
2018-06-26 19:12:25.934: [ default][2730133280] Initializing OLR
2018-06-26 19:12:25.934: [ OCROSD][2730133280]utopen:6m': failed in stat OCR file/disk /u01/app/11.2.0/grid/cdata/rac1.olr, errno=2, os err string=No such file or directory
2018-06-26 19:12:25.934: [ OCROSD][2730133280]utopen:7: failed to open any OCR file/disk, errno=2, os err string=No such file or directory
2018-06-26 19:12:25.935: [ OCRRAW][2730133280]proprinit: Could not open raw device
2018-06-26 19:12:25.935: [ OCRAPI][2730133280]a_init:16!: Backend init unsuccessful : [26]
2018-06-26 19:12:25.935: [ CRSOCR][2730133280] OCR context init failure. Error: PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]
2018-06-26 19:12:25.935: [ default][2730133280] Created alert : (:OHAS00106:) : OLR initialization failed, error: PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]
2018-06-26 19:12:25.935: [ default][2730133280][PANIC] OHASD exiting; Could not init OLR
2018-06-26 19:12:25.935: [ default][2730133280] Done.
2018-06-26 19:12:26.130: [ default][3028203296] OHASD Daemon Starting. Command string :restart
2018-06-26 19:12:26.131: [ default][3028203296] Initializing OLR
2018-06-26 19:12:26.131: [ OCROSD][3028203296]utopen:6m': failed in stat OCR file/disk /u01/app/11.2.0/grid/cdata/rac1.olr, errno=2, os err string=No such file or directory
2018-06-26 19:12:26.131: [ OCROSD][3028203296]utopen:7: failed to open any OCR file/disk, errno=2, os err string=No such file or directory
2018-06-26 19:12:26.131: [ OCRRAW][3028203296]proprinit: Could not open raw device
2018-06-26 19:12:26.131: [ OCRAPI][3028203296]a_init:16!: Backend init unsuccessful : [26]
2018-06-26 19:12:26.131: [ CRSOCR][3028203296] OCR context init failure. Error: PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]
2018-06-26 19:12:26.132: [ default][3028203296] Created alert : (:OHAS00106:) : OLR initialization failed, error: PROCL-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]
2018-06-26 19:12:26.132: [ default][3028203296][PANIC] OHASD exiting; Could not init OLR
2018-06-26 19:12:26.132: [ default][3028203296] Done.
mv backup_20180625_191450.olr rac1.olr
一样报错
[root@rac1 cdata]# touch rac1.olr
[root@rac1 cdata]# chown root:oinstall rac1.olr
[root@rac1 cdata]# chmod 600 rac1.olr
[root@rac1 cdata]# ll
total 2908
drwxr-xr-x. 2 grid oinstall 4096 Jun 25 18:48 localhost
drwxr-xr-x. 2 grid oinstall 4096 Jun 25 19:14 rac1
-rw-------. 1 root oinstall 0 Jun 26 19:20 rac1.olr
-rw-------. 1 root oinstall 272756736 Jun 26 19:07 rac1.olr.bak
drwxrwxr-x. 2 grid oinstall 4096 Jun 26 13:54 rac-cluster
[root@rac1 cdata]# ocrconfig -local -restore /u01/app/11.2.0/grid/cdata/rac1/backup_20180625_191450.olr