<?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: abari-agent is failing to connect ambari-server? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220892#M69718</link>
    <description>&lt;P&gt;Hi Geo,&lt;/P&gt;&lt;P&gt;all the other nodes are working fine except this node and we didn't change any thing from ambari side.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 18:07:20 GMT</pubDate>
    <dc:creator>subhash_parise3</dc:creator>
    <dc:date>2017-10-16T18:07:20Z</dc:date>
    <item>
      <title>abari-agent is failing to connect ambari-server?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220890#M69716</link>
      <description>&lt;P&gt;Hi Community team,&lt;/P&gt;&lt;P&gt;Amabari-agent is failing to connect Aambari-server &lt;/P&gt;&lt;P&gt;In agent logs :&lt;/P&gt;&lt;P&gt;INFO 2017-10-16 05:50:56,334 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-10-16 05:50:56,407 main.py:287 - Connecting to Ambari server at &lt;A href="https://bdlambtst01.isus.emc.com:8440" target="_blank"&gt;https://bdlambtst01.isus.emc.com:8440&lt;/A&gt; (10.146.9.185)
INFO 2017-10-16 05:50:56,407 main.py:287 - Connecting to Ambari server at &lt;A href="https://bdlambtst01.isus.emc.com:8440" target="_blank"&gt;https://bdlambtst01.isus.emc.com:8440&lt;/A&gt; (10.146.9.185)
INFO 2017-10-16 05:50:56,407 NetUtil.py:59 - Connecting to &lt;A href="https://bdlambtst01.isus.emc.com:8440/ca" target="_blank"&gt;https://bdlambtst01.isus.emc.com:8440/ca&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in /var/log/messages:&lt;/P&gt;&lt;P&gt;Oct 16 05:49:09 bdlhdctst04 python: detected unhandled Python exception in '/usr/lib/python2.6/site-packages/ambari_agent/main.py'
Oct 16 05:50:01 bdlhdctst04 systemd: Started Session 4823 of user root.
Oct 16 05:50:01 bdlhdctst04 systemd: Starting Session 4823 of user root.
Oct 16 05:50:56 bdlhdctst04 python2.7: detected unhandled Python exception in '/usr/lib/python2.6/site-packages/ambari_agent/main.py'&lt;/P&gt;&lt;P&gt;i have verified the network connectivity is good agent --&amp;gt; server &amp;amp; server --&amp;gt; agent?&lt;/P&gt;&lt;P&gt;i have observed that there are no files are present in /var/lib/ambari-agent/data location?&lt;/P&gt;&lt;P&gt;Any help would be appreciate this situation?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhash.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 17:33:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220890#M69716</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2017-10-16T17:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: abari-agent is failing to connect ambari-server?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220891#M69717</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/1852/subhashparise36.html"&gt;subhash parise&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Your Ambari is SSL enabled did you by chance also enable 2 ways SSL between Ambari Server and Ambari Agents? see &lt;A target="_blank" href="https://ambari.apache.org/1.2.5/installing-hadoop-using-ambari/content/ambari-add-SSL-agent-server.html"&gt; doc&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here is a HCC document that can also help you achieve that.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A target="_blank" href="https://community.hortonworks.com/articles/107092/configure-2-way-ssl-between-ambari-server-and-amba.html"&gt; Enable 2 way SSL between Ambari-Server and Ambari-agents in Ambari 2.5&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 17:56:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220891#M69717</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-16T17:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: abari-agent is failing to connect ambari-server?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220892#M69718</link>
      <description>&lt;P&gt;Hi Geo,&lt;/P&gt;&lt;P&gt;all the other nodes are working fine except this node and we didn't change any thing from ambari side.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 18:07:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220892#M69718</guid>
      <dc:creator>subhash_parise3</dc:creator>
      <dc:date>2017-10-16T18:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: abari-agent is failing to connect ambari-server?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220893#M69719</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/1852/subhashparise36.html"&gt;subhash parise&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;On the offending node, do the following, bizzare thee are no files in /var/lib/ambari-agent/data: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Stop  and remove ambari-agent &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;ambari-agent stop 
yum erase ambari-agent 
rm -rf /var/lib/ambari-agent
rm -rf /var/run/ambari-agent
rm -rf /usr/lib/amrbari-agent
rm -rf /etc/ambari-agent
rm -rf /var/log/ambari-agent
rm -rf /usr/lib/python2.6/site-packages/ambari* &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Re-install the Ambari Agent &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;yum install ambari-agent
vi /etc/ambari-agent/conf/ambari-agent.ini &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Change hostname to Ambari Server &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;[server]
hostname={Ambari-server_host_FQDN}
url_port=8440
secured_url_port=8441
connect_retry_delay=10
max_reconnect_retry_delay=30 &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Restart the agent ambari-agent start &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;That should resolve the issue&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 18:48:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/abari-agent-is-failing-to-connect-ambari-server/m-p/220893#M69719</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-16T18:48:46Z</dc:date>
    </item>
  </channel>
</rss>

