<?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: Apache Ambari not starting in hortonworks sandbox in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160556#M24623</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/4238/malijamaoui.html" nodeid="4238"&gt;@Mohamed Ali Jamaoui&lt;/A&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/527/rmolina.html" nodeid="527"&gt;@rmolina&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have seen this behavior before.   Do you have a pop-up blocker?&lt;/P&gt;&lt;P&gt;You can find the general pattern for key URLs and ids/pwd in this tutorial:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/"&gt;http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2016 03:35:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-08T03:35:37Z</dc:date>
    <item>
      <title>Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160550#M24617</link>
      <description>&lt;P&gt;
	I am playing with &lt;A href="http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/"&gt;hortonworks sandbox&lt;/A&gt;, but I am not able to get Apache Ambari to work.
&lt;/P&gt;
&lt;P&gt;
	&lt;A href="http://i.stack.imgur.com/psMKn.png"&gt;&lt;IMG src="https://ip1.i.lithium.com/d0aafe4ee17297068c827e7220dce1cf06ad644e/687474703a2f2f692e737461636b2e696d6775722e636f6d2f70734d4b6e2e706e67" alt="enter image description here" style="margin: 0px; padding: 0px; max-width: 630px;" /&gt;&lt;/A&gt;
&lt;/P&gt;
&lt;P&gt;
	As you can see, when accessing the welcome page of the Hortonworks sandbox, I get a message saying:
&lt;/P&gt;
&lt;P&gt;
	&lt;EM&gt;Service disabled by default. To enable the service you need to log in as an ambari admin. The ambari admin password can be set by ssh'ing into the vm as root as mentioned in the section "Secure Shell (SSH) Client". Once logged in as root user, execute ambari-admin-password-reset and follow the prompt&lt;/EM&gt;
&lt;/P&gt;
&lt;P&gt;
	I did that but still, when I access the link: 127.0.0.1:8080 it's not working. I checked that the ambari-server is running:
&lt;/P&gt;
&lt;PRE&gt;
[root@sandbox ~]# service ambari-server status
Using python  /usr/bin/python2
Ambari-server status
Ambari Server running
Found Ambari Server PID: 1497 at: /var/run/ambari-server/ambari-server.pid
&lt;/PRE&gt;
&lt;P&gt;
	I checked within the Hortonworks sandbox to confirm that Ambari Server is listening to port number 8080
&lt;/P&gt;
&lt;PRE&gt;
[root@sandbox ~]# netstat -anop | grep 8080 
tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      6320/java           off (0.00/0/0)
[root@sandbox ~]# 
[root@sandbox ~]# 
[root@sandbox ~]# ps aux | grep 6320
root      6320  9.0  4.9 4596612 398396 pts/0  Sl   05:28   3:43 /usr/lib/jvm/java/bin/java -server -XX:NewRatio=3 -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=60 -Dsun.zip.disableMemoryMapping=true -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -Xms512m -Xmx2048m -Djava.security.auth.login.config=/etc/ambari-server/conf/krb5JAASLogin.conf -Djava.security.krb5.conf=/etc/krb5.conf -Djavax.security.auth.useSubjectCredsOnly=false -cp /etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/share/java/postgresql-jdbc.jar org.apache.ambari.server.controller.AmbariServer
root      8750  0.0  0.0   8452   908 pts/0    S+   06:09   0:00 grep 6320
[root@sandbox ~]#
&lt;/PRE&gt;
&lt;P&gt;
	The iptables firewall is not running:
&lt;/P&gt;
&lt;PRE&gt;
#service iptables status 
iptables: Firewall is not running.
&lt;/PRE&gt;
&lt;P&gt;
	The port forwarding from Guest to Host is set right
&lt;/P&gt;
&lt;P&gt;
	&lt;A href="http://i.stack.imgur.com/lfHTH.png"&gt;&lt;IMG src="https://ip1.i.lithium.com/a97a1929a50051a3cbe39b54cb13ed72c57a0802/687474703a2f2f692e737461636b2e696d6775722e636f6d2f6c664854482e706e67" alt="enter image description here" style="margin: 0px; padding: 0px; max-width: 630px;" /&gt;&lt;/A&gt;
&lt;/P&gt;
&lt;P&gt;
	Despite that port forwarding is set right, nothing is listening on port 8080 on the host machine. Telnet yields a "connection refused" error
&lt;/P&gt;
&lt;PRE&gt;
#telnet 127.0.0.1 8080
Trying 127.0.0.1... 
telnet: Unable to connect to remote host: Connection refused
&lt;/PRE&gt;
&lt;P&gt;
	How to resolve this?
&lt;/P&gt;
&lt;P&gt;
	&lt;A href="http://stackoverflow.com/questions/tagged/hadoop"&gt;hadoop&lt;/A&gt;
&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 18:38:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160550#M24617</guid>
      <dc:creator>m_ali_jamaoui</dc:creator>
      <dc:date>2016-04-07T18:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160551#M24618</link>
      <description>&lt;P&gt;Have you tried to run the script start_ambari.sh? It's available in /root/&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 18:46:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160551#M24618</guid>
      <dc:creator>orenault</dc:creator>
      <dc:date>2016-04-07T18:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160552#M24619</link>
      <description>&lt;P&gt;Yes I did that. ./start_ambari.sh  (multiple times ) &lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 20:59:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160552#M24619</guid>
      <dc:creator>m_ali_jamaoui</dc:creator>
      <dc:date>2016-04-07T20:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160553#M24620</link>
      <description>&lt;P&gt;Could you have a proxy configured within your web browser ? &lt;/P&gt;&lt;P&gt;Can you telnet to port 8080 from your laptop as it looks like something is listening on port 8080 within the VM.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 00:16:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160553#M24620</guid>
      <dc:creator>orenault</dc:creator>
      <dc:date>2016-04-08T00:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160554#M24621</link>
      <description>&lt;P&gt;Hi, thanks for replying. I cannot telnet the 8080 port &lt;/P&gt;&lt;P&gt;$ telnet 127.0.0.1 8080&lt;/P&gt;&lt;P&gt;
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 01:24:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160554#M24621</guid>
      <dc:creator>m_ali_jamaoui</dc:creator>
      <dc:date>2016-04-08T01:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160555#M24622</link>
      <description>&lt;P&gt;you may have something already listening to 8080 port, can you do the same netstat on your Ubuntu host ?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 03:19:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160555#M24622</guid>
      <dc:creator>ledel</dc:creator>
      <dc:date>2016-04-08T03:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160556#M24623</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/4238/malijamaoui.html" nodeid="4238"&gt;@Mohamed Ali Jamaoui&lt;/A&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/527/rmolina.html" nodeid="527"&gt;@rmolina&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have seen this behavior before.   Do you have a pop-up blocker?&lt;/P&gt;&lt;P&gt;You can find the general pattern for key URLs and ids/pwd in this tutorial:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/"&gt;http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 03:35:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160556#M24623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-08T03:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160557#M24624</link>
      <description>&lt;P&gt;I check that also, but nothing is listening on port 8080 on the host machine. &lt;/P&gt;&lt;P&gt;$ sudo netstat -anop | grep 8080 
tcp        0      0 127.0.0.1:18080         0.0.0.0:*               LISTEN      25792/VirtualBox off (0.00/0/0)&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 03:46:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160557#M24624</guid>
      <dc:creator>m_ali_jamaoui</dc:creator>
      <dc:date>2016-04-08T03:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160558#M24625</link>
      <description>&lt;P&gt;I don't think that's the reason. Doing a telnet yields "connection refused"&lt;/P&gt;&lt;P&gt;$ telnet 127.0.0.1 8080&lt;/P&gt;&lt;P&gt;Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 04:11:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160558#M24625</guid>
      <dc:creator>m_ali_jamaoui</dc:creator>
      <dc:date>2016-04-08T04:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ambari not starting in hortonworks sandbox</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160559#M24626</link>
      <description>&lt;P&gt;I set the Guest IP address in the port forwarding settings and restarted the VM, now it's working. (don't know why) &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3278-screenshot-from-2016-04-07-230755.png" style="width: 639px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20721i43ABE8937973B641/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3278-screenshot-from-2016-04-07-230755.png" alt="3278-screenshot-from-2016-04-07-230755.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:59:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Ambari-not-starting-in-hortonworks-sandbox/m-p/160559#M24626</guid>
      <dc:creator>m_ali_jamaoui</dc:creator>
      <dc:date>2019-08-18T11:59:26Z</dc:date>
    </item>
  </channel>
</rss>

