I had this issue while installing grid in my lab.
Checked everything: ping to both nodes, ssh to both nodes both ways… all ok, but still not able to run sshUserSetup.sh:

[root@RACdbnode1 deinstall]# ./sshUserSetup.sh -user oracle -hosts “racnode1 racnode2” -noPromptPassphrase -confirm -advanced
The output of this script is also logged into /tmp/sshUserSetup_2021-04-01-22-59-11.log
Hosts are “racnode1
user is oracle
Platform:- Linux 
Checking if the remote hosts are reachable
ping: “racnode1: Name or service not known
Remote host reachability check failed.
The following hosts are reachable: .
The following hosts are not reachable: “racnode1.
Please ensure that all the hosts are up and re-run the script.
Exiting now...
[root@RACdbnode1 deinstall]# 

Well… what was the problem? “racnode1 racnode2” vs “racnode1 racnode2” ( the “)
And now it runs ok:

[root@RACnode1 deinstall]# ./sshUserSetup.sh -user root -hosts "racnode1 racnode2" -noPromptPassphrase -confirm -advanced
The output of this script is also logged into /tmp/sshUserSetup_2021-04-01-23-13-34.log
Hosts are racnode1 racnode2
user is oracle
Platform:- Linux 
Checking if the remote hosts are reachable
PING racnode1.localdomain (192.168.24.1) 56(84) bytes of data.
64 bytes from racnode1.localdomain (192.168.24.1): icmp_seq=1 ttl=64 time=0.055 ms
64 bytes from racnode1.localdomain (192.168.24.1): icmp_seq=2 ttl=64 time=0.059 ms
....
Last modified: 2 August 2021

Author

Comments

Write a Reply or Comment

Your email address will not be published.