[ntp:questions] Missing peer bug in 4.2.7p270

Dave Hart hart at ntp.org
Sat Apr 7 02:59:04 UTC 2012


On Fri, Apr 6, 2012 at 23:09, A C <agcarver+ntp at acarver.net> wrote:
> There's an intermittent bug in 4.2.7p270 that seems to drop the last
> Internet peer during startup.  Note this bug exists in the unmodified source
> code so it's nothing to do with any of the tinkering I've done.
>
> I have two refclocks and five Internet hosts configured for a total of seven
> peers.  Once in a while, it fails to configure the last Internet peer and
> the ntpq billboard shows a missing entry as does the log file where there is
> one fewer mobilize message.  Restarting sometimes helps.  One out of every
> three or four restarts has a problem.

Most likely this is a DNS failure.  When it occurs, check your ntp.log
or syslog for a "giving up resolving host" message.  That message's
details might suggest a change to improve the situation.

Cheers,
Dave Hart


More information about the questions mailing list