Member since
04-07-2016
6
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
4264 | 04-07-2016 10:12 PM |
04-07-2016
10:12 PM
I set the Guest IP address in the port forwarding settings and restarted the VM, now it's working. (don't know why)
... View more
04-07-2016
09:11 PM
I don't think that's the reason. Doing a telnet yields "connection refused" $ telnet 127.0.0.1 8080 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
... View more
04-07-2016
08:46 PM
I check that also, but nothing is listening on port 8080 on the host machine. $ 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)
... View more
04-07-2016
06:24 PM
Hi, thanks for replying. I cannot telnet the 8080 port $ telnet 127.0.0.1 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
... View more
04-07-2016
01:59 PM
Yes I did that. ./start_ambari.sh (multiple times )
... View more
04-07-2016
11:38 AM
I am playing with hortonworks sandbox, but I am not able to get Apache Ambari to work.
As you can see, when accessing the welcome page of the Hortonworks sandbox, I get a message saying:
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
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:
[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
I checked within the Hortonworks sandbox to confirm that Ambari Server is listening to port number 8080
[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 ~]#
The iptables firewall is not running:
#service iptables status
iptables: Firewall is not running.
The port forwarding from Guest to Host is set right
Despite that port forwarding is set right, nothing is listening on port 8080 on the host machine. Telnet yields a "connection refused" error
#telnet 127.0.0.1 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
How to resolve this?
hadoop
... View more
Labels:
- Labels:
-
Apache Ambari