Cloudera Manager身份验证失败:可用的身份验证方法已用尽 [英] Cloudera Manager Failed to authenticate : Exhausted available authentication methods

查看:1354
本文介绍了Cloudera Manager身份验证失败:可用的身份验证方法已用尽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试学习如何使用Cloudera进行安装和配置.

I am currently trying to learn how can I install and configure Cloudera before using it.

因此,我将其安装在VirtualBox,Ubuntu 14.04,Cloudera Manager中.我想在一个伪单节点上尝试(仅在我的计算机上:没有群集).

So I install in VirtualBox, Ubuntu 14.04, Cloudera Manager. I would like to try it on a pseudo single node (only my computer: no cluster).

我设法完成安装.然后为CDH群集安装指定主机;本地主机127.0.0.1

I manage to finish the installation. Then to Specify hosts for your CDH cluster installation ; localhost 127.0.0.1

我的问题是在提供SSH登录凭据"上.步骤

My problem is on the "Provide SSH login credentials." step

要安装Cloudera软件包,必须具有对主机的root访问权.该安装程序将通过SSH连接到您的主机,并直接以root身份或具有无密码sudo/pbrun特权的另一个用户身份登录成为root用户. 以"root"身份登录到所有主机

Root access to your hosts is required to install the Cloudera packages. This installer will connect to your hosts via SSH and log in either directly as root or as another user with password-less sudo/pbrun privileges to become root. Login To All Hosts As: Root

您可以通过密码或公共密钥身份验证连接到上面选择的用户.身份验证方法:所有主机都接受相同的密码
输入密码:*********
SSH端口:22

You may connect via password or public-key authentication for the user selected above. Authentication Method: All hosts accept same password
Enter Password:*********
SSH Port: 22

然后单击继续按钮将导致此

Then Continue button lead to this

在所有主机上安装失败. 安装失败.认证失败.

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

可用的身份验证方法已用尽"

"Exhausted available authentication methods"

我试图重置root密码,但没有更改. 我尝试使用具有无密码权限的其他用户(不确定我做对了..但是没有用) 我尝试按照以下教程使用公钥ssh

I tried to reset the root password, didn't change.. I tried to use an other user who had permissions passwordless (not sure i did it right.. but didn't work) I tried to use public key ssh following tutorials with this

 ssh-keygen -t rsa -P ""
 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

但是我无法浏览id_rsa.pub的路径...,因为Cloudera Manager不具有访问/.ss​​h/的许可权:(

But i can't browse the path of id_rsa.pub... because Cloudera Manager doesn't have the permission to acess /.ssh/ :(

我认为我不完全了解此步骤的内容,但是没有通过它的教程. 有什么解决方案可以配置吗?

I assume I didn't fully understood what is behind this step but there is no tutorial to pass it. Any solution to configure this ?

谢谢您的建议.

推荐答案

我遇到了类似的问题,经过互联网上的大量研究后,我设法解决了该问题.请按照以下步骤进行修复.

I had a similar issue and after a lot of research in the internet I managed to fix the problem. Follow the below steps to fix it.

sudo nano/etc/ssh/sshd_config

sudo nano /etc/ssh/sshd_config

现在在文件中查找不带密码的PermitRootLogin ,并将其替换为

In the file now look for PermitRootLogin without-password and replace it with this

PermitRootLogin yes

PermitRootLogin yes

现在重新启动ssh服务

Now restart the ssh service

sudo服务ssh重新启动

sudo service ssh restart

重试安装,它应该可以工作.评论它是否奏效并传播新闻.

retry the installation and it should work. Comment if it has worked and spread the news.

这篇关于Cloudera Manager身份验证失败:可用的身份验证方法已用尽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆