Recently after rebooting ganglia server and while accessing ganglia-webfrontend I got following error.
There was an error collecting ganglia data (127.0.0.1:8652): fsockopen error: Connection refused.
Until reboot ganglia is working without any issue.
While debugging this issue the reason I got to know is there some problem with ownership permissions to /var/lib/ganglia/rrds.
There are wrong owner and group is set for directory /var/lib/ganglia/rrds.
/var/lib/ganglia/rrds directory following user and group permissions are needed:
User: nobody
Group: root
Use following command to set above permissions
$ chown -R nobody:root /var/lib/ganglia/rrds
After updating the permissions I am able to access ganglia-webfrontend without any issue.
-Sany
Very nice!
solved the error. Thanks for the tip
I face the SAME issue but this does not solve my problem. 😦
Try restarting ganglia daemons & if possible share error details. I will try to help.
Hi shuklaalok7; I just did all you wrote here, but noting, I can’t continue, the same error:
There was an error collecting ganglia data (127.0.0.1:8652): fsockopen error: Permission denied
ping ok
iptables -F
-ganglia ~]# telnet 192.168.10.1 8652
Trying 192.168.10.1…
Connected to 192.168.10.1.
Escape character is ‘^]’.
Connection closed by foreign host.
any help?
thanks…
I run ” chown -R nobody:root /var/lib/ganglia/rrds ” from ssh and still getting the same error from I.p\ganglia.
“There was an error collecting ganglia data (127.0.0.1:8652): fsockopen error: Connection refused”
Could ant one help me in this iisue?
Thanks in advance
It might be because your disk is full.
Thanks for the solution. “chown nobody:root -R /var/lib/ganglia/rrds/ && /etc/init.d/gmetad restart” solved it.
Thanks Solved after “sudo chown nobody:root -R /var/lib/ganglia/rrds/ && service ganglia-monitor restart && sudo service gmetad restart && sudo service apache2 restart”