首页 > 数据库技术 > 详细

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

时间:2016-09-14 17:09:15      阅读:238      评论:0      收藏:0      [点我收藏+]

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报错解决

原文:http://tongcheng.blog.51cto.com/6214144/1852663

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!