From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E7YwL-0003Gg-9S for garchives@archives.gentoo.org; Tue, 23 Aug 2005 13:35:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7NDWlwm002506; Tue, 23 Aug 2005 13:32:47 GMT Received: from popmail.jettissystems.com (popmail.jettissystems.com [38.118.146.212]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7NDPSxM001661 for ; Tue, 23 Aug 2005 13:25:29 GMT Received: from [10.20.16.104] (unknown [10.20.16.104]) by popmail.jettissystems.com (Postfix) with ESMTP id A9F1E56D48D for ; Tue, 23 Aug 2005 06:26:19 -0700 (PDT) Message-ID: <430B23F6.9070706@badapple.net> Date: Tue, 23 Aug 2005 08:26:14 -0500 From: kashani User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ntp problem References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: b30bab11-cfdd-434e-a8b0-26a26237f032 X-Archives-Hash: 7e93ae3c8d3fe695e0566609fd797b3a Bruno Lustosa wrote: > Hello. I'm running ntpd as server on one of my machines, and it keeps > itself in sync with 6 time servers around the globe. The > synchronization works very well. > The problem is when I try to get the other machines on the network to > sync themselves with this one server. Most of them are running linux > (kernel 2.6.x), but some are still running windows. > Some machines can sync fine, and some don't. All of them can reach the > server (same network), and there is no firewall at all. > This is the output I get from ntpq on the machines that don't work: > > ntpq> peers > remote refid st t when poll reach delay offset jitter > ============================================================================== > timeserver 217.160.252.229 3 u 26 64 377 0.214 46927.6 716.379 > ntpq> assoc > > ind assID status conf reach auth condition last_event cnt > =========================================================== > 1 15036 9064 yes yes none reject reachable 6 > > The only differences between this one and another machines where it's > working fine are the status code (it varies a bit) and the condition > (instead of reject, sys.peer). > The ntp.conf for all machines have just: > > server 192.168.7.1 > > which is the ip address of the time server in question. > I don't know the internals of ntp. What can be wrong in my configuration? That offset looks rather large. NTP really wants to make constant small changes, not a single huge change. This is why the ntpd setup allows for an immediate sync via ntpdate before starting the daemon. To fix this I'd shut down ntpd, run ntpdate 192.168.7.1, and then start ntpd again. kashani -- gentoo-user@gentoo.org mailing list