Ambari-server started successfully, but the page cannot be accessed
Bo Liang
Links: http://www.zhihu.com/question/34405898/answer/115001510
Source: Know
Copyright belongs to the author, please contact the author for authorization.
1. Enter the Nproc command at the command line first.
[Email protected] var]# Nproc
64
Get this number before you open the Ambari.properties file.
[email protected] var]# sudo vi/etc/ambari-server/conf/ambari.properties
Find the client.threadpool.size.max=25 and replace the number after the equal sign with powertrain to execute the number obtained by the Nproc command, as mine is 64.
Client.threadpool.size.max=64
After saving, restart Ambari.
[Email protected] var]# ambari-server restart
Re-enter the address to see the page.
Reference: Could not connect to Ambari log-on screen
2. It is also possible that the IPv6 is not disabled, causing the IPv4 device to be inaccessible.
First look at the Ambari default port 8080 is on which top.
[Email protected] sysconfig]# NETSTAT-TNLP | grep java
If it is on TCP, it is right, if it is on the TCP6, you have to disable IPv6.
Join in the/etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=1net.ipv6.conf.default.disable_ipv6=1
Run sysctl-p to apply the changes.
Apache Ambari Web page Unreachable workaround