Re: Time off by -5 hours
email builder <[email protected]> Thu, 3 Nov 2005 22:29:15 -0800 (PST)
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Message-ID | <[email protected]> |
> > We have several servers set up with a hybrid between this: > > > > http://fte.tegtmeyer.net/djbware/clockspeed_setup.html > > > > and the very similar information at thedjbway.org, which seems to be > > offline right now. > > > > All our servers except two have the correct time; the two that are not > > correct are both off by -5 hours. I am guessing (but have no proof) that > > they lost synch during the DST time change last Sunday. > > > > I am tempted to just restart all the clockspeed stuff and see if it > > catches > > the right time (we configured the above system to get it from NTP), but > I'm > > afraid that that will mask the problem, so I am hoping someone might have > > some pointers of where this might be caused before I just try to reset > the > > time. > > > > Oh, and the timezone on the machines appears correct. > > Looking at the log files, the NTP server we chose to use in our config file > apparently has changed or is otherwise not available these days: > > sntpclock: warning: unable to read clock: timed out > sntpclock: warning: unable to read clock: timed out > sntpclock: fatal: time uncertainty too large > clockadd: fatal: data split across packets > > However, all our servers are getting this error; why would only two of them > have lost five hours? Still not found an answer to the five hour loss, but what was interesting was that when I updated our "clockctl" config file with an active NTP server (anyone have an enhanced version of this approach that allows for using a list of NTP servers so we can have some fallback?), the machine said that it had the correct time all along. As shown by the date command run just prior, that was not the case. Why/how would this happen? Here is the actual series of events: # date Thu Nov 3 17:15:59 PST 2005 # /etc/clockspeed/clockctl sync Setting system clock with master server at www.xxx.yyy.zzz: before: 2005-11-03 22:17:28.182072000000000000 after: 2005-11-03 22:17:28.182235999833472072 # date Thu Nov 3 22:17:41 PST 2005 That is rather odd, is it not? __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com