加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

oracle 11g rac安装之grid报错解决

发布时间:2020-12-12 15:58:53 所属栏目:百科 来源:网络整理
导读:1.在rac2节点使用oracleasm找不到共享磁盘 [root@rac2 ~]# oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks... Scanning system for ASM disks... [root@rac2 ~]# 解决方法: 是因为在rac1节点格式化磁盘没有使用partprob

1.在rac2节点使用oracleasm找不到共享磁盘

[root@rac2 ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]#


解决方法:

是因为在rac1节点格式化磁盘没有使用partprobe命令,分区没有生效

在rac1执行:

[root@rac1 ~]# partprobe

在rac2执行:

[root@rac2 ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL04"
Instantiating disk "VOL03"
Instantiating disk "VOL01"
Instantiating disk "VOL02"
[root@rac2 ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[root@rac2 ~]#


2.安装grid集群软件时出现ORACLE_HOME和ORACLE_BASE目录不对

错误提示:

INS-32026]The Software Location specified should not be under Oracle base location.
CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all parent directories of clusterware software location. As a result,all named directories in the software location path will acquire root ownership. This may create problems for subsequent installations into the same Oracle base.
ACTION: Specify software location outside of Oracle base


解决方法:

我当前目录是:ORACLE_BASE=/home/grid

ORACLE_HOME=/home/grid/11.2.0/grid


这样目录是不正确的,因为ORACLE_BASE和ORACLE_HOME目录要分开,ORACLE_BASE安装好后是有root权限的,而ORACLE_HOME则没有.

这样才对:ORACLE_BASE=/home/grid/app

ORACLE_HOME=/home/grid/11.2.0/grid

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读