[collectd] ntpd plugin complaining

Luboš Staněk lubek at users.sourceforge.net
Fri Oct 27 15:09:25 CEST 2006


Hi Florian,

>> I have a test log of 10 GB size due to the "ntpd plugin: getnameinfo
>> failed: ai_family not supported" IPV6 error.
>
> That'd be my fault, I'm afraid.. Why's that error occuring in your case?
> AF_INET6 should be supported by pretty much all operating systems now -
> even that evil one ;)
>

Everything I cannot handle is evil. :)


1) The system is configured for only IPV4, module ipv6 is disabled.
/etc/modprobe.conf - alias net-pf-10 off
/ets/sysconfig/network-scripts/ifcfg-<interface> - IPV6INIT=no
Module ipv6 is not loaded.
ntpd does not listen on ::#123.
Every 10 seconds collectd[*]: ntpd plugin: getnameinfo failed: ai_family
not supported.

2) The system is configured for only IPV4 although ipv6 module is not
disabled.
/etc/modprobe.conf - nothing concerning IPV6
/ets/sysconfig/network-scripts/ifcfg-<interface> - IPV6INIT=no
Module ipv6 is loaded.
ntpd listens also on ::#123.
immediately after start and every 10 seconds (the address of the server
is changing), ntpd does not complain (only "synchronized" messages):

Oct 27 14:56:03 ls collectd[23815]: ntpd plugin: getnameinfo failed:
ai_family not supported
Oct 27 14:56:03 ls collectd[23815]: ntpd plugin: getnameinfo failed:
ai_family not supported
Oct 27 14:56:03 ls collectd[23815]: rrd_update failed:
ntpd/time_offset-0.0.0.0.rrd: illegal attempt to update using time
1161953762 when last update time is 1161953762 (minimum one second step)
Oct 27 14:56:03 ls collectd[23815]: rrd_update failed:
ntpd/time_dispersion-0.0.0.0.rrd: illegal attempt to update using time
1161953762 when last update time
is 1161953762 (minimum one second step)
Oct 27 14:56:03 ls collectd[23815]: rrd_update failed:
ntpd/delay-0.0.0.0.rrd:
illegal attempt to update using time 1161953762 when last update time is
1161953762 (minimum one second step)


Best regards,
Lubos



More information about the collectd mailing list