openntpd not adjusting the clock
I am trying to use openntpd on a debian testing system, AMD64. My ntpd.conf file is: # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ # sample ntpd configuration file, see ntpd.conf(5) # Addresses to listen on (ntpd does not listen by default) #listen on * listen on 127.0.0.1 #listen on ::1 # sync to a single server #server ntp.example.org # use a random selection of 4 public stratum 2 servers # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers # and http://www.pool.ntp.org/ server pool.ntp.org In the daemon.log file I get messages like: Jun 26 15:59:14 riemann ntpd[13010]: adjusting local clock by 45.365711s Jun 26 16:02:55 riemann ntpd[13010]: adjusting local clock by 45.553905s Jun 26 16:04:28 riemann ntpd[13010]: adjusting local clock by 45.985322s ... The time adjustment keeps going up and up but the clock is never reset, it just continues to fall further behind. Anyone know how to fix this? Thanks, Bob -- Dr. Robert J. Jerrard, Professor of Mathematics, Concordia University College of Alberta, 7128 Ada Blvd., Edmonton, Alberta, T5B 4E4, Canada. Phone: (780) 479-9291, Fax: (780) 474-1933. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: openntpd not adjusting the clock
On Thu, Jun 26, 2008 at 11:09 PM, Robert Jerrard <[EMAIL PROTECTED]> wrote: > The time adjustment keeps going up and up but the clock is never reset, > it just continues to fall further behind. Anyone know how to fix this? > I realize that it's not exactly an answer to your question, but after days of stuffing around with openntpd, I discovered that openntpd on linux doesn't discipline the clock (versions later than 4.0 available on *BSD do, but the portable version has been stuck at 3.9 for over 2 years!) I then tried out the original ntp package instead, and it's just worked perfectly (without me so much as touching the config files) on every install I've done ever since (including dial-up machines with intermittent Internet connectivity). May I recommend you try the original? For further info, see the section on clock discipline in: http://web.archive.org/web/20050304032724/http://bradknowles.typepad.com/considered_harmful/2004/09/openntpd.html Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306106 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380737 Hope this helps, Jaime -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: openntpd not adjusting the clock
On Jun 26, 2008, at 10:44 PM, j t wrote: On Thu, Jun 26, 2008 at 11:09 PM, Robert Jerrard <[EMAIL PROTECTED]> wrote: The time adjustment keeps going up and up but the clock is never reset, it just continues to fall further behind. Anyone know how to fix this? I realize that it's not exactly an answer to your question, but after days of stuffing around with openntpd, I discovered that openntpd on linux doesn't discipline the clock (versions later than 4.0 available on *BSD do, but the portable version has been stuck at 3.9 for over 2 years!) I then tried out the original ntp package instead, and it's just worked perfectly (without me so much as touching the config files) on every install I've done ever since (including dial-up machines with intermittent Internet connectivity). May I recommend you try the original? For further info, see the section on clock discipline in: http://web.archive.org/web/20050304032724/http:// bradknowles.typepad.com/considered_harmful/2004/09/openntpd.html Also see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306106 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380737 Hope this helps, Jaime Robert, Please see the replies by Mike Bird to my questions in the thread in the debian-user list with subject "ntp not any more supported in Debian or did I miss something?" for ways to get the original ntp package from ntp.org installed on recent versions of Debian Lenny. I still haven't gotten an answer to my question as to whether original ntp is planned to be supported in Lenny when that is finally released. Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: openntpd not adjusting the clock
On Fri, Jun 27, 2008 at 6:21 AM, Rick Thomas <[EMAIL PROTECTED]> wrote: > Please see the replies by Mike Bird to my questions in the thread in the > debian-user list with subject >"ntp not any more supported in Debian or did I miss something?" > for ways to get the original ntp package from ntp.org installed on recent > versions of Debian Lenny. > > I still haven't gotten an answer to my question as to whether original ntp > is planned to be supported in Lenny when that is finally released. Oops, sorry - I forgot to mention that the original ntp has been missing from Lenny for a little while (not that the package's absence has been a problem - I've always just "wget"ted the Sid version and "dpk -i"ed it). Anyway, I've just now checked again (via your suggestion, Rick), and unless I'm greatly mistaken, it's back again - woot! woot! (see http://packages.debian.org/lenny/ntp) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: openntpd not adjusting the clock
On Fri, Jun 27, 2008 at 3:49 PM, Robert Jerrard <[EMAIL PROTECTED]> wrote: > Awesome, just got it. It installed easily, default configuration used, > and it seems to work fine. Log messages like > > Jun 27 08:32:06 riemann ntpd[17589]: time reset +161.150330 s > Jun 27 08:36:53 riemann ntpd[17589]: synchronized to 64.201.62.2, > stratum 3 > Jun 27 08:40:04 riemann ntpd[17589]: synchronized to 69.20.226.105, > stratum 2 > Jun 27 08:47:18 riemann ntpd[17589]: time reset +2.162544 s > Jun 27 08:47:18 riemann ntpd[17589]: kernel time sync status change 0001 > Jun 27 08:47:42 riemann ntpd[17589]: synchronized to 216.58.31.84, > stratum 3 > Jun 27 08:48:25 riemann ntpd[17589]: synchronized to 69.20.226.105, > stratum 2 > > Appears to be zeroing in on the time. > > Thanks, JT and Rick. With pleasure. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: openntpd not adjusting the clock
On Jun 27, 2008, at 11:43 AM, j t wrote: On Fri, Jun 27, 2008 at 3:49 PM, Robert Jerrard <[EMAIL PROTECTED]> wrote: Awesome, just got it. It installed easily, default configuration used, and it seems to work fine. Log messages like Jun 27 08:32:06 riemann ntpd[17589]: time reset +161.150330 s Jun 27 08:36:53 riemann ntpd[17589]: synchronized to 64.201.62.2, stratum 3 Jun 27 08:40:04 riemann ntpd[17589]: synchronized to 69.20.226.105, stratum 2 Jun 27 08:47:18 riemann ntpd[17589]: time reset +2.162544 s Jun 27 08:47:18 riemann ntpd[17589]: kernel time sync status change 0001 Jun 27 08:47:42 riemann ntpd[17589]: synchronized to 216.58.31.84, stratum 3 Jun 27 08:48:25 riemann ntpd[17589]: synchronized to 69.20.226.105, stratum 2 Appears to be zeroing in on the time. Thanks, JT and Rick. With pleasure. Cool! glad to help! Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: openntpd not adjusting the clock
On Jun 27, 2008, at 6:16 AM, j t wrote: On Fri, Jun 27, 2008 at 6:21 AM, Rick Thomas <[EMAIL PROTECTED]> wrote: Please see the replies by Mike Bird to my questions in the thread in the debian-user list with subject "ntp not any more supported in Debian or did I miss something?" for ways to get the original ntp package from ntp.org installed on recent versions of Debian Lenny. I still haven't gotten an answer to my question as to whether original ntp is planned to be supported in Lenny when that is finally released. Oops, sorry - I forgot to mention that the original ntp has been missing from Lenny for a little while (not that the package's absence has been a problem - I've always just "wget"ted the Sid version and "dpk -i"ed it). Anyway, I've just now checked again (via your suggestion, Rick), and unless I'm greatly mistaken, it's back again - woot! woot! (see http://packages.debian.org/lenny/ntp) Good news! I guess this answers (indirectly) my question about support in Lenny-final. Enjoy! Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]