Hi,
I've been trying to make ganglia 3.1.2 work correctly in Ubuntu 9.04 and
have had mostly success. There is only one problem that I have been unable
to solve and I'm out of ideas! I created my own init script using the
ubuntu-provided skeleton as a guideline, and the scripts work when called.
Now when it came to adding gmond and gmetad to the boot sequence, I used:
sudo update-rc.d gmond defaults
sudo update-rc.d gmetad defaults
Now when I reboot ubuntu, what happens is that gmetad gets loaded and
everything, but gmond doesn't get loaded. I need to manually invoke the
gmond script for it to work, which is OK but is not as automatic as it
should, of course. I looked at /var/log/daemon.log and found the following
error message related to gmond:
/usr/sbin/gmond[1956]: Error creating multicast server
mcast_join=239.2.11.71 port=8649 mcast_if=NULL family='inet4'. Exiting.
This error message does not show up when calling gmond when everything is
loaded (i.e. by opening a terminal and doing /etc/init.d/./gmond start or
invoke-rc.d /etc/init.d/gmond start). It seemed to me that the problem was
that gmond was being called too early. I then tried manually setting the
gmond initialization script to be the last one executed by doing
update-rc.d gmond start 99 2 3 4 5 . stop 20 0 1 6 .
But this only gives me the same problem. Gmond doesn't get loaded at
startup. I tried using the init script from the ganglia-monitor package from
ubuntu (which is actually from an older version of ganglia), but that didn't
work. Did I forget something stupid? What am I doing wrong?
Thanks!
David
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general