ITPub博客

首页 > 数据库 > Oracle > [重庆思庄每日技术分享]-安装GI时报错“Oracle Restart Integrity”

[重庆思庄每日技术分享]-安装GI时报错“Oracle Restart Integrity”

原创 Oracle 作者:xianhua_33 时间:2022-06-21 10:51:46 0 删除 编辑

系统:CentOS7.9

数据库:Oracle 11.2.0.4

环境:磁盘组采用的asmlib方式创建

异常描述:在安装单实例数据库创建GI时,条件检查步骤报错“OracleRestart Integrity”,如下所示:

在 mos 上查确认为以下原因造成此异常:
There is no GI (restart or clusterware) installation in place ,but there was previous GI installation which was not cleaned up properly andits traces exists on the server
<HOSTNAME>$ ls -l /etc/oracle/olr.loc
-rw-r----- 1 root dba 115 Apr 28 2017 /etc/oracle/olr.loc

<HOSTNAME>$ > ls -l /etc/oracle/ocr.loc
-rw-r----- 1 oracle dba 87 Apr 28 2017 /etc/oracle/ocr.loc
解决方案:
[root@leooracle]# mv ocr.loc old_ocr.loc
[root@leooracle]# mv olr.loc old_olr.loc
[root@leooracle]# ll
total2224
drwxrwx---2 grid oinstall       6 Jun  1 13:57 lastgasp
-rw-r--r--1 root root          16 Jun  1 13:57 ocr.loc.orig
-rw-r-----1 grid oinstall      90 Jun  1 13:57 old_ocr.loc
-rw-r-----1 root oinstall     115 Jun  1 13:57 old_olr.loc
-rw-r--r--1 root root           0 Jun  1 13:57 olr.loc.orig
drwxrwx---5 root oinstall      44 Jun  1 13:57 oprocd
drwxr-x---3 root oinstall      17 Jun  1 13:57 scls_scr
-rws--x---1 root oinstall 2264216 Jun  1 13:57setasmgid
[root@leooracle]# pwd
/etc/oracle
修改后重新 reinstall, 异常消除 .


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69950318/viewspace-2901834/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-10-09

  • 博文量
    95
  • 访问量
    41127