ITPub博客

首页 > 数据库 > Oracle > ORACLE 搭建RAC 环境出现报错总结

ORACLE 搭建RAC 环境出现报错总结

原创 Oracle 作者:七_仔 时间:2015-05-31 11:52:27 0 删除 编辑
oracle 11.2.0.3
操作系统 linux rehat  5.5  X86
VMware 11

在安装grid 时候报错

1. [INS-41112]Specified network interface doesnt maintain connectivity across cluster nodes
关闭防火墙 
service iptables stop 

 2 .INS-32035 Description: Unable to create a new central inventory directory : strin
删除所对应的  目录
rm /u01/app/oraInventory


3 INS-06002  Authentication failed
 

在安装grid 时候 建立SSH 互信的时候 setup 报错 
解决方案 在两个节点分别执行  source ~/.bash_profile  接可以解决 

4.在grid 用户下 vi  ls  命令失效
此时是环境变量有问题
需要在 /usr/bin 目录下面进行命令操作
[grid@rac3 ~]$ cd /usr/bin/
[grid@rac3 bin]$ vi /home/grid/.bash
 
还是不行的话就在 root 用户下删除 grid 用户 再次添加 
[root@rac1 ~]#userdel grid 
[root@rac1 ~]# useradd -u 1000 -g oinstall -G asmadmin,asmdba,asmoper -d
/home/grid -s /bin/bash -c "Grid Infrastructure Owner" -m grid
此时你会报错此用户已从在
我们就要把/home/grid  目录删除
[root@rac1 ~]#rm -r /home/grid 
再次添加 用户
[root@rac1 ~]# useradd -u 1000 -g oinstall -G asmadmin,asmdba,asmoper -d
/home/grid -s /bin/bash -c "Grid Infrastructure Owner" -m grid

[grid@rac1 ~]$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0/grid
export ORACLE_SID=+ASM1
export PATH=$ORACLE_HOME/bin:$PATH

以上问题解决问题解决



5 PRVF-5623  PRVF-5636 
 

两个节点都执行以下程序
解决方案
[root@rac1 Server]# service ntpd stop
Shutting down ntpd: [FAILED]
[root@rac1 Server]# service ntpd status
ntpd is stopped
[root@rac1 Server]# chkconfig ntpd off
[root@rac1 Server]# mv /etc/ntp.conf /etc/ntp.conf.bak

6 在安装grid 时候 建立SSH 互信的时候 setup 报错 

在安装grid 时候 建立SSH 互信的时候 setup 报错 
解决方案 在两个节点分别执行  source ~/.bash_profile  接可以解决 

7 
[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose

报错
ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed

解决方法:ssh 互信没有建立   此时我们就可以忽略了 因为我们之前就没有配置互信
如果你之前配置了 ssh 就要返回 重新配置一下 解决里面的报错
 
8 [INS-41112]Specified network interface doesnt maintain connectivity across cluster nodes
关闭防火墙 
service iptables stop 

9  INS-32035 Description: Unable to create a new central inventory directory : strin
删除所对应的  目录
rm /u01/app/oraInventory

10 RAC 11.2.0.4安装遇到INS-06001解决
[root@rhel5 app]# cd /u01/app/11.2.0/grid/bin/
[root@rhel5 bin]# ls -alt oracle
-rwxrwxr-x 1 grid oinstall 169801812 May 28 01:59 oracle
[root@rhel5 bin]# chmod 6751 oracle
[root@rhel5 bin]# ls -alt oracle
-rwsr-s--x 1 grid oinstall 169801812 May 28 01:59 oracle
[root@rhel5 bin]# pwd
/u01/app/11.2.0/grid/bin

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

上一篇: bash快捷键
请登录后发表评论 登录
全部评论

注册时间:2015-03-25

  • 博文量
    47
  • 访问量
    235640