Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2010 09:57:43 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: What would make ntpd hang in BSD 8?
Message-ID:  <74B75245-623A-496A-BDEC-F1B1C7099619@mac.com>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB385470DB@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB385470DB@MBX03.exg5.exghost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi--

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

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?74B75245-623A-496A-BDEC-F1B1C7099619>