CDH5之Exhausted available authentication methods

简介: 1.机器环境:前几天,要在 阿里环境装两套CDH的产品环境,其中一套CDH5在安装过程就抛错"Exhausted available authentication methods" 其中的抛错的机器是运维从stage环境机器上,copy的镜像做的新的机器。
1.机器环境:
前几天,要在 阿里环境装两套CDH的产品环境,其中一套CDH5在安装过程就抛错" Exhausted available authentication methods "
其中的抛错的机器是运维从stage环境机器上,copy的镜像做的新的机器。

2.在哪步出错:
在安装CDH5过程中,输完hadoop用户和密码的下一步(集群安装),web开始刷新数据源抛错: Exhausted available authentication methods

#由于当时没有截图,事后在某贴上找的图片

3.解决方案:
a.检查hadoop用户是否配置sudo无密码权限成功???

点击(此处)折叠或打开

  1. [root@alish1-xxx-01 ~]# adduser hadoop
  2.  [root@alish1-xxx-01 ~]# passwd hadoop
  3. Changing password for user hadoop.
  4. New password:
  5. BAD PASSWORD: it is too short
  6. BAD PASSWORD: is too simple
  7. Retype new password:
  8. passwd: all authentication tokens updated successfully.

  9. [root@alish1-logshedcldmanager-01 etc]# vi /etc/sudoers

  10. ## Allow root to run any commands anywhere
  11. root ALL=(ALL) ALL

  12. hadoop ALL=(root)NOPASSWD:ALL

  13. ###验证sudo权限
  14. [root@alish1-xxx-01 etc]# sudo su hadoop
  15. [hadoop@alish1-logshedcldmanager-01 ~]$ sudo ls -l /root
  16. total 4
  17. -rw------- 1 root root 8 Apr 2 09:45 dead.letter

b.检查ssh服务是否正常???

点击(此处)折叠或打开

  1. [root@alish1-xxx-01 ~]# service sshd restart
  2. Stopping sshd: [ OK ]
  3. Starting sshd: [ OK ]
#直接重启服务,然后单击"重试",就ok了.


4.参考备注:

Try using SSH from the command line of another host and use the same user that 
you are entering in the installation wizard to attempt to authenicate to one of the nodes you are attempting to add to the cluster.

- if you are using "root" then ssh as "root" is disabled by default on some OSes... you might check that.
- if you are using a non-root user, then verify that sudo, you might need to configure your sudoers with something like "userid   ALL=(ALL)NOPASSWD:ALL"

目录
相关文章
|
iOS开发
解决App Installation failed, No code signature found.
解决App Installation failed, No code signature found.
367 0
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2
4346 0
|
3月前
|
Web App开发 Java 网络安全
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
513 0
|
6月前
|
Unix 网络安全 数据安全/隐私保护
putty Faual Error:No supported authentication methods available (server sent: publickey)
putty Faual Error:No supported authentication methods available (server sent: publickey)
1291 0
|
6月前
|
NoSQL Redis 数据库
解决noauth authentication required异常
解决noauth authentication required异常
398 0
解决noauth authentication required异常
|
Java Maven 数据安全/隐私保护
Could not transfer artifact from/to Authentication failed for 401 Unauthorized
Could not transfer artifact from/to Authentication failed for 401 Unauthorized
508 0
Gitlab报错:No authentication methods configured on login page
Gitlab报错:No authentication methods configured on login page
165 0
|
开发工具 数据安全/隐私保护 git
git 报错:Support for password authentication was removed. Please use a personal access token instead.
git 报错:Support for password authentication was removed. Please use a personal access token instead.
386 0
git 报错:Support for password authentication was removed. Please use a personal access token instead.
|
NoSQL 安全 MongoDB
mongorestore[报错]auth error: sasl c onversation error: unable to authenticate using mechanism
mongodb中添加了admin表的用户,即创建了超级管理员(mongodb的安全生产环境的权限设置请查看: [https://blog.csdn.net/Chenftli/article/details/105228130](https://blog.csdn.net/Chenftli/article/details/105228130)),此时我想去将备份的集合的bson文件数据导入到mongodb指定的数据库时会报出上面的错误。 ##### 尝试 尝试使用下面的命令执行
777 0
|
存储 NoSQL Redis
docker: denied: requested access to the resource is deniedunauthorized: authentication required
docker: denied: requested access to the resource is deniedunauthorized: authentication required
686 0
docker: denied: requested access to the resource is deniedunauthorized: authentication required