<?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: Problem during installation receiving heartbeat from agent in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1211#M176</link>
    <description>&lt;P&gt;Thank you for all of your help! &amp;nbsp;I'm on Ubuntu, so no&amp;nbsp;&lt;SPAN&gt;/etc/sysconfig/network file. &amp;nbsp;However, I did add "&lt;SPAN&gt;IP &amp;nbsp; &amp;nbsp; FQDN &amp;nbsp; &amp;nbsp;shortname" into the hosts file which seemed to solve the hostname -f issue. &amp;nbsp;I then ran the 3rd command successfully. &amp;nbsp;Then when I went back to the GUI to setup the hosts, it said that the host already existed on the machine, so I just added the parcels to that machine. &amp;nbsp;I am now to the point where everything appears to be installed and I'm configuring/fixing the health. &amp;nbsp;Thank you so much for your help!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;-Meredith&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2013 18:45:27 GMT</pubDate>
    <dc:creator>MW</dc:creator>
    <dc:date>2013-09-03T18:45:27Z</dc:date>
    <item>
      <title>Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1109#M171</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;I ran into an issue when installing the CDH cluster. I'm trying to install on a single machine. I selected the machine, parcels and am trying to do it as root. At the end of the installation I receiving the following error messages:&lt;BR /&gt;"Installation failed. Failed to receive heartbeat from agent.&lt;BR /&gt;Ensure that the host's hostname is configured properly.&lt;BR /&gt;Ensure that port 7182 is accessible on the Cloudera Manager server (check firewall rules)."&lt;BR /&gt;&lt;BR /&gt;I've found this error in some other forums and attempted to make the changes suggested in those places.&lt;BR /&gt;&lt;BR /&gt;These are the contents of my hosts file (I've also tried it with the localhosts line commented out).&lt;BR /&gt;127.0.0.1 localhost&lt;BR /&gt;192.168.xx.xx FQDN&lt;BR /&gt;# The following lines are desirable for IPv6 capable hosts&lt;BR /&gt;::1 ip6-localhost ip6-loopback&lt;BR /&gt;fe00::0 ip6-localnet&lt;BR /&gt;ff00::0 ip6-mcastprefix&lt;BR /&gt;ff02::1 ip6-allnodes&lt;BR /&gt;ff02::2 ip6-allrouters&lt;BR /&gt;&lt;BR /&gt;This is my netstat for the port, I assume it's just Cloudera Manager listening. I did specifically open the port on the firewall.&lt;BR /&gt;netstat -ntlp | grep :7182&lt;BR /&gt;tcp 0 0 0.0.0.0:7182 0.0.0.0:* LISTEN 1861/java&lt;BR /&gt;&lt;BR /&gt;Here are the contents of cloudera-scm-agent.out:&lt;BR /&gt;[29/Aug/2013 10:24:31 +0000] 2867 MainThread agent INFO SCM Agent Version: 4.6.3&lt;BR /&gt;[29/Aug/2013 10:24:31 +0000] 2867 MainThread agent ERROR Could not determine hostname or ip address; proceeding.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1573, in parse_arguments&lt;BR /&gt;ip_address = socket.gethostbyname(fqdn)&lt;BR /&gt;gaierror: [Errno -5] No address associated with hostname&lt;BR /&gt;usage: agent.py [-h] [--agent_dir AGENT_DIR]&lt;BR /&gt;[--agent_httpd_port AGENT_HTTPD_PORT] --package_dir&lt;BR /&gt;PACKAGE_DIR [--parcel_dir PARCEL_DIR]&lt;BR /&gt;[--supervisord_path SUPERVISORD_PATH]&lt;BR /&gt;[--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]&lt;BR /&gt;[--standalone STANDALONE] [--master MASTER]&lt;BR /&gt;[--environment ENVIRONMENT] [--host_id HOST_ID]&lt;BR /&gt;[--disable_supervisord_events] --hostname HOSTNAME&lt;BR /&gt;--ip_address IP_ADDRESS [--use_tls]&lt;BR /&gt;[--client_key_file CLIENT_KEY_FILE]&lt;BR /&gt;[--client_cert_file CLIENT_CERT_FILE]&lt;BR /&gt;[--verify_cert_file VERIFY_CERT_FILE]&lt;BR /&gt;[--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]&lt;BR /&gt;[--logdir LOGDIR] [--optional_token] [--clear_agent_dir]&lt;BR /&gt;agent.py: error: argument --hostname is required&lt;BR /&gt;[29/Aug/2013 10:24:31 +0000] 2867 Dummy-1 agent INFO Stopping agent...&lt;/P&gt;&lt;P&gt;I also have the cloudera-scm-agent.log if that would be helpful. The only errors that I see in there are:&lt;BR /&gt;[28/Aug/2013 11:58:13 +0000] 25640 MainThread agent ERROR Failed to connect to newly launched supervisor. Agent will exit&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;[28/Aug/2013 11:52:44 +0000] 24811 MainThread agent INFO Trying to connect to newly launched supervisor (Attempt 4)&lt;BR /&gt;[28/Aug/2013 11:52:44 +0000] 24811 MainThread agent ERROR Failed! trying again in 1 second(s)&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Meredith&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:05:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1109#M171</guid>
      <dc:creator>MW</dc:creator>
      <dc:date>2022-09-16T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1113#M172</link>
      <description>Hi Meredith,&lt;BR /&gt;&lt;BR /&gt;Please gather the outputs of these directly from the commandline on the node in question and paste the results back here so we may compare it to your current hosts file:&lt;BR /&gt;&lt;BR /&gt;$ hostname&lt;BR /&gt;$ hostname -f&lt;BR /&gt;$ python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())'&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;--</description>
      <pubDate>Thu, 29 Aug 2013 18:21:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1113#M172</guid>
      <dc:creator>smark</dc:creator>
      <dc:date>2013-08-29T18:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1115#M173</link>
      <description>&lt;P&gt;&lt;SPAN&gt;root@Accumulo3:/var/log/cloudera-scm-agent# hostname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Accumulo3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;root@Accumulo3:/var/log/cloudera-scm-agent# hostname -f&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hostname: Name or service not known&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;root@Accumulo3:/var/log/cloudera-scm-agent# python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Accumulo3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;socket.gaierror: [Errno -5] No address associated with hostname&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 18:23:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1115#M173</guid>
      <dc:creator>MW</dc:creator>
      <dc:date>2013-08-29T18:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1117#M174</link>
      <description>&lt;P&gt;Accumulo3.local is what I currently have in the hosts file as the FQDN since it's not a networked machine. &amp;nbsp;I have tried it with just Accumulo3 as well.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 18:25:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1117#M174</guid>
      <dc:creator>MW</dc:creator>
      <dc:date>2013-08-29T18:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1125#M175</link>
      <description>&lt;P&gt;Hey Meredith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cloudera-scm-agent can't determine what this machine specifically believes its fully-qualified domain name is. The hostname -f queries that, as does the python blurb. Let's resolve that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming this is a centos/rhel machine, what do you have set in /etc/sysconfig/network for the fully-qualified domain name? It'd also be useful to add in /etc/hosts with the format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP &amp;nbsp; &amp;nbsp; FQDN &amp;nbsp; &amp;nbsp;shortname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your case has only IP and FQDN. Just ensure the shortname comes last for any entries that have them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not centos/rhel, ensure that you set hostname accordingly for your OS, then run those three commands again. Once those all return what's expected (the latter will return both FQDN and IP) we should be in a great place for you to try starting the agent again.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2013 22:53:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1125#M175</guid>
      <dc:creator>smark</dc:creator>
      <dc:date>2013-08-29T22:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1211#M176</link>
      <description>&lt;P&gt;Thank you for all of your help! &amp;nbsp;I'm on Ubuntu, so no&amp;nbsp;&lt;SPAN&gt;/etc/sysconfig/network file. &amp;nbsp;However, I did add "&lt;SPAN&gt;IP &amp;nbsp; &amp;nbsp; FQDN &amp;nbsp; &amp;nbsp;shortname" into the hosts file which seemed to solve the hostname -f issue. &amp;nbsp;I then ran the 3rd command successfully. &amp;nbsp;Then when I went back to the GUI to setup the hosts, it said that the host already existed on the machine, so I just added the parcels to that machine. &amp;nbsp;I am now to the point where everything appears to be installed and I'm configuring/fixing the health. &amp;nbsp;Thank you so much for your help!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;-Meredith&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2013 18:45:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/1211#M176</guid>
      <dc:creator>MW</dc:creator>
      <dc:date>2013-09-03T18:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/16966#M177</link>
      <description>&lt;P&gt;Excelente, despues de buscar un dia entero la solución esta es la correcta&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 20:40:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/16966#M177</guid>
      <dc:creator>desk77</dc:creator>
      <dc:date>2014-08-14T20:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem during installation receiving heartbeat from agent</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/16968#M178</link>
      <description>Que bueno que encontraste este thread entonces!</description>
      <pubDate>Thu, 14 Aug 2014 20:43:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Problem-during-installation-receiving-heartbeat-from-agent/m-p/16968#M178</guid>
      <dc:creator>smark</dc:creator>
      <dc:date>2014-08-14T20:43:20Z</dc:date>
    </item>
  </channel>
</rss>

