User equivalence check failed for user “oracle”.
Posted by Kamran Agayev A. on 14th August 2013
If you’ve installed and configured RAC environment, you should face “User equivalenece check” error during pre-requisite check
There’re three common reasons for getting this error:
– You didn’t configure ssh between nodes. Make sure you can ssh to all nodes which are used at runcluvfy.sh script
– UID are different on any of node
– runcluvfy.sh script can’t find necessary executable to perform the connectivity or equivalence check
In my case, I configured ssh on both nodes and all parameters of an oracle user were same. So in this case, I decided to debug runcluvfy.sh script. To debug this script, you need to set some environment variables:
export CV_HOME=/home/oracle/cv (Export Cluster Verify debugging home page)
export SRVM_TRACE=true
./runcluvfy.sh stage -post hwos -n node1,node2 -verbose
Then I checked the log file under /home/oracle/cv/pid/cv/log/log_file.log and got the following output:
[Worker 0] [8:57:44:666] [UnixSystem.checkRemoteExecutionSetup:1833] checkRemoteExecutionSetup:: Error checking user equivalence us
ing Secured Shell ‘/usr/local/bin/ssh’; Wed Aug 14 08:57:44 GMT+04:00 2013
[Thread-7] [8:57:44:850] [StreamReader.run:65] ERROR>remshd: Login incorrect.; Wed Aug 14 08:57:44 GMT+04:00 2013
[Thread-5] [8:58:15:773] [StreamReader.run:65] ERROR>rcmd_af: connect: node1: Connection refused; Wed Aug 14 08:5
8:15 GMT+04:00 2013
Hey, wait. I don’t have /usr/local/bin/ssh file! I do have ssh executable but it’s under the different directory. And why the script didn’t use “which ssh” command and get the exact path of the ssh executable?
Anyway, I created a symbolic link to the original ssh file and run the script again. It worked!
Posted in Administration, RAC issues | No Comments »