Exhausted available authentication methods


In this post we will discuss about common problem in installing cloudera manager 5.3.2 on Ubuntu 14.04 machine and solution for the root cause.

Problem:

When installing Cloudera Manager 5.3.2 on Ubuntu 14.04.2 Machine getting below error messages after giving root privileges on ssh configuration page.

Exhausted available authentication methods

or

Installation failed on all hosts. Installation failed. Failed to authenticate

In this case, ssh to root might be a problem. To confirm this try the below commands from Ubuntu terminal from default user not root account. If we receive error message like below in connecting to ssh to root account then this is the cause for above error messages in cloudera manager.

Solution:

This might be due to unable to ssh to root account in Ubuntu. By default, ssh to root account will not be enabled in Ubuntu and below is the procedure for that. By following the below changes I was able to solve the above problem.

After that I have selected root as the user and its password to start installation on all hosts and maintained the same root password on all agent nodes.

For this we need to make some changes to be able to ssh to root user.

You need to edit /etc/ssh/sshd_config, and commend out the following line:

Just below it, add the following line:

Then restart SSH:

Once these changes are done, try the below command from Ubuntu terminal: If we receive response like below then the problem is solved.


Profile photo of Siva

About Siva

Senior Hadoop developer with 4 years of experience in designing and architecture solutions for the Big Data domain and has been involved with several complex engagements. Technical strengths include Hadoop, YARN, Mapreduce, Hive, Sqoop, Flume, Pig, HBase, Phoenix, Oozie, Falcon, Kafka, Storm, Spark, MySQL and Java.

Leave a comment

Your email address will not be published. Required fields are marked *


Review Comments
default image

I am a plsql developer. Intrested to move into bigdata.

Neetika Singh ITA Hadoop in Dec/2016 December 22, 2016

.