<?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: change the port for ambari server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214916#M72087</link>
    <description>&lt;P&gt;Use vi /etc/ambari-server/conf/ambari.properties , add the entry, then esc, then :, then wq for save and quite or q! for without saving&lt;/P&gt;,&lt;P&gt;use vi to edit and wq to save and quite or q! to exit without saving&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2018 14:36:23 GMT</pubDate>
    <dc:creator>prashuv</dc:creator>
    <dc:date>2018-11-16T14:36:23Z</dc:date>
    <item>
      <title>change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214909#M72080</link>
      <description>&lt;P&gt;when I start configuring My Ambari server, I put the port (3306): 8080, but I realize later that this port is the wrong port, so I restart My set up of My ambari service from scratch (sudo service ambari server setup) but i get this error when I want to start the service:&lt;/P&gt;&lt;PRE&gt;DB configs consistency check: no errors and warnings were found.
ERROR: Exiting with exit code 1.
REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;it seems like the 8080 port still exists.&lt;/P&gt;&lt;P&gt;How can I Force the change?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:17:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214909#M72080</guid>
      <dc:creator>sihi_yassine</dc:creator>
      <dc:date>2017-12-01T20:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214910#M72081</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/47200/sihiyassine.html" nodeid="47200"&gt;@yassine sihi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Ambari will by default run on port 8080. 3306 is default port for mysql . If you still want to use 3306 for ambari (though it is not recommended)&lt;/P&gt;&lt;P&gt;You can add this line in /etc/ambari-server/conf/ambari.properties&lt;/P&gt;&lt;PRE&gt;client.api.port=3306&lt;/PRE&gt;&lt;P&gt;Restart ambari server after doing this&lt;/P&gt;&lt;PRE&gt;ambari-server restart&lt;/PRE&gt;&lt;P&gt;Also check the logs to find out exact issue, (/var/log/ambari-server/ambari-server.log)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:21:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214910#M72081</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-12-01T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214911#M72082</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/47200/sihiyassine.html" nodeid="47200"&gt;@yassine sihi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are planning to change the ambari server port due to the following message then you should not.&lt;/P&gt;&lt;P&gt;.&lt;BR /&gt;The following error just indicates that your Ambari Server is taking slightly more than default 50 Seconds time to open port 8080 and hence you see this message.&lt;/P&gt;&lt;PRE&gt;ERROR: Exiting with exit code 1.
REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;You should try the following to fix this:&lt;BR /&gt;&lt;BR /&gt;Edit the "&lt;STRONG&gt;/etc/ambari-server/conf/ambari.properties&lt;/STRONG&gt;" and increase the following property value to 120 or 150 seconds.&lt;/P&gt;&lt;PRE&gt;server.startup.web.timeout=120 &lt;/PRE&gt;&lt;P&gt;Then restart the ambari-server again.&lt;/P&gt;&lt;PRE&gt;# ambari-server restart&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Reference:  &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;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:32:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214911#M72082</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-12-01T20:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214912#M72083</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/47200/sihiyassine.html" nodeid="47200"&gt;@yassine sihi&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also pelase see the &lt;STRONG&gt;"Fixed Issues"&lt;/STRONG&gt; section here:  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-release-notes/content/ambari_relnotes-fixed-issues.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-release-notes/content/ambari_relnotes-fixed-issues.html&lt;/A&gt;  (Search for "AMBARI-20220") &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/47200/sihiyassine.html" nodeid="47200"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2017 20:36:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214912#M72083</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-12-01T20:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214913#M72084</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; . This makes sense and I understand what is causing the error. But i have a bit of an issue in fixing it. I'm still fairly new in Linux, could you help me by specifying the exact commands i need to run in to adjust the 50 to 120. I'm attaching an image showing what i have tried and results thereof. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/56747-runtime-error.png"&gt;runtime-error.png&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:14:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214913#M72084</guid>
      <dc:creator>mn_mhlawuli</dc:creator>
      <dc:date>2018-02-14T17:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214914#M72085</link>
      <description>&lt;P&gt;How can I edit file if I am starting the VM first time and the VM did not start yet. Is there a way I can edit parameter  in the file before starting VM?&lt;/P&gt;&lt;P&gt;I am not even able to open VM, so how can I change parameters from 50 sec to 120 sec in the file suggested?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 10:53:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214914#M72085</guid>
      <dc:creator>desaigeneral</dc:creator>
      <dc:date>2018-03-20T10:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214915#M72086</link>
      <description>&lt;P&gt;Any way we can edit parameters before starting VM? I starting it first time and it is stuck on ‘ connecting ambari agent services’ . Nothing further. It really is annoying and doesn’t allow me further to work.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 10:55:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214915#M72086</guid>
      <dc:creator>desaigeneral</dc:creator>
      <dc:date>2018-03-20T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: change the port for ambari server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214916#M72087</link>
      <description>&lt;P&gt;Use vi /etc/ambari-server/conf/ambari.properties , add the entry, then esc, then :, then wq for save and quite or q! for without saving&lt;/P&gt;,&lt;P&gt;use vi to edit and wq to save and quite or q! to exit without saving&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:36:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/change-the-port-for-ambari-server/m-p/214916#M72087</guid>
      <dc:creator>prashuv</dc:creator>
      <dc:date>2018-11-16T14:36:23Z</dc:date>
    </item>
  </channel>
</rss>

