<?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 Web Server Status Bad Health in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36819#M16959</link>
    <description>&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;Hi all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;I have successfully installed Cloudera Manager 5.5.1 on a private cluster with only HDFS, YARN and Spark.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;I keep getting Health Issues every 10 - 15 minutes reporting "Web Server Status : The Cloudera Manager Agent got an unexpected response from this role's web server."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;the corresponding entry in the host 's cloudera agent is the following&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[29/Jan/2016 16:51:32 +0000] 1237 Monitor-HostMonitor throttling_logger ERROR    (30 skipped) Failed to collect NTP metrics
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/host/ntp_monitor.py", line 37, in collect
    result, stdout, stderr = self._subprocess_with_timeout(args, self._timeout)
  File "/usr/lib64/cmf/agent/src/cmf/monitor/host/ntp_monitor.py", line 30, in _subprocess_with_timeout
    return subprocess_with_timeout(args, timeout)
  File "/usr/lib64/cmf/agent/src/cmf/subprocess_timeout.py", line 49, in subprocess_with_timeout
    p = subprocess.Popen(**kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;And another one&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[29/Jan/2016 16:48:32 +0000] 1237 Monitor-GenericMonitor throttling_logger ERROR    (1 skipped) Error fetching metrics at 'http://host-hd-01.corp.nodalpoint.com:8086/jmx'
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/generic/metric_collectors.py", line 165, in collect_and_parse
    simplejson.load(opened_url))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/simplejson-2.1.2-py2.7-linux-x86_64.egg/simplejson/__init__.py", line 324, in load
    return loads(fp.read(),
  File "/usr/lib64/python2.7/socket.py", line 351, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib64/python2.7/httplib.py", line 567, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
error: [Errno 9] Bad file descriptor&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;Has anyone else noticed similar issues?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;Thank you&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:00:54 GMT</pubDate>
    <dc:creator>Postekoglou</dc:creator>
    <dc:date>2022-09-16T10:00:54Z</dc:date>
    <item>
      <title>Web Server Status Bad Health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36819#M16959</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;Hi all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;I have successfully installed Cloudera Manager 5.5.1 on a private cluster with only HDFS, YARN and Spark.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;I keep getting Health Issues every 10 - 15 minutes reporting "Web Server Status : The Cloudera Manager Agent got an unexpected response from this role's web server."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;the corresponding entry in the host 's cloudera agent is the following&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[29/Jan/2016 16:51:32 +0000] 1237 Monitor-HostMonitor throttling_logger ERROR    (30 skipped) Failed to collect NTP metrics
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/host/ntp_monitor.py", line 37, in collect
    result, stdout, stderr = self._subprocess_with_timeout(args, self._timeout)
  File "/usr/lib64/cmf/agent/src/cmf/monitor/host/ntp_monitor.py", line 30, in _subprocess_with_timeout
    return subprocess_with_timeout(args, timeout)
  File "/usr/lib64/cmf/agent/src/cmf/subprocess_timeout.py", line 49, in subprocess_with_timeout
    p = subprocess.Popen(**kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;And another one&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[29/Jan/2016 16:48:32 +0000] 1237 Monitor-GenericMonitor throttling_logger ERROR    (1 skipped) Error fetching metrics at 'http://host-hd-01.corp.nodalpoint.com:8086/jmx'
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/generic/metric_collectors.py", line 165, in collect_and_parse
    simplejson.load(opened_url))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/simplejson-2.1.2-py2.7-linux-x86_64.egg/simplejson/__init__.py", line 324, in load
    return loads(fp.read(),
  File "/usr/lib64/python2.7/socket.py", line 351, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib64/python2.7/httplib.py", line 567, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
error: [Errno 9] Bad file descriptor&lt;/PRE&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;Has anyone else noticed similar issues?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva" size="3"&gt;Thank you&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:00:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36819#M16959</guid>
      <dc:creator>Postekoglou</dc:creator>
      <dc:date>2022-09-16T10:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Web Server Status Bad Health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36866#M16960</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The first issue has to do with NTP&amp;nbsp;[1] and the second, is when the Agent attempted to read the json contents (possibly Service Monitor metrics), it encoutered an error hece the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Error fetching metrics at 'http://host-hd-01.corp.nodalpoint.com:8086/jmx'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know which for which role the health check&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is reporting - for a reference, can you attach a screenshot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="http://www.cloudera.com/documentation/enterprise/latest/topics/install_cdh_enable_ntp.html" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/latest/topics/install_cdh_enable_ntp.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 18:06:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36866#M16960</guid>
      <dc:creator>michalis</dc:creator>
      <dc:date>2016-01-30T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Web Server Status Bad Health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36894#M16961</link>
      <description>&lt;P&gt;Thank you Michalis for your quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the first issue you mention that it is related to NTP.&lt;/P&gt;&lt;P&gt;I use RHEL 7.1 for operating system which uses the chrony service by default instead of NTP.&lt;/P&gt;&lt;P&gt;Do you recommend to replace the chrony service with the ntp service?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the second issue i am providing screenshots from three different services where this issue occurs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) from the Host Monitor&lt;/P&gt;&lt;PRE&gt;[01/Feb/2016 10:44:34 +0000] 1237 Monitor-GenericMonitor throttling_logger ERROR    (8 skipped) Error fetching metrics at 'http://host-hd-01.corp.nodalpoint.com:8086/jmx'
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/generic/metric_collectors.py", line 165, in collect_and_parse
    simplejson.load(opened_url))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/simplejson-2.1.2-py2.7-linux-x86_64.egg/simplejson/__init__.py", line 324, in load
    return loads(fp.read(),
  File "/usr/lib64/python2.7/socket.py", line 351, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib64/python2.7/httplib.py", line 567, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
error: [Errno 9] Bad file descriptor&lt;/PRE&gt;&lt;P&gt;with its corresponding screenshot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/1437i33FFB133ECEB1258/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Host Monitor.png" title="Host Monitor.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) from a Yarn Node Manager&lt;/P&gt;&lt;PRE&gt;[01/Feb/2016 10:37:19 +0000] 1363 Monitor-GenericMonitor throttling_logger ERROR    (6 skipped) Error fetching metrics at 'http://host-hd-03.corp.nodalpoint.com:8042/jmx'
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/generic/metric_collectors.py", line 165, in collect_and_parse
    simplejson.load(opened_url))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/simplejson-2.1.2-py2.7-linux-x86_64.egg/simplejson/__init__.py", line 324, in load
    return loads(fp.read(),
  File "/usr/lib64/python2.7/socket.py", line 351, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib64/python2.7/httplib.py", line 567, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
error: [Errno 9] Bad file descriptor&lt;/PRE&gt;&lt;P&gt;with its corresponding screenshot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/1438i9D0670988E317BDE/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Node Manager.png" title="Node Manager.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c) and from the Name Node&lt;/P&gt;&lt;PRE&gt;[01/Feb/2016 10:53:34 +0000] 1237 Monitor-GenericMonitor throttling_logger ERROR    (1 skipped) Error fetching metrics at 'http://host-hd-01.corp.nodalpoint.com:8087/jmx'
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/monitor/generic/metric_collectors.py", line 165, in collect_and_parse
    simplejson.load(opened_url))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/simplejson-2.1.2-py2.7-linux-x86_64.egg/simplejson/__init__.py", line 324, in load
    return loads(fp.read(),
  File "/usr/lib64/python2.7/socket.py", line 351, in read
    data = self._sock.recv(rbufsize)
  File "/usr/lib64/python2.7/httplib.py", line 567, in read
    s = self.fp.read(amt)
  File "/usr/lib64/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
error: [Errno 9] Bad file descriptor&lt;/PRE&gt;&lt;P&gt;with its corresponding screenshot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/1439iF9F02293822B128F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Name Node.png" title="Name Node.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please tell me if you require any more information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filaretos&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>Mon, 01 Feb 2016 09:06:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36894#M16961</guid>
      <dc:creator>Postekoglou</dc:creator>
      <dc:date>2016-02-01T09:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Web Server Status Bad Health</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36908#M16962</link>
      <description>&lt;P&gt;The issue is resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I replaced the chrony service with the NTP service, according to Michali's recommendation, on all my hosts and all errors stopped.&lt;/P&gt;&lt;P&gt;Not only the errors which where explicitely stating "Failed to collect NTP metrics" but also all other errors. Apparently all these errors where somehow related to the inability to collect NTP metrics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 13:12:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Web-Server-Status-Bad-Health/m-p/36908#M16962</guid>
      <dc:creator>Postekoglou</dc:creator>
      <dc:date>2016-02-01T13:12:30Z</dc:date>
    </item>
  </channel>
</rss>

