Heim > Datenbank > MySQL-Tutorial > Hauptteil

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

WBOY
Freigeben: 2016-06-07 16:09:52
Original
1293 Leute haben es durchsucht

原创作品,出自 深蓝的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

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!