怎么解决Oracle中报错PRVF-4007问题
这篇文章主要介绍"怎么解决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问题"的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!