Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

grafana failed to start

grafana can not start and made an alert in ambari.

[root@compute-1-0 ~]# /usr/sbin/ambari-metrics-grafana restartStopping Ambari Metrics Grafana ...OK
Starting Ambari Metrics Grafana: .... FAILED

and metrics collector process failed in ambari: (see this.)

Connection failed: [Errno 111] Connection refused to compute-1-6.local:6188

Super Mentor

@Daniel Allardice

Grafana fetches data from AMS collector which runs n default port 6188. So can you please check if From the Grafana Host ambari Metrics Collector Host&port is reachable or not?

Example: From Grafana Host run the following, It will help in isolating two things

1. Grafana Host is able to resolve the hostname "compute-1-6.local" properly. (checking the /etc/hosts entry will help)

2. There is no Firewall issue which is restricting access on port 6188

telnet  compute-1-6.local    6188


And from Ambari Metrics Collector Host check if it has the correct hostname and port is opened?

# echo "On AMS host"
hostname -f
netstat -tnlpa | grep 6188
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.