- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Exhausted available authentication methods
Created on ‎02-10-2015 06:13 AM - edited ‎09-16-2022 02:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
While adding cluster through cloud manager(CDH 4) i got installation failed error. When i checked the logs i got this:-
2015-02-10 08:32:02,613 INFO [NodeConfiguratorThread-15-0:node.NodeConfiguratorProgress@512] vc2cmmkb035851n.fmr.com: Transitioning from CONNECT (PT0.105S) to AUTHENTICATE
2015-02-10 08:32:02,652 INFO [NodeConfiguratorThread-15-0:transport.TransportImpl@302] Setting active service to ssh-userauth
2015-02-10 08:32:02,652 INFO [NodeConfiguratorThread-15-0:userauth.UserAuthImpl@85] Trying `password` auth...
2015-02-10 08:32:02,652 INFO [NodeConfiguratorThread-15-0:method.AuthPassword@40] Requesting password for [AccountResource] root@vc2cmmkb035851n.fmr.com
2015-02-10 08:32:04,641 ERROR [NodeConfiguratorThread-15-0:concurrent.Promise@171] <<authenticated>> woke to: net.schmizz.sshj.userauth.UserAuthException: password auth failed
2015-02-10 08:32:04,641 INFO [NodeConfiguratorThread-15-0:userauth.UserAuthImpl@96] `password` auth failed
2015-02-10 08:32:04,642 WARN [NodeConfiguratorThread-15-0:node.NodeConfigurator@303] Could not authenticate to vc2cmmkb035851n.fmr.com
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:114)
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:205)
at net.schmizz.sshj.SSHClient.auth(SSHClient.java:190)
at com.cloudera.server.cmf.node.NodeConfigurator.connect(NodeConfigurator.java:293)
at com.cloudera.server.cmf.node.NodeConfigurator.configure(NodeConfigurator.java:759)
at com.cloudera.server.cmf.node.NodeConfigurator.run(NodeConfigurator.java:805)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: net.schmizz.sshj.userauth.UserAuthException: keyboard-interactive auth not allowed by server
at net.schmizz.sshj.userauth.UserAuthImpl.authenticate(UserAuthImpl.java:81)
... 11 more
2015-02-10 08:32:04,642 INFO [NodeConfiguratorThread-15-0:node.NodeConfiguratorProgress@533] vc2cmmkb035851n.fmr.com: Setting AUTHENTICATE as failed and done state
Please help me . I have been googling since 4 days and i'm not able to resolve this issue yet.
Thanks,
Pankaj
Created ‎06-11-2015 01:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@cjervis this issues have been killing me big time. After so much of investigation i found out that we have to edit the file "10-perfmgmt" under "/etc/sudoers.d"( I am using rhel 5) by adding the below lines:-
root ALL=(ALL:ALL) ALL
%admin ALL=(ALL) ALL
%sudo ALL=(ALL:ALL) ALL
userid ALL=(ALL)NOPASSWD:ALL
Note - userid is the id through which you are logging to your linux box
You have to login as "another user" by giving your id and password and yes you are done. It won't fail again with the error "Exhausted available......" . I mean that's what happened with me.
Give a try..
Thanks!
Created ‎02-10-2022 10:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have been facing same issue pankaj i tried your method but showing same problem if any have solution please ping me.
Created ‎08-23-2015 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help me out man ... I am stuck at this issue. Using Ubuntu over VM
Created ‎08-23-2015 09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the solution did not work for you, we'll need more information before we can help. What are you trying to do, what goes wrong (include specific log messages if possible) and what have you tried to do to fix the issue?
The " Exhausted available authentication methods" exception indicates that there is a misconfiguration on the host whereby the user specified cannot authenticate via SSH.
-Ben
Created ‎08-23-2015 10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
where you are getting the error? paste the screenshot please...
Created ‎08-24-2015 01:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Resolved it with the above directions thanks !!!!
Created ‎08-24-2015 01:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
glad to hear that.
Created ‎07-18-2016 12:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried it with the method listed in this page. I was not able to complete installation. Please help.
Created on ‎07-18-2016 12:26 PM - edited ‎07-18-2016 12:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sruthi223 Since this is an older post, it may be benificial to start a new topic for your particular issue as the solution outlined here did not work for you. Make sure to provide all relevent information in the new post.
Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎09-03-2016 10:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎09-03-2016 12:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am able to fix the "Exhausted available authentication methods method" issue the way you suggested. thanks for that. But now I am facing another issue while installing cloudera manager agent. Below is the error message:
Error: Package: cloudera-manager-agent-5.8.1-1.cm581.p0.7.el6.x86_64 (cloudera-manager)
Requires: portmap
Error: Package: cloudera-manager-agent-5.8.1-1.cm581.p0.7.el6.x86_64 (cloudera-manager)
Requires: mod_ssl
Error: Package: cloudera-manager-agent-5.8.1-1.cm581.p0.7.el6.x86_64 (cloudera-manager)
Requires: httpd
yum install is not soilving my problem since I dont have the repos for portmap, mod_ssl and httpd. Not sure how to install them direcltly from online since I am not getting the correct repo / mirror address.
Looking forward for your cooperation.
