<?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-agent connection refused after host reboot in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-agent-connection-refused-after-host-reboot/m-p/241213#M203017</link>
    <description>&lt;P&gt; &lt;A rel="user nofollow noopener noreferrer" href="https://community.hortonworks.com/users/1271/sheltong.html" target="_blank"&gt;Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There you have &lt;STRONG&gt;hostname -f &lt;/STRONG&gt;and &lt;STRONG&gt;/etc/hosts&lt;/STRONG&gt; outputs.&lt;/P&gt;&lt;PRE&gt;bigdata@bigdata:~$ hostname -f
bigdatapruebas.es
bigdata@bigdata:~$ sudo cat /etc/hosts
10.61.2.10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bigdatapruebas.es bigdata.adurizenergia.es bigdata.es bigdata

::1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; localhost ip6-localhost ip6-loopback
ff02::1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ip6-allnodes
ff02::02 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ip6-allrouters
bigdata@bigdata:~$
&lt;/PRE&gt;&lt;P&gt;Also script is the following one.&lt;/P&gt;&lt;PRE&gt;{
&amp;nbsp; "bigdata" : {
&amp;nbsp; &amp;nbsp; &amp;nbsp; "bigdata.es" : "bigdatapruebas.es"
&amp;nbsp; }
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It did finnaly succeded, but as it's shown on the following picture, heartbeat is still lost after &lt;STRONG&gt;sudo reboot&lt;/STRONG&gt; the system. I changed values from different try to make sure names are completly different.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108915-1558972173890.png" style="width: 1559px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13761i4338BB2DBAABBB52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108915-1558972173890.png" alt="108915-1558972173890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After &lt;STRONG&gt;sudo ambari-agent restart&lt;/STRONG&gt; command, it's recognized again and we can see stopped status and not heartbeat lost one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108924-1558972006404.png" style="width: 1524px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13762iDB5C14B2370FB375/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108924-1558972006404.png" alt="108924-1558972006404.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2019 22:18:42 GMT</pubDate>
    <dc:creator>gilandresadrian</dc:creator>
    <dc:date>2019-08-17T22:18:42Z</dc:date>
  </channel>
</rss>

