Oracle-RAC等价性验证错误:Result: PRVF-4007 : User equivalence check failed for user "grid"

安装RAC做oracle集群件要求出现错误,错误信息如下:

复制代码
 1 [grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose
 2 
 3 Performing pre-checks for cluster services setup 
 4 
 5 Checking node reachability...
 6 
 7 Check: Node reachability from node "rac1"
 8   Destination Node                      Reachable?              
 9   ------------------------------------  ------------------------
10   rac2                                  yes                     
11   rac1                                  yes                     
12 Result: Node reachability check passed from node "rac1"
13 
14 
15 Checking user equivalence...
16 
17 Check: User equivalence for user "grid"
18   Node Name                             Comment                 
19   ------------------------------------  ------------------------
20   rac2                                  passed                  
21   rac1                                  failed                  
22 Result: PRVF-4007 : User equivalence check failed for user "grid"
复制代码

一开始的思路是rac1 ssh rac2,rac2 ssh rac1;验证通过后执行命令后还是报同样的错误,代码如下:

1 ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose

后来在论坛中发现一篇文章,里面提到,集群不仅要验证对方,同时也要验证自己:

复制代码
 1 [root@rac2 ~]# su - oracle
 2 [oracle@rac2 ~]$ ssh rac2 date
 3 The authenticity of host 'rac2 (127.0.0.1)' can't be established.
 4 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.
 5 Are you sure you want to continue connecting (yes/no)? yes
 6 Warning: Permanently added 'rac2' (RSA) to the list of known hosts.
 7 Fri Aug 17 12:49:01 CST 2018
 8 [oracle@rac2 ~]$ ssh rac2priv date
 9 The authenticity of host 'rac2priv (172.16.0.92)' can't be established.
10 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.
11 Are you sure you want to continue connecting (yes/no)? yes
12 Warning: Permanently added 'rac2priv,172.16.0.92' (RSA) to the list of known hosts.
13 Fri Aug 17 12:49:09 CST 2018
14 [oracle@rac2 ~]$ su - grid
15 Password: 
16 [grid@rac2 ~]$ ssh rac2 date
17 The authenticity of host 'rac2 (127.0.0.1)' can't be established.
18 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.
19 Are you sure you want to continue connecting (yes/no)? yes
20 Warning: Permanently added 'rac2' (RSA) to the list of known hosts.
21 grid@rac2's password: 
22 Permission denied, please try again.
23 grid@rac2's password: 
24 Fri Aug 17 12:49:33 CST 2018
25 [grid@rac2 ~]$ ssh rac2priv date
26 The authenticity of host 'rac2priv (172.16.0.92)' can't be established.
27 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.
28 Are you sure you want to continue connecting (yes/no)? yes
29 Warning: Permanently added 'rac2priv,172.16.0.92' (RSA) to the list of known hosts.
30 grid@rac2priv's password: 
31 Fri Aug 17 12:49:43 CST 2018
复制代码

随后再执行命令就全部pass(通过)。

文章地址(不知道怎么插入超链接):http://www.itpub.net/thread-1398968-1-1.html

posted @   小年青。  阅读(2514)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示