<?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 ambari server + REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/292970#M216399</link>
    <description>&lt;P&gt;&lt;BR /&gt;hi all&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;what could be the reason that sometimes we get - REASON: Server not yet listening on http port 8080&lt;BR /&gt;when we start the ambari server&lt;BR /&gt;and sometimes its start successfully ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ambari-server start&lt;BR /&gt;Using python /usr/bin/python&lt;BR /&gt;Starting ambari-server&lt;BR /&gt;Ambari Server running with administrator privileges.&lt;BR /&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;BR /&gt;Ambari database consistency check started...&lt;BR /&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;BR /&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;BR /&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;BR /&gt;Waiting for server start............................................................&lt;BR /&gt;DB configs consistency check: no errors and warnings were found.&lt;BR /&gt;ERROR: Exiting with exit code 1.&lt;BR /&gt;REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# ambari-server start&lt;BR /&gt;Using python /usr/bin/python&lt;BR /&gt;Starting ambari-server&lt;BR /&gt;Ambari Server running with administrator privileges.&lt;BR /&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;BR /&gt;Ambari database consistency check started...&lt;BR /&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;BR /&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;BR /&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;BR /&gt;Waiting for server start.......................................&lt;BR /&gt;Server started listening on 8080&lt;/P&gt;
&lt;P&gt;DB configs consistency check: no errors and warnings were found.&lt;BR /&gt;Ambari Server 'start' completed successfully.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 11:56:53 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2020-04-01T11:56:53Z</dc:date>
    <item>
      <title>ambari server + REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/292970#M216399</link>
      <description>&lt;P&gt;&lt;BR /&gt;hi all&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;what could be the reason that sometimes we get - REASON: Server not yet listening on http port 8080&lt;BR /&gt;when we start the ambari server&lt;BR /&gt;and sometimes its start successfully ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ambari-server start&lt;BR /&gt;Using python /usr/bin/python&lt;BR /&gt;Starting ambari-server&lt;BR /&gt;Ambari Server running with administrator privileges.&lt;BR /&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;BR /&gt;Ambari database consistency check started...&lt;BR /&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;BR /&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;BR /&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;BR /&gt;Waiting for server start............................................................&lt;BR /&gt;DB configs consistency check: no errors and warnings were found.&lt;BR /&gt;ERROR: Exiting with exit code 1.&lt;BR /&gt;REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# ambari-server start&lt;BR /&gt;Using python /usr/bin/python&lt;BR /&gt;Starting ambari-server&lt;BR /&gt;Ambari Server running with administrator privileges.&lt;BR /&gt;Organizing resource files at /var/lib/ambari-server/resources...&lt;BR /&gt;Ambari database consistency check started...&lt;BR /&gt;Server PID at: /var/run/ambari-server/ambari-server.pid&lt;BR /&gt;Server out at: /var/log/ambari-server/ambari-server.out&lt;BR /&gt;Server log at: /var/log/ambari-server/ambari-server.log&lt;BR /&gt;Waiting for server start.......................................&lt;BR /&gt;Server started listening on 8080&lt;/P&gt;
&lt;P&gt;DB configs consistency check: no errors and warnings were found.&lt;BR /&gt;Ambari Server 'start' completed successfully.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 11:56:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/292970#M216399</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-04-01T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: ambari server + REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/292974#M216403</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59349"&gt;@mike_bronson7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A good explanation for some delay is mentioned in JIRA AMBARI-20220:&lt;/P&gt;&lt;P&gt;The ambari-server start and ambari-server restart commands are currently hard coded to wait a maximum of 50 seconds for the Jetty server to bind to port 8080 (or whatever the configured port is).&lt;BR /&gt;Under normal circumstances, this value should be fine. However, since Jetty loads classes from views, the more views which are installed increases the total load time before Jetty binds to the server port.&lt;BR /&gt;There could be few other reasons like a slightly high system resource utilisation when ambari was restarting could also cause little delay in opening the ambari api port.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So you should try the following to fix this:&lt;/P&gt;&lt;P&gt;- Edit the "/etc/ambari-server/conf/ambari.properties" and increase the following property value to 120 or 150 seconds.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;server.startup.web.timeout=120&lt;/LI-CODE&gt;&lt;P&gt;- Then restart the ambari-server again.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# ambari-server restart&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;Reference:&lt;/STRONG&gt;&lt;BR /&gt;1. &lt;A href="https://issues.apache.org/jira/browse/AMBARI-20220" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-20220&lt;/A&gt;&lt;BR /&gt;2. &lt;A href="https://community.cloudera.com/t5/Support-Questions/change-the-port-for-ambari-server/m-p/214911#M176823" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/change-the-port-for-ambari-server/m-p/214911#M176823&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:10:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/292974#M216403</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2020-03-31T09:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: ambari server + REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/293058#M216454</link>
      <description>&lt;P&gt;Dear Jay , can you help me with my post -&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/how-to-use-Ambari-API-to-add-host-to-new-config-group/td-p/293016" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/how-to-use-Ambari-API-to-add-host-to-new-config-group/td-p/293016&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 09:10:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-server-REASON-Server-not-yet-listening-on-http-port/m-p/293058#M216454</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-04-01T09:10:58Z</dc:date>
    </item>
  </channel>
</rss>

