Error: There was an error collecting ganglia data (127.0.0.1:8652): fsockopen error: Connection refused

Description

Sometimes Ganglia 'gmetad' daemon fails. One of the symptoms of this is getting the following error when trying to view Ganglia UI:

"There was an error collecting ganglia data (127.0.0.1:8652): fsockopen
error: Connection refused"

Action

To address this error, restart Ganglia daemons using these steps:

  • Log into the master
  • Sudo to root

su ganglia -c "rrdcached -p /tmp/rrdcached.pid \
-s apache -m 664 -l unix:/tmp/rrdcached.sock \
-s ganglia -m 777 -P FLUSH,STATS,HELP -l unix:/tmp/rrdcached.limited.sock \
-b /media/ebs2/ganglia/rrds -B" -s /bin/sh

  • rerun services

service gmond start
service gmetad start
service httpd start

 

Have more questions? Submit a request

Comments

Powered by Zendesk