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 1EAasd-0001Lr-7i for garchives@archives.gentoo.org; Wed, 31 Aug 2005 22:16:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7VMCl3q000656; Wed, 31 Aug 2005 22:12:47 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7VM5Ycu008847 for ; Wed, 31 Aug 2005 22:05:35 GMT Received: from ylpvm29-ext.prodigy.net ([207.115.57.60] helo=ylpvm29.prodigy.net) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EAakL-00044H-DI for gentoo-user@lists.gentoo.org; Wed, 31 Aug 2005 22:07:54 +0000 Received: from pimout4-ext.prodigy.net (pimout4-int.prodigy.net [207.115.4.203]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j7VM7ebS018542 for ; Wed, 31 Aug 2005 18:07:43 -0400 X-ORBL: [68.23.148.219] Received: from sewage.raw-sewage.fake (adsl-68-23-148-219.dsl.peoril.ameritech.net [68.23.148.219]) by pimout4-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j7VM7jx6045598 for ; Wed, 31 Aug 2005 18:07:50 -0400 Received: by sewage.raw-sewage.fake (Postfix, from userid 1000) id B364452DED; Wed, 31 Aug 2005 17:13:33 -0500 (CDT) Date: Wed, 31 Aug 2005 17:13:33 -0500 From: Matt Garman To: gentoo-user Subject: [gentoo-user] extreme clock drift / openntpd won't sync Message-ID: <20050831221333.GA8710@raw-sewage.net> Mail-Followup-To: gentoo-user 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i X-Archives-Salt: d5a4afb8-7825-45cf-a547-cad946188b4e X-Archives-Hash: 1d93c2e3468f441dd534048d459a8dd2 My system clock is running extremely fast... so fast that even openntpd (apparently) can't catch up! I tried (oh how I tried) to get the "regular" ntp package to work. I could correct my clock using ntpdate, but I could never get ntpd to sync with any servers (see notes (*) below). So I got fed up with trying to get it to work, and thought I'd have better luck with openntpd (which is much simpler). As far as I can tell, openntpd *is* working, as I have many lines in my syslog that look like this: Aug 31 17:00:36 [ntpd] adjusting local clock by -344.003180s However, the clock is still drifting---not as fast as it does with no ntp daemon running, but noticeably (it's gained about 5 minutes in less than 24 hours). Note that without any ntp daemon running, my clock will gain about 10 minutes per hour! I have a hunch that whatever prevented the "regular" ntpd from syncing is preventing openntpd from properly keeping the clock in sync. So, my questions are: (1) what would cause my clock to run so fast? And (2) why can't any ntp daemon keep correct time? Thanks, Matt (*) If anyone is interested in the plight I had with ntp, here is some info: This is what my /etc/ntp.conf looked like: restrict 127.0.0.1 nomodify server pool.ntp.org prefer server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server 127.127.1.1 fudge 127.127.1.1 stratum 10 driftfile /var/lib/ntp/ntp.drift logfile /var/log/ntpd.log After starting ntpd, and waiting a while, ntpq results looked like this: ntpq> pe remote refid st t when poll reach delay offset jitter ============================================================================== frigg.interstro 138.195.130.71 3 u 21 128 377 124.592 -3950.7 1260.34 cteha.ulp.co.il 192.114.62.249 3 u 26 128 377 201.236 -4670.9 1715.95 Time4.Stupi.SE .PPS. 1 u 79 128 377 129.134 -1668.9 1996.01 Time1.Stupi.SE 193.10.7.246 2 u 21 128 377 128.697 -3962.7 1253.70 *LOCAL(1) LOCAL(1) 10 l 13 64 377 0.000 0.000 0.001 ntpq> assoc ind assID status conf reach auth condition last_event cnt =========================================================== 1 57708 9014 yes yes none reject reachable 1 2 57709 9014 yes yes none reject reachable 1 3 57710 9014 yes yes none reject reachable 1 4 57711 9014 yes yes none reject reachable 1 5 57712 9614 yes yes none sys.peer reachable 1 -- Matt Garman email at: http://raw-sewage.net/index.php?file=email -- gentoo-user@gentoo.org mailing list