[Hadoop]
While adding new Ambari host using automated Install, the following error occurred on the Ambari Server:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
SSH command execution finished
host=MYHOSTNAME.MYDOMAIN, exitcode=255
Command end time 2020-02-11 17:57:40
ERROR: Bootstrap of host MYHOSTNAME.MYDOMAIN fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
STDOUT:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Resolution process:
To solve the problem, we need the public key of the Ambari server, so we will get the key from the server to the client.
[Ambari Agent]
The following command will run from the root home directory.
# scp root@SERVER_HOSTNAME.MYDOMAIN:~/id_rsa.pub $HOME/
: Enter the password of Ambari Server's root
# cat $HOME/id_rsa.pub >> $HOME/.ssh/authorized_keys
[Ambari Server]
And then, we can solve the problem using file 'id_rsa' of Ambari server when install options.
'IT > System' 카테고리의 다른 글
[Linux] ln, 심볼릭 링크 경로 변경 (0) | 2020.03.09 |
---|---|
[Windows] IIS FTP 사용자별 디렉터리 분리(AD 미사용) (0) | 2020.03.02 |
[Hadoop] How to troubleshoot Ambari Server error that is related to SSL that occurred on the server while adding new Ambari hosts. (0) | 2020.02.12 |
[Exchange] Check Mailbox Usage, Mail Count in Exchange 2010 (0) | 2020.02.06 |
[Windows] Active Directory 삭제된 개체 복원 (0) | 2020.02.05 |