欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

rac_grid自检无法正常进行报PRVF-4007

程序员文章站 2022-05-20 09:02:21
...

原创作品,出自 深蓝的blog 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。 深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40976103 grid自检报PRVF-4007 : User equivalence check failed for user grid 【实验环境

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。

深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40976103

grid自检报PRVF-4007 : User equivalence check failed for user "grid"

【实验环境】
实验平台:WIN7 旗舰版 64bit
虚拟机软件:VM VirtualBox 4.2
虚拟操作系统:CentOS6.4 64bit
grid版本:11g 64bit
oracle版本:11gR2 64bit

【报错信息】

[grid@xzxt1 grid]$ ./runcluvfy.sh stage -pre crsinst -n xzxt1,xzxt2 -fixup -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "xzxt1"
Destination Node Reachable?
------------------------------------ ------------------------
xzxt1 yes
xzxt2 yes
Result: Node reachability check passed from node "xzxt1"


Checking user equivalence...

Check: User equivalence for user "grid"
Node Name Status
------------------------------------ ------------------------
xzxt2 failed
xzxt1 failed
Result: PRVF-4007 : User equivalence check failed for user "grid"

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


Pre-check for cluster services setup was unsuccessful on all the nodes.

【解决方法】

节点1:
[grid@test1 ~]$ ssh rac2priv date
--验证节点2私有IP
The authenticity of host 'rac2priv (192.168.56.73)' can't be established.
RSA key fingerprint is a3:ab:da:a3:f1:0a:40:02:97:0c:96:2b:ad:43:60:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2priv,192.168.56.73' (RSA) to the list of known hosts.
Wed Oct 29 17:04:12 CST 2014
[grid@test1 ~]$ ssh rac2priv date
Wed Oct 29 17:04:14 CST 2014
[grid@test1 ~]$ ssh rac1priv date
--验证节点1私有IP
The authenticity of host 'rac1priv (192.168.56.72)' can't be established.
RSA key fingerprint is 48:3b:19:c1:d6:5d:fb:9e:32:09:3a:82:4f:2e:ad:81.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1priv,192.168.56.72' (RSA) to the list of known hosts.
Wed Oct 29 16:40:47 CST 2014
[grid@test1 ~]$ ssh rac1priv date
Wed Oct 29 16:40:48 CST 2014
[grid@test2 ~]$ ssh test1 date
--验证节点1公有IP
Wed Oct 29 17:04:14 CST 2014
[grid@test2 ~]$ ssh test2 date
--验证节点2公有IP
Wed Oct 29 17:04:14 CST 2014


节点2:
[grid@test2 ~]$ ssh rac1priv date
The authenticity of host 'rac1priv (192.168.56.72)' can't be established.
RSA key fingerprint is 48:3b:19:c1:d6:5d:fb:9e:32:09:3a:82:4f:2e:ad:81.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1priv,192.168.56.72' (RSA) to the list of known hosts.
Wed Oct 29 16:41:59 CST 2014
[grid@test2 ~]$ ssh rac1priv date
Wed Oct 29 16:42:01 CST 2014
[grid@test2 ~]$ ssh rac2priv date
The authenticity of host 'rac2priv (192.168.56.73)' can't be established.
RSA key fingerprint is a3:ab:da:a3:f1:0a:40:02:97:0c:96:2b:ad:43:60:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2priv,192.168.56.73' (RSA) to the list of known hosts.
Wed Oct 29 17:05:47 CST 2014
[grid@test2 ~]$ ssh rac2priv date
Wed Oct 29 17:05:48 CST 2014
[grid@test2 ~]$ ssh rac1priv date
Wed Oct 29 16:46:32 CST 2014
[grid@test2 ~]$ ssh test1 date
--验证节点1公有IP
Wed Oct 29 16:46:48 CST 2014
[grid@test2 ~]$ ssh test2 date
--验证节点2公有IP
Wed Oct 29 17:10:46 CST 2014

节点1:
[root@xzxt1 ~]# chkconfig NetworkManager off
[root@xzxt1 ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
[root@xzxt1 ~]# chkconfig iptables off
节点2:
[root@xzxt2 ~]# chkconfig NetworkManager off
[root@xzxt2 ~]# sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
[root@xzxt2 ~]# chkconfig iptables off

重启服务器。

如果不进行手工grid检查,当图形化安装grid时也会报出相应错误,可以参考另外一篇文章,链接地址如下:
rac安装grid报INS-41112错误:http://blog.csdn.net/huangyanlong/article/details/40782379

原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。

深蓝的blog:http://blog.csdn.net/huangyanlong/article/details/40976103