首页 > 代码库 > oracle 11g rac安装之grid报错解决

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

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

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

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