[root@BDFCLSM1 admin]# yum install ambari-server
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.mirror.transip.nl
* extras: centos.mirror.transip.nl
No package ambari-server available. Error: Nothing to do
[root@BDFCLSM1 admin]# wget http://public-repo-1.hortonworks.com/ambari/centos7/2.4/updates/22.214.171.124/ambari.repo -O /etc/yum.repos.d/ambari.repo
--2016-04-06 10:22:16-- http://public-repo-1.hortonworks.com/ambari/centos7/2.4/updates/126.96.36.199/ambari.repo
Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 188.8.131.52, 184.108.40.206, 220.127.116.11, ...
Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|18.104.22.168|:80... connected.
HTTP request sent, awaiting response... 404 Not Found 2016-04-06 10:22:17 ERROR 404: Not Found.
Could you do a netstat to check what port Ambari is running on, should be 8080. If it's listening you probably have a firewall policy blocking you somewhere. Check the ambari logs as well to make sure nothing is wrong there.
Resolving s3.amazonaws.com (s3.amazonaws.com)... 22.214.171.124 Connecting to s3.amazonaws.com (s3.amazonaws.com)|126.96.36.199|:80... connected.
HTTP request sent, awaiting response... 404 Not Found 2016-04-06 11:09:53
ERROR 404: Not Found.
Just paste the below entry in the /etc/yum.repos.d/ambari.repo and save it.
name=ambari-188.8.131.52 - Updates
This can happen. What would be useful to troubleshoot is the output in /var/log/ambari-server/ambari-server.out/.log Could you let us know if you see anything unusual in both files? Most common reason is the connection to the database, but as in your case the UI seems not to come up at all, it could be something different.
Yes, having the logs would help. While network issues could be the primary cause, we should also see if for some reason there is a possibility of deadlock.