Created 11-07-2016 06:02 PM
Hi, i installed the ambari-server on the sandbox and am getting the above error when trying to add a node. I gave the sandbox a static ip address. The following command " netstat -nap | grep 8080" gives this output
tcp6 0 0 :::8080 :::* LISTEN 3180/docker-proxy tcp6 0 0 :::18080 :::* LISTEN 2959/docker-proxy Even when i change the static ip i get the same error. I can ssh into the node no problem.
Created 11-08-2016 08:49 PM
Hi @jss i solved it by editing /etc/ambari-server/conf/ambari.properties and changng the port number. it worked, thank you for your time, it helped alot
Created 11-08-2016 06:31 PM
Can you please let me know the step by step process you trying to add a node to the existing ambari-server ?
Created 11-08-2016 07:06 PM
Hi, i followed this tutorial
on top of the sandbox, maybe thats the problem
I didnt follow step 5, the local repositories.
I have given the sandbox and the node static ip addresses and they can access each other and the internet no problem, both are vms
I can ssh without password to the host i want to add and i am using Centos7.
Created 11-08-2016 07:25 PM
In your output i see that the port 8080 is being consumed by PID "3180" , Is that your Ambari Server PID ? Or can you please check which process is that which is consuming the port 8080 (which is default ambari port).
Just for testing can you please try try the following steps to isolate the issue:
1. Stop ambari-server
ambari-server stop
2. Check if the port 8080 is being consumed
netstat -tnlpa | grep 8080
3. If the port 8080 is still being consumed then we will need to find that process and need to make sure that it runs on some other port.
4. If port 8080 is not being used then we can try starting ambari-server and tail to ambari-server.log to see if we still get the mentioned error or not?
ambari-server start
.
Created 11-08-2016 08:12 PM
Hi, thanks for the reply. I stopped the server, closed my browsers and ran that command and got the following output
[root@sandbox ~]# netstat -tnlpa | grep 8080 tcp6 0 0 :::8080 :::* LISTEN 3124/docker-proxy tcp6 0 0 :::18080 :::* LISTEN 2916/docker-proxy
Created 11-08-2016 08:15 PM
looks like ipv6? I will disable ipv6 and reboot, might help
Created 11-08-2016 08:28 PM
it didnt help 😞
Created 11-08-2016 08:49 PM
Hi @jss i solved it by editing /etc/ambari-server/conf/ambari.properties and changng the port number. it worked, thank you for your time, it helped alot