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"

目录
相关文章
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
4566 0
|
9月前
|
Unix 网络安全 数据安全/隐私保护
putty Faual Error:No supported authentication methods available (server sent: publickey)
putty Faual Error:No supported authentication methods available (server sent: publickey)
1933 0
|
8月前
|
Kubernetes 容器 Perl
k8s部署seata 报错 没有提供足够的身份验证信息 [ http-nio-7091-exec-2] [ty.JwtAuthenticationEntryPoint] [ commence] [] : Responding with unauthorized error. Message - Full authentication is required to access this resource
Kubernetes pod 在16:12时出现两次错误,错误信息显示需要完整认证才能访问资源。尽管有此错误,但页面可正常访问。附有yaml配置文件的图片。
614 2
|
8月前
ZLMediakit-method ANNOUNCE failed: 401 Unauthorized
ZLMediakit-method ANNOUNCE failed: 401 Unauthorized
213 0
【异常解决】postman请求提示Full authentication is required to access this resource
【异常解决】postman请求提示Full authentication is required to access this resource
688 0
|
Java Maven 数据安全/隐私保护
Could not transfer artifact from/to Authentication failed for 401 Unauthorized
Could not transfer artifact from/to Authentication failed for 401 Unauthorized
555 0
Gitlab报错:No authentication methods configured on login page
Gitlab报错:No authentication methods configured on login page
199 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
159 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
121 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
213 0