Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

grafana failed to start

grafana failed to start

New Contributor

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

Re: grafana failed to start

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