重庆思庄Oracle、Redhat认证学习论坛

标题: PROTL-35: The configured Oracle Local Registry location is not accessible [打印本页]

作者: 郑全    时间: 2018-8-21 19:03
标题: PROTL-35: The configured Oracle Local Registry location is not accessible
我们在做 olr 恢复试验时,老是报 PROTL-35得错误
如下:
[root@host01 host01]# /u01/app/11.2.0/grid/bin/ocrconfig -local -restore /u01/app/11.2.0/grid/cdata/host01/backup_20180821_151649.olr
PROTL-35: The configured Oracle Local Registry location is not accessible


其实这个备份文件是存在的

[root@host01 cdata]# /u01/app/11.2.0/grid/bin/ocrconfig -local -showbackup
host01     2018/08/21 15:16:49     /u01/app/11.2.0/grid/cdata/host01/backup_20180821_151649.olr
。。。

原因是,olr必须存在,哪怕是空文件都可以。


解决办法:
    创建一个空文件即可。

root@host01 cdata]# touch $GRID_HOME/cdata/host01.olr
[root@host01 cdata]# ls -ltr
total 9728
...

-rw-r--r-- 1 root   root             0 Aug 21 16:07 host01.olr
...

[root@host01 cdata]# chmod 600 host01.olr
[root@host01 cdata]# chown root:oinstall host01.olr

再去执行,就ok了。

[root@host01 cdata]# /u01/app/11.2.0/grid/bin/ocrconfig -local -restore /u01/app/11.2.0/grid/cdata/host01/backup_20180821_151649.olr








欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2