<?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: Cluster installation - The inspector failed to run on all hosts. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31436#M527</link>
    <description>&lt;P&gt;Can you clarify what problem you are seeing? &amp;nbsp;If CM cannot communcate with the agent, verify that you can use curl or similar tool to use the hostname for that host shown in Cloudera Manager to connect to port 9000 on the remote node. &amp;nbsp;Cloudera Manager must be able to do a heartbeat request to that agent's host on port 9000 in order for that host to be considered healthy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the agent cannot heartbeat to Cloudera Manager, then verify that the "server_host" setting in /etc/cloudera-scm-agent/config.ini shows Cloudera Manager's hostname and that you can connect from the agent's host to Cloudera Manager's host on port 7182 (this is the port that the Agent uses to send heartbeats to CM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, the hosts file should appear with:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;IP &amp;nbsp; FQDN &amp;nbsp;hostname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you make any changes in the agent configuration or the hosts file, use this to restart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;service cloudera-scm-agent restart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the above check out and the hostnames being reported by your agents are accessible to Cloudera Manager, then the hostnames should be less relevant at this stage (until you get to kerberos, ssl, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are having a problem, please make sure to include exactly what you are seeing and a snippet from the log file if possible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM: /var/log/cloudera-scm-server/cloudera-scm-server.log&lt;/P&gt;&lt;P&gt;Agent: /var/log/cloudera-scm-agent/cloudera-scm-agent.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two very common factors that can block communication between CM and Agent are firewall (iptables) and selinux. &amp;nbsp;As far as I know selinux is not installed by default on Ubuntu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2015 16:22:13 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2015-09-01T16:22:13Z</dc:date>
    <item>
      <title>Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2923#M520</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm doing a basic cluster installation using Cloudera Standard 4 on CentOS 6.3 64 and it does not work... &amp;nbsp;Here is what I'm doing:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I run ./&lt;SPAN&gt;cloudera-manager-installer.bin and go to&amp;nbsp;&lt;A href="http://132.207.67.11:7180/" target="_blank" rel="noopener"&gt;http://132.207.67.11:7180/&lt;/A&gt; to continue the installation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2. Then I follow the wizard and add the host&amp;nbsp;&lt;SPAN&gt;132.207.67.11 to the cluster installation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;3. The cluster installation on this host is successful but I find it strange that the IP is changed to 127.0.0.1.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;4. But anyway, I continue and install the parcels.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;5. And then at the hosts inspection I get this:&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;Cluster Installation&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="wizard-step"&gt;
&lt;DIV&gt;Inspect hosts for correctness&amp;nbsp; &amp;nbsp;Run Again&lt;/DIV&gt;
&lt;DIV class="inspectorData"&gt;Validations
&lt;DIV class="tableContainer"&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;A href="http://132.207.67.11:7180/cmf/express-wizard/resume" target="_blank" rel="noopener"&gt;Inspector failed on the following hosts...&amp;nbsp;&lt;/A&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;homer.larim.polymtl.ca: IOException thrown while collecting data from host: Connection refused&lt;/LI&gt;
&lt;/UL&gt;
Inspector ran on 0 hosts.&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;The inspector failed to run on all hosts.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;0 hosts are running CDH3 and 1 hosts are running CDH4.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;All checked hosts are running the same version of components.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;All managed hosts have consistent versions of Java.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;All checked Cloudera Management Daemons versions are consistent with the server.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;All checked Cloudera Management Agents versions are consistent with the server.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And from the log file&amp;nbsp;&lt;SPAN&gt;cloudera-scm-agent.out&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[06/Nov/2013 09:45:45 +0000] 21416 MainThread agent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INFO &amp;nbsp; &amp;nbsp; SCM Agent Version: 4.7.3&lt;/P&gt;
&lt;P&gt;[06/Nov/2013 09:45:45 +0000] 21416 MainThread agent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INFO &amp;nbsp; &amp;nbsp; Using directory: /var/run/cloudera-scm-agent&lt;/P&gt;
&lt;P&gt;[06/Nov/2013 09:45:45 +0000] 21416 MainThread agent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INFO &amp;nbsp; &amp;nbsp; Using supervisor binary path: /usr/lib64/cmf/agent/src/cmf/../../build/env/bin/supervisord&lt;/P&gt;
&lt;P&gt;[06/Nov/2013 09:45:45 +0000] 21416 MainThread agent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WARNING&amp;nbsp; Agent is running on 127.0.0.1 (localhost). This is a misconfiguration for multi-machine clusters. Check your hostname settings.&lt;/P&gt;
&lt;P&gt;[06/Nov/2013 09:45:45 +0000] 21416 MainThread agent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INFO &amp;nbsp; &amp;nbsp; Adding env vars that start with CMF_AGENT_&lt;/P&gt;
&lt;P&gt;[06/Nov/2013 09:45:45 +0000] 21416 MainThread agent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INFO &amp;nbsp; &amp;nbsp; Logging to /var/log/cloudera-scm-agent/cloudera-scm-agent.log&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is it using 127.0.0.1. &amp;nbsp;I'm always using FQDN name and the name resolution is made by DNS. &amp;nbsp;Just the be sure, here is the content of my hosts file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;127.0.0.1 &amp;nbsp; &amp;nbsp; &amp;nbsp; localhost.localdomain &amp;nbsp; localhost&lt;/P&gt;
&lt;P&gt;::1 &amp;nbsp; &amp;nbsp; homer.larim.polymtl.ca&amp;nbsp; homer &amp;nbsp; localhost6.localdomain6 localhost6&lt;/P&gt;
&lt;P&gt;132.207.67.11 &amp;nbsp; homer.larim.polymtl.ca&amp;nbsp; homer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I'm a bit baffled by the problem since I'm doing a vanilla installation with all the default value. &amp;nbsp;Can anybody help me?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot...&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 18:50:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2923#M520</guid>
      <dc:creator>foxz88</dc:creator>
      <dc:date>2022-09-19T18:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2925#M521</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Ok I found the solution. &amp;nbsp;I modified the hosts file for the following ( remove the FQDN for localhost &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;127.0.0.1 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;localhost&lt;/P&gt;&lt;P&gt;::1&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;localhost6&lt;/P&gt;&lt;P&gt;132.207.67.11&amp;nbsp;&amp;nbsp;&amp;nbsp;homer.larim.polymtl.ca&amp;nbsp;&amp;nbsp;homer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Removed an entry to avoid any confusion.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Nov 2013 14:10:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2925#M521</guid>
      <dc:creator>foxz88</dc:creator>
      <dc:date>2013-11-07T14:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2939#M522</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/1379"&gt;@foxz88&lt;/a&gt;&amp;nbsp;this is odd as the FQDN for the "localhost" loopback address should not affect anything with your actual host's FQDN or IP. &amp;nbsp;Can you take a look at what is returned from the "hostname" command? &amp;nbsp;I suspect your host is configured to call itself "localhost.localdomain" and that's why your services were trying to bind to that hostname and also why removing that from /etc/hosts freed you up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file /etc/sysconfig/network should contain a "HOSTNAME=" tag, which in your case should be listed as "homer.&lt;SPAN&gt;larim.polymtl.ca" in order for your services to work properly. &amp;nbsp;Note: it will require a reboot after you change that file in order for the new hostname to take effect.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 21:38:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2939#M522</guid>
      <dc:creator>Clint</dc:creator>
      <dc:date>2013-11-06T21:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2963#M523</link>
      <description>&lt;P&gt;Hi Clint,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@homer /]# hostname&lt;/P&gt;&lt;P&gt;homer.larim.polymtl.ca&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@homer /]# cat /etc/sysconfig/network&lt;/P&gt;&lt;P&gt;HOSTNAME=homer.larim.polymtl.ca&lt;/P&gt;&lt;P&gt;NETWORKING=yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's why I was confused with the problem because everything was resolving properly. &amp;nbsp;Anyway, since I was using Centos, I installed Ubuntu in a virtual machine to see if I had the same problem. &amp;nbsp;The installation completed successfully so I compared the Ubuntu /etc/hosts file with the CentOS one and noticed the difference for the localhost entries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the modification on all my Centos hosts and everything installed correctly...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2013 14:08:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/2963#M523</guid>
      <dc:creator>foxz88</dc:creator>
      <dc:date>2013-11-07T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31379#M524</link>
      <description>&lt;P&gt;Clint and Fox88:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am so glad to see this thread. I had the same problem but it is still not resolved. mine is on AWS/EC2 ubuntu 12.04 and cloudera manager 5.02&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is no clear to me how ip laid out in hosts file.&amp;nbsp;&amp;nbsp;I provide all my dns and ip info on my EC2 instances, tell me how my hosts file should look like.&lt;/P&gt;&lt;P&gt;public ip&amp;nbsp;54.186.89.67&lt;/P&gt;&lt;P&gt;public DNS&amp;nbsp;ec2-54-186-89-67.us-west-2.compute.amazonaws.com&lt;/P&gt;&lt;P&gt;private ip&amp;nbsp;172.31.9.3&lt;/P&gt;&lt;P&gt;private DNS&amp;nbsp;ip-172-31-9-3.us-west-2.compute.internal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the pbulic IP should be the first column, and public DNS, then what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the Cloudera doc has an example to descript /etc/hosts as following, but it never work for me.&lt;/P&gt;&lt;P&gt;127.0.0.1 localhost.localdomainlcoalhost&lt;/P&gt;&lt;P&gt;192.168.1.1 &amp;nbsp; cluster-01.example.com &amp;nbsp; cluster-01&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I struggled with this hosts file, saw too many different ways to set this hosts file, however, no one wored for me yet:(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help. thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 05:53:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31379#M524</guid>
      <dc:creator>robi</dc:creator>
      <dc:date>2015-08-31T05:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31400#M525</link>
      <description>&lt;P&gt;Any one can help with this issues? I am stuck by this issues, no matter how modify this /etc/hosts file, then reboot my instances, I always get the same error.&lt;/P&gt;&lt;P&gt;I tried follwoing, it dont work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;127.0.0.1 localhost.localdomainlocalhost&lt;BR /&gt;52.88.118.48 ec2-52-88-118-48.us-west-2.compute.amazonaws.com ip-172-31-0-146.us-west-2.compute.internal&lt;BR /&gt;52.26.227.159 ec2-52-26-227-159.us-west-2.compute.amazonaws.com ip-172-31-0-147.us-west-2.compute.internal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;127.0.0.1 localhost.localdomainlocalhost&lt;BR /&gt;52.88.118.48 ec2-52-88-118-48.us-west-2.compute.amazonaws.com ip-172-31-0-146&lt;BR /&gt;52.26.227.159 ec2-52-26-227-159.us-west-2.compute.amazonaws.com ip-172-31-0-147&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;127.0.0.1 localhost.localdomainlocalhost&lt;BR /&gt;52.88.118.48 ec2-52-88-118-48.us-west-2.compute.amazonaws.com&amp;nbsp;&lt;SPAN&gt;ec2-52-88-118-48&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;52.26.227.159 &lt;SPAN&gt;ec2-52-88-118-48&lt;/SPAN&gt;-159.us-west-2.compute.amazonaws.com&amp;nbsp;&lt;SPAN&gt;ec2-52-88-118-48&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;none of them worked, what is wrong with these hosts file??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 00:00:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31400#M525</guid>
      <dc:creator>robi</dc:creator>
      <dc:date>2015-09-01T00:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31403#M526</link>
      <description>&lt;P&gt;HI Clint,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I am still installing Cloudera Manager 5 on EC2 ubuntu 12.04 LTS, but my /etc/sysconf/network file just dont have any tag like 'HOSTNAME='.&lt;/P&gt;&lt;P&gt;Do I have to modify this file to fix the 'Failed to receive heartbeat from agent' ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I notice, there is no way to disable selinux=disabled as I could not find /etc/sysctl.conf file on my ubuntu. I wonder because I security group set 'anywhere' for all access. please correct me if I am wong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. there is no way to check on iptables start/stop/status on these EC2 ubuntu instances, is this normal to ubuntu?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The doc of troubleshooting dont have much info from cloudera, I am very dispointed as I could not find any answer for my questions so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could not find a simple sample of /etc/hosts file either. please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 06:35:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31403#M526</guid>
      <dc:creator>robi</dc:creator>
      <dc:date>2015-09-01T06:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31436#M527</link>
      <description>&lt;P&gt;Can you clarify what problem you are seeing? &amp;nbsp;If CM cannot communcate with the agent, verify that you can use curl or similar tool to use the hostname for that host shown in Cloudera Manager to connect to port 9000 on the remote node. &amp;nbsp;Cloudera Manager must be able to do a heartbeat request to that agent's host on port 9000 in order for that host to be considered healthy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the agent cannot heartbeat to Cloudera Manager, then verify that the "server_host" setting in /etc/cloudera-scm-agent/config.ini shows Cloudera Manager's hostname and that you can connect from the agent's host to Cloudera Manager's host on port 7182 (this is the port that the Agent uses to send heartbeats to CM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, the hosts file should appear with:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;IP &amp;nbsp; FQDN &amp;nbsp;hostname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you make any changes in the agent configuration or the hosts file, use this to restart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;service cloudera-scm-agent restart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the above check out and the hostnames being reported by your agents are accessible to Cloudera Manager, then the hostnames should be less relevant at this stage (until you get to kerberos, ssl, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are having a problem, please make sure to include exactly what you are seeing and a snippet from the log file if possible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM: /var/log/cloudera-scm-server/cloudera-scm-server.log&lt;/P&gt;&lt;P&gt;Agent: /var/log/cloudera-scm-agent/cloudera-scm-agent.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two very common factors that can block communication between CM and Agent are firewall (iptables) and selinux. &amp;nbsp;As far as I know selinux is not installed by default on Ubuntu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 16:22:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31436#M527</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2015-09-01T16:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31447#M528</link>
      <description>&lt;P&gt;Thank you so much Ben for your help.&lt;/P&gt;&lt;P&gt;u&lt;/P&gt;&lt;P&gt;1. I reinstalled EC2 2 ubunt instances with&amp;nbsp;&lt;SPAN&gt;m3.large type. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .iptables disabled by sudo ufw disable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; . passwdless works in between instance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; . modified /etc/sysctl.conf to disable ipv6 as well as in /etc/hosts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; . download cloudera manager 5.2. my cluster is 2 nodes on EC2 unbuntu 12.04 LTS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; . my hosts file look like following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;FONT color="#000080"&gt;&amp;nbsp;127.0.0.1 localhost&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp; &amp;nbsp; 52.88.149.30 ec2-52-88-149-30.us-west-2.compute.amazonaws.com 172.31.33.55 ip-172-31-33-55&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&amp;nbsp; &amp;nbsp; 52.88.152.243 ec2-52-88-152-243.us-west-2.compute.amazonaws.com 172.31.33.56 ip-172-31-33-56&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Install CM and never make it so far. alwasy failed to receive heartbeat from agent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have check the cloudera-scm-server and cloudera-scm-agent log file as you suggested. I copied and pasted the error part in these files as following&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;-----in the cloudera-scm-agent.log we got timeout &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[01/Sep/2015 22:36:41 +0000] 2532 HTTPServer Thread-2 _cplogging INFO [01/Sep/2015:22:36:41] ENGINE Stopped thread '_TimeoutMonitor'.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[01/Sep/2015 22:36:41 +0000] 2532 HTTPServer Thread-2 _cplogging INFO [01/Sep/2015:22:36:41] ENGINE Bus STOPPED&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[01/Sep/2015 22:36:41 +0000] 2532 HTTPServer Thread-2 _cplogging INFO [01/Sep/2015:22:36:41] ENGINE Bus EXITING&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[01/Sep/2015 22:36:41 +0000] 2532 HTTPServer Thread-2 _cplogging INFO [01/Sep/2015:22:36:41] ENGINE Bus EXITED&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;------in the supervisord.log, the part repleat many times in log file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:29,698 CRIT Supervisor running as root (no user in config file)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:29,734 INFO RPC interface 'supervisor' initialized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:29,735 INFO RPC interface 'supervisor' initialized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:29,738 INFO daemonizing the supervisord process&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:29,739 INFO supervisord started with pid 7173&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:30,746 INFO spawned: 'cmflistener' with pid 7174&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:43:31,881 INFO success: cmflistener entered RUNNING state, process has stayed up for &amp;gt; than 1 seconds (startsecs)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:49:01,744 INFO exited: cmflistener (terminated by SIGTERM; not expected)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;2015-09-01 19:49:01,744 WARN received SIGTERM indicating exit request&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;-------in the cmf-listener.log file &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[01/Sep/2015 22:19:11 +0000] 942 MainThread supervisor_listener INFO Starting event listener as pid 942&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;[01/Sep/2015 22:19:12 +0000] 942 MainThread supervisor_listener INFO Cannot open agent FIFO (agent probably dead), dropping event&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;I know everyone is very busy these days, I apprecite your precise time. please take a look and give me some clue to finish this cloudera manager installation.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 22:57:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/31447#M528</guid>
      <dc:creator>robi</dc:creator>
      <dc:date>2015-09-01T22:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/35162#M529</link>
      <description>&lt;P&gt;I have resolved my issue by switching off the iptables, 'firewalld' if its a centos 7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I know its way too late for any reply on this chain but i thougth it might help some one else cause i don't see any relevant solution on this forum neither on google.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2015 14:26:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/35162#M529</guid>
      <dc:creator>rvee</dc:creator>
      <dc:date>2015-12-13T14:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/37445#M531</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was interested in this threat since I encountered similar issues in a simple cluster config.&lt;/P&gt;&lt;P&gt;I'm using CM5 on CentOS 7.2&lt;/P&gt;&lt;P&gt;The host inspector gave :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;master1.domain; worker[1-3].domain: IOException thrown while collecting data from host: Connection refused&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The point is that each hosts is using a public IP address on eth0 and a private IP address on eth1.&lt;/P&gt;&lt;P&gt;As you can guess, I want my cluster to use the internal IP only.&lt;/P&gt;&lt;P&gt;I tried several things (between each stage, I restarted cloudera-scm-agent to make sure the modification is taken into account)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- I tried to make some modifications to my /etc/hosts to precise public FQDN for public IP&amp;nbsp;==&amp;gt; FAIL&lt;/P&gt;&lt;P&gt;2 - I tried to use /etc/cloudera-scm/agent/config.ini , listening_ip to listen ONLY on the private IP ==&amp;gt; FAIL&lt;/P&gt;&lt;P&gt;3 - I tried to&amp;nbsp;use /etc/cloudera-scm/agent/config.ini , listening_hostname to listen ONLY on the hostname associated with the private interface&amp;nbsp;==&amp;gt; FAIL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this stage, I can say, Cloudera agent is listening only on private interface (lsof confirmed) bue the inspector does not seem to focus on this&lt;/P&gt;&lt;P&gt;4 - I shut down eth0 (public interface) to disable multiple&amp;nbsp;hostnames &amp;nbsp;==&amp;gt; SUCCESS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this stage, I wondered why 3 fails and 4 succeeded. I think this is due to the python script below used to detect the hostname instead of using the cloudera config file :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;python -c 'import socket; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;print socket.getfqdn(), \&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;socket.gethostbyname(socket.getfqdn())'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;This script seem to give the fqdn&amp;nbsp;for eth0 first so no luck for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Not sure this is the solution but the trick worked for me. It could make sense if Cloudera staff review the inspector code and make sure python code know how to use the config file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 13:49:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/37445#M531</guid>
      <dc:creator>asterix</dc:creator>
      <dc:date>2016-02-14T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/63502#M532</link>
      <description>&lt;P&gt;this fixed my problem with /etc/hosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#internal.ip local.hostname&lt;BR /&gt;192.168.1.2 testserver&lt;BR /&gt;192.168.1.3 testnode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#public.ip public.hostname&lt;/P&gt;&lt;P&gt;#&lt;A href="https://www.whatismyip.com/reverse-dns-lookup/" target="_blank"&gt;https://www.whatismyip.com/reverse-dns-lookup/&lt;/A&gt;&lt;BR /&gt;x.x.x.x testserver.wherever.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this helps someone else.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 19:00:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/63502#M532</guid>
      <dc:creator>vibe</dc:creator>
      <dc:date>2018-01-09T19:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster installation - The inspector failed to run on all hosts.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/64594#M533</link>
      <description>&lt;P&gt;try add allow port on firewalld on host, this solved my prob&lt;/P&gt;&lt;P&gt;$ firewall-cmd --zone=public --add-port=9000/tcp&lt;/P&gt;&lt;P&gt;(Centos7)&lt;/P&gt;&lt;P&gt;or&amp;nbsp;$ service firewalld disable&lt;/P&gt;&lt;P&gt;Hope this may help&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 08:37:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cluster-installation-The-inspector-failed-to-run-on-all/m-p/64594#M533</guid>
      <dc:creator>resolution</dc:creator>
      <dc:date>2018-02-14T08:37:47Z</dc:date>
    </item>
  </channel>
</rss>

