<?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 with server failed with Registration with the server failed. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118801#M55166</link>
    <description>&lt;P&gt;PLease check if you have same repo file for ambari in /etc/yum.repos.d/ folder.&lt;/P&gt;&lt;P&gt;You can copy ambari repo file from ambari server node to datanode3 and reinstall ambari agent package.&lt;/P&gt;&lt;P&gt;yum remove ambari-agent&lt;/P&gt;&lt;P&gt;yum install ambari-agent&lt;/P&gt;&lt;P&gt;This should resolve the issue.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2017 15:03:34 GMT</pubDate>
    <dc:creator>sshimpi</dc:creator>
    <dc:date>2017-02-22T15:03:34Z</dc:date>
    <item>
      <title>Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118797#M55162</link>
      <description>&lt;P&gt;Node addition failed with &lt;/P&gt;&lt;PRE&gt;Registering with the server...
Registration with the server failed.&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:41:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118797#M55162</guid>
      <dc:creator>s_ambardekar</dc:creator>
      <dc:date>2017-02-22T14:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118798#M55163</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15080/s-ambardekar.html" nodeid="15080"&gt;@Sachin Ambardekar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where do you see that error? &lt;/P&gt;&lt;P&gt;Can you please share the screenshot of the error if it is is in the UI?&lt;/P&gt;&lt;P&gt;Also do you see more detailed error inside the "/var/log/ambari-server/ambari-server.log"?    &lt;/P&gt;&lt;P&gt;If the ambari-agent is already running then on the agent host it will be good to look at "//var/log/ambari-server/ambari-agent.log"&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:43:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118798#M55163</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-02-22T14:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118799#M55164</link>
      <description>&lt;P&gt;I am getting this error while addition new node using Ambari. Uploaded ambari-server.log, ambari-agent.log and error screenshot doc.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Sachin A&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12805-nodeadditionerror.zip"&gt;nodeadditionerror.zip&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:54:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118799#M55164</guid>
      <dc:creator>s_ambardekar</dc:creator>
      <dc:date>2017-02-22T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118800#M55165</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15080/s-ambardekar.html" nodeid="15080"&gt;@Sachin Ambardekar&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Can you make sure ambari server version and agent version are same -using below command -&lt;/P&gt;&lt;P&gt;ambari-server --version  -- [ambari server]&lt;/P&gt;&lt;P&gt;ambari-agent --version   -- [datanode3]&lt;/P&gt;&lt;P&gt;Below error clearly states its version mismatch issue -&lt;/P&gt;&lt;PRE&gt;ERROR 2017-02-21 22:29:57,286 Controller.py:155 - Cannot register host with non compatible agent version, hostname=datanode3.localdomain, agentVersion=2.1.1, serverVersion=2.4.2.0&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:01:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118800#M55165</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2017-02-22T15:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118801#M55166</link>
      <description>&lt;P&gt;PLease check if you have same repo file for ambari in /etc/yum.repos.d/ folder.&lt;/P&gt;&lt;P&gt;You can copy ambari repo file from ambari server node to datanode3 and reinstall ambari agent package.&lt;/P&gt;&lt;P&gt;yum remove ambari-agent&lt;/P&gt;&lt;P&gt;yum install ambari-agent&lt;/P&gt;&lt;P&gt;This should resolve the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:03:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118801#M55166</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2017-02-22T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118802#M55167</link>
      <description>&lt;P&gt;[ambari@ambari ambari-server]$ ambari-server --version &lt;/P&gt;&lt;P&gt;2.4.2.0-136&lt;/P&gt;&lt;P&gt;[ambari@datanode3 ~]$ ambari-agent --version &lt;/P&gt;&lt;P&gt;2.1.1&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:05:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118802#M55167</guid>
      <dc:creator>s_ambardekar</dc:creator>
      <dc:date>2017-02-22T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118803#M55168</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/15080/s-ambardekar.html"&gt;@Sachin Ambardekar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;On the agent host do the following first? Then try again:&lt;/P&gt;&lt;PRE&gt;yum remove ambari-agent -y
rm -rf /etc/ambari-agent/*
rm -rf /var/lib/ambari-agent/*
rm -f /usr/sbin/ambari*
rm -f /usr/lib/python2.6/site-packages/ambari_commons
rm -rf /usr/lib/python2.6/site-packages/resource_management
rm -rf /usr/lib/python2.6/site-packages/ambari_jinja2&lt;/PRE&gt;&lt;P&gt;And then try installing agent from ambari UI. Or manually install the agent as following: &lt;/P&gt;&lt;PRE&gt;wget -nv &lt;A href="http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0/ambari.repo" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.2.0/ambari.repo&lt;/A&gt; -O /etc/yum.repos.d/ambari.repo
yum install ambari-agent -y&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 15:08:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118803#M55168</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-02-22T15:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118804#M55169</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15080/s-ambardekar.html" nodeid="15080"&gt;@Sachin Ambardekar&lt;/A&gt;&lt;P&gt;Can you uninstall ambari agent on the datanode3 and install ambari agent with same version as ambari-server on datanode3 [ie. 2.4.2.0-136]&lt;/P&gt;&lt;P&gt;Ambari agent version output should look something like -&lt;/P&gt;&lt;PRE&gt;[ambari@datanode3 ~]$ ambari-agent --version
2.4.2.0-136
&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Feb 2017 16:57:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118804#M55169</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2017-02-22T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118805#M55170</link>
      <description>&lt;P&gt;I am facing the exact same issue. Asked a new question before I saw this one.&lt;/P&gt;&lt;P&gt;For me the versions are the same, still the problem persists.&lt;/P&gt;&lt;P&gt;Could not find anything useful in the server logs or agent logs, so decided to start from zero again.&lt;/P&gt;&lt;P&gt;I removed ambari-agent from the new node and all the files and tried to install from ambari UI.&lt;/P&gt;&lt;P&gt;It errors out now. Server Log snippet below the snapshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="68522-screenshot-2.png" style="width: 572px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22962iA279A6F6D76A0C32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="68522-screenshot-2.png" alt="68522-screenshot-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Log shows the following:&lt;/P&gt;&lt;PRE&gt;
18 Apr 2018 13:22:52,496  INFO [pool-18-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/2
18 Apr 2018 13:22:52,496  INFO [pool-18-thread-1] BSHostStatusCollector:62 - HostList for polling on [ambaridn01.informatica.com]
18 Apr 2018 13:23:07,054  INFO [ambari-client-thread-39] BootStrapImpl:108 - BootStrapping hosts ambaridn01.informatica.com:
18 Apr 2018 13:23:07,055  INFO [Thread-32] BSRunner:189 - Kicking off the scheduler for polling on logs in /var/run/ambari-server/bootstrap/3
18 Apr 2018 13:23:07,055  INFO [Thread-32] BSRunner:258 - Host= ambaridn01.informatica.com bs=/usr/lib/python2.6/site-packages/ambari_server/bootstrap.py requestDir=/var/run/ambari-server/bootstrap/3 user=root sshPort=22 keyfile=/var/run/ambari-server/bootstrap/3/sshKey passwordFile null server=ip-172-31-10-185.ap-south-1.compute.internal version=2.6.1.5 serverPort=8080 userRunAs=root timeout=300
18 Apr 2018 13:23:07,055  INFO [pool-19-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/3
18 Apr 2018 13:23:07,057  INFO [pool-19-thread-1] BSHostStatusCollector:62 - HostList for polling on [ambaridn01.informatica.com]
18 Apr 2018 13:23:07,058  INFO [Thread-32] BSRunner:286 - Bootstrap output, log=/var/run/ambari-server/bootstrap/3/bootstrap.err /var/run/ambari-server/bootstrap/3/bootstrap.out at ip-172-31-10-185.ap-south-1.compute.internal
18 Apr 2018 13:23:17,057  INFO [pool-19-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/3
18 Apr 2018 13:23:17,057  INFO [pool-19-thread-1] BSHostStatusCollector:62 - HostList for polling on [ambaridn01.informatica.com]
18 Apr 2018 13:23:27,058  INFO [pool-19-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/3
18 Apr 2018 13:23:27,058  INFO [pool-19-thread-1] BSHostStatusCollector:62 - HostList for polling on [ambaridn01.informatica.com]
18 Apr 2018 13:23:28,062  INFO [Thread-32] BSRunner:310 - Script log Mesg


INFO:root:BootStrapping hosts ['ambaridn01.informatica.com'] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat7 with user 'root'with ssh Port '22' sshKey File /var/run/ambari-server/bootstrap/3/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/3 ambari: ip-172-31-10-185.ap-south-1.compute.internal; server_port: 8080; ambari version: 2.6.1.5; user_run_as: root
INFO:root:Executing parallel bootstrap
ERROR:root:ERROR: Bootstrap of host ambaridn01.informatica.com fails because previous action finished with non-zero exit code (255)
ERROR MESSAGE: Connection to ambaridn01.informatica.com closed.
STDOUT: tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified


Connection to ambaridn01.informatica.com closed.


INFO:root:Finished parallel bootstrap


18 Apr 2018 13:23:28,062  INFO [pool-19-thread-1] BSHostStatusCollector:55 - Request directory /var/run/ambari-server/bootstrap/3
18 Apr 2018 13:23:28,062  INFO [pool-19-thread-1] BSHostStatusCollector:62 - HostList for polling on [ambaridn01.informatica.com]
18 Apr 2018 13:23:38,870  INFO [ambari-hearbeat-monitor] HeartbeatMonitor:318 - KAFKA_BROKER is at INSTALLED adding more payload per agent ask
18 Apr 2018 13:24:38,948  INFO [ambari-hearbeat-monitor] HeartbeatMonitor:318 - KAFKA_BROKER is at INSTALLED adding more payload per agent ask
18 Apr 2018 13:24:47,794  INFO [ambari-heartbeat-processor-0] HeartbeatProcessor:607 - State of service component METRICS_COLLECTOR of service AMBARI_METRICS of cluster mycluster has changed from INSTALLED to STARTED at host ambariserv.informatica.com according to STATUS_COMMAND report
18 Apr 2018 13:24:59,091 ERROR [ambari-client-thread-37] MetricsRequestHelper:115 - Error getting timeline metrics : Connection refused (Connection refused)
18 Apr 2018 13:24:59,092 ERROR [ambari-client-thread-37] MetricsRequestHelper:122 - Cannot connect to collector: SocketTimeoutException for ambariserv.informatica.com
18 Apr 2018 13:25:51,885  INFO [pool-17-thread-1] MetricSinkWriteShardHostnameHashingStrategy:42 - Calculated collector shard ip-172-31-10-185.ap-south-1.compute.internal based on hostname: ip-172-31-10-185.ap-south-1.compute.internal
(
&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:43:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118805#M55170</guid>
      <dc:creator>simishra</dc:creator>
      <dc:date>2019-08-19T10:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118806#M55171</link>
      <description>&lt;P&gt;*Update*&lt;/P&gt;&lt;P&gt;It seems like hostname issue. The hostname -f command showed localhost instead of FQDN.&lt;/P&gt;&lt;P&gt;This is weird as both the hostname and hostnamectl showed FQDN.&lt;/P&gt;&lt;P&gt;Updating the hosts file did the trick. &lt;/P&gt;&lt;P&gt;So instead of &lt;/P&gt;&lt;P&gt;127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4 FQDN&lt;/P&gt;&lt;P&gt;I updated it to &lt;/P&gt;&lt;P&gt;127.0.0.1 FQDN localhost localhost.localdomain localhost4 localhost4.localdomain4 &lt;/P&gt;&lt;P&gt;This resolved the weird issue with the hostname command, and the server registraion completed successfully.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 21:10:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/118806#M55171</guid>
      <dc:creator>simishra</dc:creator>
      <dc:date>2018-04-18T21:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari host registration with server failed with Registration with the server failed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/293135#M55172</link>
      <description>&lt;P&gt;you shoul either use ssh (id_rsa) &lt;STRONG&gt;or install ambari-agent &lt;/STRONG&gt;on all hosts&lt;/P&gt;&lt;P&gt;after ambari agent is installed (change the&amp;nbsp; /etc/ambari-agent/conf/ambari-agent.ini ) and set the hostname of &lt;STRONG&gt;ambari-server machine&amp;nbsp;&lt;/STRONG&gt;for all machines&amp;nbsp;&lt;/P&gt;&lt;P&gt;then change the /etc/hosts file ( ip_of_machine1 name_of_machine1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ip_of_machine2 name_of_machine2....)&lt;/P&gt;&lt;P&gt;then ==&amp;gt; ambari-agent restart for all machines&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;trusted and tested&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 08:47:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-host-registration-with-server-failed-with/m-p/293135#M55172</guid>
      <dc:creator>oudaysaada</dc:creator>
      <dc:date>2020-04-02T08:47:38Z</dc:date>
    </item>
  </channel>
</rss>

