<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari Host Registration Failed - Unable to install on hosts in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113407#M22022</link>
    <description>&lt;P&gt;You can also install agents manually and bypass automatic registration and ssh steps &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/ch_amb_ref_installing_ambari_agents_manually.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/ch_amb_ref_installing_ambari_agents_manually.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Mar 2016 22:37:49 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-06T22:37:49Z</dc:date>
    <item>
      <title>Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113403#M22018</link>
      <description>&lt;P&gt;i am unable to create hadoop clusters using Ambari. I am completely stuck in the third step, did everything I could but couldn't.
          I provided correct FQDN and valid ssh private key &lt;/P&gt;&lt;P&gt;When I gave ssh user account as : sridhar, I got this error&lt;/P&gt;&lt;PRE&gt;==========================
Creating target directory...
==========================

Command start time 2016-03-06 18:23:37
Automatic Agent registration timed out (timeout = 300 seconds). Check your network connectivity and retry registration, or use manual agent registration.&lt;/PRE&gt;&lt;P&gt;When I gave the ssh user account as: root, I got this error&lt;/P&gt;&lt;PRE&gt;==========================
Creating target directory...
==========================

Command start time 2016-03-06 18:43:30

Permission denied (publickey,password).
SSH command execution finished
host=&lt;A href="http://sridhar25.sridhar.com/"&gt;sridhar25.sridhar.com&lt;/A&gt;, exitcode=255
Command end time 2016-03-06 18:43:31

ERROR: Bootstrap of host &lt;A href="http://sridhar25.sridhar.com/"&gt;sridhar25.sridhar.com&lt;/A&gt; fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Permission denied (publickey,password).

STDOUT: 
Permission denied (publickey,password).&lt;/PRE&gt;&lt;P&gt;Can you help me proceed further? &lt;/P&gt;&lt;P&gt;what is the correct ssh user account to be provided for the successful registration?&lt;/P&gt;&lt;P&gt;Software Req:&lt;/P&gt;&lt;P&gt;OS: Ubuntu 14.10 (64bit)&lt;/P&gt;&lt;P&gt;Ram: 4Gb&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 21:55:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113403#M22018</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-06T21:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113404#M22019</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3273/sridharbabu1138.html" nodeid="3273"&gt;@Sridhar Babu M&lt;/A&gt;&lt;P&gt;It seems you have an issue with ssh based on error message "Permission denied (publickey,password)." and I hope you are providing public key instead of private key.&lt;/P&gt;&lt;P&gt;How  many nodes do you have? Are you able to do SSH on Command Line? if yes, delete your SSH file from Ambari and add id_rsa private key.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 22:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113404#M22019</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-03-06T22:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113405#M22020</link>
      <description>&lt;P&gt;you need to set proper permissions on ssh keys refer to doc &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_set_up_password-less_ssh.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_set_up_password-less_ssh.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 22:36:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113405#M22020</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-06T22:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113406#M22021</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2348/divakarreddya.html" nodeid="2348"&gt;@Divakar Annapureddy&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi, I have added only id_rsa private key and not the public key id_rsa.pub. &lt;/P&gt;&lt;P&gt;I am just creating a cluster with only one master node, that is host machine. Because for multiple nodes also it is showing the same errors.  &lt;/P&gt;&lt;P&gt;And ya I am able to ssh sridhar@localhost without any password, but root@localhost is asking me a password.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 22:37:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113406#M22021</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-06T22:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113407#M22022</link>
      <description>&lt;P&gt;You can also install agents manually and bypass automatic registration and ssh steps &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/ch_amb_ref_installing_ambari_agents_manually.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_reference_guide/content/ch_amb_ref_installing_ambari_agents_manually.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 22:37:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113407#M22022</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-06T22:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113408#M22023</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have executed the above steps accordingly, yet ambari registration failed!&lt;/P&gt;&lt;P&gt;If i am using the user account name then it is not asking for a password (password less login),&lt;/P&gt;&lt;P&gt;but if I use root@localhost, then it is asking for password everytime.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 22:45:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113408#M22023</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-06T22:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113409#M22024</link>
      <description>&lt;P&gt;set SSH for root as well and give a try it will work.&lt;/P&gt;&lt;P&gt;Steps 1) log into your host as root&lt;/P&gt;&lt;P&gt;step 2) cd /root/.ssh&lt;/P&gt;&lt;P&gt;Step 3) run ssh-keygen&lt;/P&gt;&lt;P&gt;Step 4) mkdir authorized_keys&lt;/P&gt;&lt;P&gt;Step 5) chmod 700 ~/.ssh&lt;/P&gt;&lt;P&gt;Step 6) chmod 600 ~/.ssh/*&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Ex:&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;[root@abc.ssh]# ls -lrt &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;total 28 &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;-rw-r--r--. 1 root root   408 Nov 26  2014 id_rsa.pub &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;-rw-------. 1 root root  1675 Nov 26  2014 id_rsa &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;-rw-------. 1 root root   408 Nov 26  2014 authorized_keys &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;[root@abc .ssh]#&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Step 7) cat id_rsa.pub &amp;gt;&amp;gt; authorized_keys&lt;/P&gt;&lt;P&gt;Step &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Validate your SSH&lt;/P&gt;&lt;P&gt;            ssh &amp;lt;hostname&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 22:58:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113409#M22024</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-03-06T22:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113410#M22025</link>
      <description>&lt;P&gt;Setting password less ssh for root is a security risk, strongly recommend not to do that. If you say ssh for your user works both ways make sure to set that in Ambari setup. Try the manual registration step I provided link for. It's a lot easier.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 23:00:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113410#M22025</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-06T23:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113411#M22026</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;After performing installation through manually, it worked perfectly and successfully got registered! Thanks a lot buddy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Yet, it is showing warning in the Service Issues&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH&gt;The following services should be up&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH&gt;&lt;STRONG&gt;Service&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ntp&lt;/TD&gt;&lt;TD&gt;Not running on 1 host&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 23:11:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113411#M22026</guid>
      <dc:creator>sridharbabu1138</dc:creator>
      <dc:date>2016-03-06T23:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113412#M22027</link>
      <description>&lt;P&gt;You can setup NTP depending on your OS using my NTP.sh script &lt;A href="https://github.com/dbist/scripts/tree/master/administration/rhel6" target="_blank"&gt;https://github.com/dbist/scripts/tree/master/administration/rhel6&lt;/A&gt; go to rhel7 for that version and please accept my answer, thanks&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 23:26:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113412#M22027</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-06T23:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113413#M22028</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks Artem for pointing security risk if we set password less SSH for root user but HDP didn't talk about it in their document and they are suggesting to do the same &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_set_up_password-less_ssh.html"&gt;link&lt;/A&gt; in step 2&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 23:31:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113413#M22028</guid>
      <dc:creator>divakarreddy_a</dc:creator>
      <dc:date>2016-03-06T23:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113414#M22029</link>
      <description>&lt;P&gt;Fair enough, it is left up to you to decide whether it is good or bad idea. You can use non-root account as long as it's part of sudoers, I still personally prefer to use manual registration. You use your own judgement.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2016 23:37:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113414#M22029</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-06T23:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113415#M22030</link>
      <description>&lt;P&gt;
	I just implemented the passwordless SSH and it was fairly straightforward. &lt;/P&gt;&lt;P&gt;
	I mostly used the steps at 
	&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_set_up_password-less_ssh.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_set_up_password-less_ssh.html&lt;/A&gt; as first suggested by Artem in earlier thread. (I did  a little short cut that made life a bit easier).
Here are the steps I did, with commentary on each.&lt;/P&gt;&lt;P&gt;Note: login to all hosts are as root.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On host of ambari &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;1. Create public and private keys&lt;/P&gt;&lt;PRE&gt;[ambarihost root]$ ssh-keygen&lt;/PRE&gt;&lt;P&gt;You will see the following.  Note: for each prompt I hit enter (without entering anything).  The result is that I will use the default filenames for the keys, and I will not require a password to open the private key file.  (If you want to be more secure, enter a password when prompted).&lt;/P&gt;&lt;PRE&gt;Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /Users/gkeys/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is: 
+---[RSA 2048]----+
(rest of image not shown)&lt;/PRE&gt;&lt;P&gt;Note the location of the keys created. &lt;/P&gt;&lt;P&gt;&lt;EM&gt;id_rsa.pub &lt;/EM&gt;is the ambari host's public key.  It will need to be implemented on all hosts to be deployed in the cluster (see below)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;id_rsa &lt;/EM&gt;is the ambari host's private key.  It will need to be uploaded when using the ambari wizard to deploy HDP &lt;/P&gt;&lt;P&gt;2. Write the public key into the authorized keystore &lt;EM&gt;(only needed &lt;/EM&gt;&lt;EM&gt;if ambari server will host will be part of cluster -- usually not the case in production deployments but often so in dev environments)&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[ambarihost root]$ cat ~/.ssh/d_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Loop] On each host that will be part of the HDP cluster &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;3. create .ssh dir &lt;EM&gt;(if does not exist)&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[targethost root]$ mkdir ~/.ssh&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;[End loop] 
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Back to the host of ambari &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;[Loop] Do for each host that will be part of your cluster&lt;/P&gt;&lt;P&gt;4. Remotely copy public key from ambari host to target host.  This writes the public key to target's /root/.ssh/authorized_keys file, as with step (2) but remotely.
Note: &amp;lt;remote.target.host&amp;gt; is the ip address or hostname of the target host&lt;/P&gt;&lt;PRE&gt;[ambarihost root]$ ssh-copy-id root@&amp;lt;ip address&amp;gt;&lt;/PRE&gt;&lt;P&gt;You should see the follows.  (Enter yes when prompted)&lt;/P&gt;&lt;PRE&gt;The authenticity of host '12.34.56.78 (12.34.56.78)' can't be established.
RSA key fingerprint is b1:2d:33:67:ce:35:4d:5f:f3:a8:cd:c0:c4:48:86:12.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '12.34.56.78' (RSA) to the list of known hosts.
user@12.34.56.78's password: 
Now try logging into the machine, with "ssh 'root@&amp;lt;remote.target.host&amp;gt;'", and check in:
  ~/.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.&lt;/PRE&gt;&lt;P&gt;5. Test that passwordless ssh now works, by sshing to the target host without being prompted for a password. &lt;/P&gt;&lt;PRE&gt;[ambarihost root]$ ssh root@&amp;lt;ipaddress&amp;gt;&lt;/PRE&gt;&lt;P&gt;You are successful if you are now on the target host and did not have to enter a password to get there.&lt;/P&gt;&lt;P&gt;6. To return to the ambari host, enter exit&lt;/P&gt;&lt;P&gt;[End loop]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Some versions of SSH require you to set permissions on each target host. 
If you are not successful for step 5 above, log into the target host and run &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
chmod 700 ~/.ssh&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;chmod 600 ~/.ssh/authorized_keys&lt;/P&gt;&lt;P&gt;(I did not have to do this)&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 00:00:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113415#M22030</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-07-06T00:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113416#M22031</link>
      <description>&lt;P&gt;when I enter &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ssh-copy-id root@mssubuntudev2.corp.microsoft.com&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then getting the below information. If I tried to enter/or without enter password  then getting permission denied message. I tried to login ssh to target host then asking password. confusing here please help me.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; 
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@mssubuntudev2.corp.microsoft.com's password:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 04:55:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113416#M22031</guid>
      <dc:creator>v-panare</dc:creator>
      <dc:date>2016-08-12T04:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113417#M22032</link>
      <description>&lt;P&gt;i have already password less ssh connection it is showing Automatic agent registration time out.so i opted manual registration and i started ambari-agent all my hosts and while registering its showing error&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;Registering with the server...
Registration with the server failed.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2017 23:01:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113417#M22032</guid>
      <dc:creator>sarath_devpoint</dc:creator>
      <dc:date>2017-06-13T23:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113418#M22033</link>
      <description>&lt;P&gt;I had a problem because the machine from where I ran the website in 
the browser, used a different host name then the one that was configured
 on the server. I am not using a DNS, but if the hostnames are not the 
same throught out you'll get an error like this in the logs.&lt;/P&gt;&lt;P&gt;Check always in the log file /var/log/ambari-server/ambari-server.log&lt;/P&gt;&lt;P&gt;INFO:root:BootStrapping
 hosts ['soe12-vm9.aus.stglabs.ibm.com'] using 
/usr/lib/python2.6/site-packages/ambari_server cluster primary OS: 
redhat-ppc7 with user 'root'with ssh Port '22' sshKey File 
/var/run/ambari-server/bootstrap/4/sshKey password File null using tmp 
dir /var/run/ambari-server/bootstrap/4 ambari: &amp;lt;hostname here&amp;gt;; 
server_port: 8080; ambari version: 2.5.2.0; user_run_as: root&lt;BR /&gt;INFO:root:Executing parallel bootstrap&lt;BR /&gt;ERROR:root:ERROR: Bootstrap of host &amp;lt;another hostname&amp;gt; fails because previous action finished with non-zero exit code (1)&lt;BR /&gt;ERROR MESSAGE: Connection to &amp;lt;another hostname&amp;gt; closed.&lt;/P&gt;,&lt;P&gt;I had a problem because the machine from where I ran the website in the browser, used a different host name then the one that was configured on the server. I am not using a DNS, but if the hostnames are not the same throught out you'll get an error like this in the logs.&lt;/P&gt;&lt;P&gt;Check always in the log file /var/log/ambari-server/ambari-server.log&lt;/P&gt;&lt;P&gt;INFO:root:BootStrapping hosts ['soe12-vm9.aus.stglabs.ibm.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat-ppc7 with user 'root'with ssh Port '22' sshKey File /var/run/ambari-server/bootstrap/4/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/4 ambari: &amp;lt;hostname here&amp;gt;; server_port: 8080; ambari version: 2.5.2.0; user_run_as: root&lt;BR /&gt;INFO:root:Executing parallel bootstrap&lt;BR /&gt;ERROR:root:ERROR: Bootstrap of host &amp;lt;another hostname&amp;gt; fails because previous action finished with non-zero exit code (1)&lt;BR /&gt;ERROR MESSAGE: Connection to &amp;lt;another hostname&amp;gt; closed.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 21:07:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/113418#M22033</guid>
      <dc:creator>maheshsa</dc:creator>
      <dc:date>2017-09-26T21:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Host Registration Failed - Unable to install on hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/287044#M22034</link>
      <description>&lt;P&gt;How did you resolve the issue ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 17:16:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Host-Registration-Failed-Unable-to-install-on-hosts/m-p/287044#M22034</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2020-01-07T17:16:46Z</dc:date>
    </item>
  </channel>
</rss>

