05-12-2017 05:07 AM
I am trying to install Cloudera using root user as login user and SSH port 22 but and localhost for IP Adress and I am getting the error : "Installation failed". Failed to autheticate, details: "Exhausted available authentication methods".
Could you please tell me how can I solve the issue?
Thanks a lot,
05-13-2017 01:08 AM
This could be of two reason, one is the mis match of RSA public / private keys in the master / slave nodes
permission owner like chmod chown
id_rsa authorized_keys id_rsa.pub
Reason 2 .
Check your iptable / Firewall settings
- see if it is up and runining or not
check the /etc/hosts files in all the node check the /etc/sysconfig/network hostname
Please let me know if that helps or not .we should be able to troubleshoot .
I resolved this error a couple of weeks back.
05-22-2017 12:57 AM - edited 05-22-2017 01:56 AM
There must be a problem with your ssh-keys.
1. Generate ssh-key (public and private)
2. Copy id_rsa.pub content to authorized_keys
3. Change authorized_keys permissions to 600
4. Copy the id_ras.pub key content to the other nodes authorized_keys
Then try again
P.S: It will work only, when you use associated used with above keys
05-22-2017 12:59 AM
05-22-2017 03:58 AM
systemctl status firewalld
if you see active then your firewall is ON.
to switch off the Firewall perform
systemctl stop firewalld
finally perform this to disable even during boot of your operating system
systemctl disable firewalld
05-22-2017 04:00 AM
What configurations are you going peform
single node cluster or multi node cluster .
Usually can define your own ip for your hosts like below for example
in the /etc/hosts file using vi editor
master 192.168.200.221 slave1 192.168.200.222 slave2 192.168.200.223
05-20-2019 09:04 AM
This is quite common issue while installing CDH.However it is so easy to resolve it.
This is the issue with ssh.
You need to edit the /etc/ssh/sshd_config file by changing below parameter :-
Now restart ssh service : sudo service ssh restart
Now Select root to login as below
click on Continue
Your issue will be resolved.