RAC Grid installation Check error Result:prvf-4007:user equivalence check failed for User "Oracle" ____oracle

Source: Internet
Author: User
Tags chmod mkdir

Error when installing RAC:

[Oracle@node1 grid]$./runcluvfy.sh stage-pre crsinst-n Node1,node2-verbose


Performing pre-checks for Cluster services setup


Checking node reachability ...


Check:node reachability from Node "Node1"
Destination Node reachable?
------------------------------------  ------------------------
Node1 Yes
Node2 Yes
Result:node reachability check passed from Node "Node1"




Checking User Equivalence ...


Check:user equivalence for User "Oracle"
Node Name Status
------------------------------------  ------------------------
Node1 failed
Node2 failed
Result:prvf-4007:user equivalence check failed for User "Oracle"


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


According to the methods found on the Internet:

Verification of node connectivity is unsuccessful on all nodes.

Query Metalink discovery is a problem with Oracle Cluvfy tools. Oracle is described in detail in the article: Note:369598.1:user equivalence Check Failed for User Oracle Using SSH/SCP.

Simply put, Oracle searches the/usr/local/bin directory when searching for SSH commands, while SSH commands are in the/usr/bin directory.

The corresponding solution is also very simple, in the/usr/local/bin directory to create a link to the/USR/BIN/SSH can be.

ROOT@AHRAC1 # mkdir-p/usr/local/bin
ROOT@AHRAC1 # ln-s-f/usr/bin/ssh/usr/local/bin/ssh
ROOT@AHRAC1 # ln-s-F/USR/BIN/SCP/USR/LOCAL/BIN/SCP

But try again and still complain:

$./runcluvfy.sh Comp Nodecon-n Ahrac1,ahrac2-verbose

Verifying node Connectivity

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


Verification of node connectivity is unsuccessful on all nodes.

It was later discovered that the SSH verification step of the original Oracle user must be performed first:

$ exec/usr/bin/ssh-agent $SHELL
$/usr/bin/ssh-add
Enter Passphrase For/export/home/oracle/.ssh/id_rsa:
Identity added:/export/home/oracle/.ssh/id_rsa (/EXPORT/HOME/ORACLE/.SSH/ID_RSA)
Enter Passphrase FOR/EXPORT/HOME/ORACLE/.SSH/ID_DSA:
Identity added:/export/home/oracle/.ssh/id_dsa (/EXPORT/HOME/ORACLE/.SSH/ID_DSA)
$./runcluvfy.sh Comp Nodecon-n Ahrac1,ahrac2-verbose

Can not solve .....


Later found that the use of SSH Node2 date when the need to enter a password, this does not seem to be, and then manually set up the SSH user equivalence configuration:

Node1:


$ mkdir ~/.ssh
$ chmod ~/.ssh
$ ssh-keygen-t RSA
$ ssh-keygen-t DSA




Node2:


$ mkdir ~/.ssh
$ chmod ~/.ssh
$ ssh-keygen-t RSA
$ ssh-keygen-t DSA




Node1:
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
$ ssh node2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ ssh node2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
$ SCP ~/.ssh/authorized_keys Node2:~/.ssh/authorized_keys


Problem solving






Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.