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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle 11g rac安装之grid报错解决相关的知识,希望对你有一定的参考价值。

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

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


解决方法:

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

在rac1执行:

[[email protected] ~]# partprobe

在rac2执行:

[[email protected] ~]# /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"
[[email protected] ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[[email protected] ~]#


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

本文出自 “一起走过的日子” 博客,请务必保留此出处http://tongcheng.blog.51cto.com/6214144/1852663

以上是关于oracle 11g rac安装之grid报错解决的主要内容,如果未能解决你的问题,请参考以下文章

请高人指点安装ORACLE 11G RAC最后在两节点执行 root.sh脚本时报错解决方法,如解决高分回报,感激不尽

oracle 11g rac一节点操作系统重新安装后,重新加入到集群中,需要安装grid和oracle软件吗?

完美解决oracle11gR2安装grid检查ASM报错PRVG-10122

Linux下Oracle11G RAC报错:在安装oracle软件时报file not found一例

SUSE11 Oracle 11g RAC双机集群环境部署

oracle 11g RAC手动卸载grid,no deinstall