What would make ntpd hang in BSD 8?

Chuck Swiger cswiger at mac.com
Wed Feb 17 17:58:07 UTC 2010


On Feb 17, 2010, at 7:24 AM, Peter Steele wrote:
[ ... ]
> It never gets past this last log line and we have to do a kill -9 on the ntpd process. Everything is identical as far as the conf and drift files are concerned, we're using lagg interfaces on both systems. The versions of the two ntpd binaries are different-4.2.0-a for BSD 7 and 4.2.4p5 for BSD 8. I have not tried building the binary with debug mode enabled. That will probably be my next exercise. Any suggestions though in the meantime that might explain this would be appreciated.

Two different machines should have different drifts; you aren't running with /var/db/ntpd.drift unwritable, by any chance?  Otherwise, it implies ntpd never gets sync'ed so as to adjust the clock drift.  Anyway, to debug this usefully show us output from:

  ntpq -pc rv localhost
  cat /etc/ntp.conf


More information about the freebsd-questions mailing list