On Don, 2004-04-08 at 04:20, Chris Horn wrote: > Okay, I'm completely lost on this one. I have one box that can't tell time > and I don't know what's the matter with it. > > when UTC is around Thu Apr 8 02:16:20 UTC 2004, this machine reports: > > # date -u && date > Wed Apr 7 22:16:37 UTC 2004 > Wed Apr 7 18:16:37 EDT 2004 [..] > Running '/etc/init.d/ntpdate start' does not fix the problem. Please help (and > cc: me on your reply, as I'm not subscribed)!
IIRC, ntpdate (and ntpd and chrony) will not set your clock if it is off by too much. I think by default it is 1 hour (3600 sec) for all three of them. If your clock is off by more than this amount, it is assumed that something is terribly wrong and user invention is in order. They won't dare to adjust the system clock. I can merely point you to the (quite exhaustive) documentation you get when installing ntp-doc. As quick fix, you may manually set the time to something that's reasonably close and re-run ntpdate. Oh, and... everybody suggests chrony as a far superior and more stable solution than ntpd. cu, Schnobs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]