Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error while installing HDP 2.4.2 using ambari. Verification of amabri node fails but the remaining nodes are verified?Please help me with this

avatar
Contributor

15262-capture.png

Creating target directory...

========================== Command start time 2017-05-09 15:50:41 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). SSH command execution finished host=ambari.sierra.com, exitcode=255 Command end time 2017-05-09 15:50:41 ERROR: Bootstrap of host ambari.sierra.com 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).

1 ACCEPTED SOLUTION

avatar
Master Mentor

@saravanan gopalsamy

Few things to check on the problematic host:

1. Are you able to do password less ssh to the localhost? Or the host where the agent installation is failing?

  ssh root@ambari.sierra.com
  ssh root@localhost

2. Check the permission of the ssk keys on the mentioned host.Should be 600 for authorized keys:

# ls -l ~/.ssh/
total 16
-rw-------. 1 root root  412 Aug 18  2016 authorized_keys
-rw-------. 1 root root 1675 Feb 13 04:01 id_rsa
-rw-r--r--. 1 root root  404 Feb 13 04:01 id_rsa.pub
-rw-r--r--. 1 root root  826 Feb 13 04:01 known_hosts

[root@erie1 ambari-server]# ls -l ~/.ssh/authorized_keys 
-rw-------. 1 root root 412 Aug 18  2016 /root/.ssh/authorized_keys

3. Verify that there is no ambari agent RPM is not already installed on the mentioned host

rpm -qa | grep ambari

If nothing works then at the end try creating the SSK keys again on the "ambari.sierra.com" again

OR

try installing ambari agent on that problematic host manually. http://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-administration/content/ch_amb_ref_...

.

View solution in original post

6 REPLIES 6

avatar
Master Mentor

@saravanan gopalsamy

Few things to check on the problematic host:

1. Are you able to do password less ssh to the localhost? Or the host where the agent installation is failing?

  ssh root@ambari.sierra.com
  ssh root@localhost

2. Check the permission of the ssk keys on the mentioned host.Should be 600 for authorized keys:

# ls -l ~/.ssh/
total 16
-rw-------. 1 root root  412 Aug 18  2016 authorized_keys
-rw-------. 1 root root 1675 Feb 13 04:01 id_rsa
-rw-r--r--. 1 root root  404 Feb 13 04:01 id_rsa.pub
-rw-r--r--. 1 root root  826 Feb 13 04:01 known_hosts

[root@erie1 ambari-server]# ls -l ~/.ssh/authorized_keys 
-rw-------. 1 root root 412 Aug 18  2016 /root/.ssh/authorized_keys

3. Verify that there is no ambari agent RPM is not already installed on the mentioned host

rpm -qa | grep ambari

If nothing works then at the end try creating the SSK keys again on the "ambari.sierra.com" again

OR

try installing ambari agent on that problematic host manually. http://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-administration/content/ch_amb_ref_...

.

avatar
Super Collaborator

@Jay SenSharma

I have nothing to add. I just wanted to know why ambari-agent should not be installed on that host? Point 3 in your post.

avatar
Master Mentor

@Edgar Daeds

Ambari Agent can be installed on that node as well without any issue.

What i mean to say there is that "We need to check that no other version of "ambari-agent" RPM is installed on that host.

avatar
Super Collaborator

Och ok, thank you for explanation.

avatar
Contributor

@Jay SenSharma, Thank you for the explanation.It worked

avatar
Master Mentor

@saravanan gopalsamy

Great to know that your issue is resolved. It will be wonderful if you can click on the "Accept" button on this thread to mark this comment as answered, that helps community users to quickly find out the correct answer.