温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

怎么解决Oracle中报错PRVF-4007问题

发布时间:2021-11-11 15:50:31 来源:亿速云 阅读:880 作者:iii 栏目:关系型数据库

这篇文章主要介绍“怎么解决Oracle中报错PRVF-4007问题”,在日常操作中,相信很多人在怎么解决Oracle中报错PRVF-4007问题问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么解决Oracle中报错PRVF-4007问题”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

问题:Oracle安装Grid Infrastructure之前做runcluvfy验证时报错如下
PRVF-4007 : User equivalence check failed for user "grid"
问题原因:
配置完ssh互信后,只和远程节点做校验,没和本地节点做校验(首次校验需要输入yes)


解决方案:
对本地节点做一遍ssh校验;

问题:Oracle安装Grid Infrastructure之前做runcluvfy验证时报错如下
[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose >check0526.log
[grid@rac1 grid]$ vi check0526.log
Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Status
  ------------------------------------  ------------------------
  rac2                                  passed
  rac1                                  failed
Result: PRVF-4007 : User equivalence check failed for user "grid"

WARNING:
User equivalence is not set for nodes:
        rac1
Verification will proceed with nodes:
        rac2

问题原因:配置完ssh互信后,只和远程节点做校验,没和本地节点做校验

解决方案:对本地节点做一遍ssh校验;

[root@rac1 grid]# su - oracle
[oracle@rac1 ~]$ ssh rac1
The authenticity of host 'rac1 (192.168.100.61)' can't be established.
RSA key fingerprint is 13:88:4c:1b:84:6b:29:1c:79:51:94:59:72:a2:42:e8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1,192.168.100.61' (RSA) to the list of known hosts.
Last login: Sat May 26 02:36:41 2018 from rac2

[grid@rac1 ~]$ ssh rac1
The authenticity of host 'rac1 (192.168.100.61)' can't be established.
RSA key fingerprint is 13:88:4c:1b:84:6b:29:1c:79:51:94:59:72:a2:42:e8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1,192.168.100.61' (RSA) to the list of known hosts.
Last login: Sat May 26 02:39:44 2018 from rac2

和本地做完ssh验证后测试正常;
[grid@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose >check0526a.log
[grid@rac1 grid]$ vi check0526a.log
Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Status
  ------------------------------------  ------------------------
  rac2                                  passed
  rac1                                  passed
Result: User equivalence check passed for user "grid"

到此,关于“怎么解决Oracle中报错PRVF-4007问题”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI