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

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  接可以解决 

[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博客 ” ,链接:http://blog.itpub.net/30176559/viewspace-1679221/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30176559/viewspace-1679221/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值