Flume安装了ganglia后,浏览器访问显示"You don't have permission to access /ganglia/ on this server."
检查了配置:
[root@hadoop-101 ~]# cat /etc/httpd/conf.d/ganglia.conf
#
# Ganglia monitoring system php web frontend
#
Alias /ganglia /usr/share/ganglia
<Location /ganglia>
Order deny,allow
Deny from all
Allow from all
#Allow from 127.0.0.1
#Allow from ::1
# Allow from.example.com
</Location>
[root@hadoop-101 ~]#
然并卵,按照网上的要求来做,还是不能够访问,最后其他的全部注释,保留了一条“Require all granted ”再次重启httpd就可以了
#
# Ganglia monitoring system php web frontend
#
Alias /ganglia /usr/share/ganglia
<Location /ganglia>
#Order deny,allow
#Deny from all
#Allow from all
#Allow from 127.0.0.1
#Allow from ::1
# Allow from.example.com
Require all granted
</Location>
[root@hadoop-101 ~]#