[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Interesting "Problem"



David Schleef wrote:

> On Fri, May 25, 2001 at 03:44:37PM +0200, Michel Dänzer wrote:
> > Russell Hires wrote:
> >
> > > I'm playing with the date command, trying to understand why it doesn't
> > > pick up the current time/date from ntpdate/ntpd...
> >
> > ntpdate sometimes fails when the date is too far off. Setting the date
> > manually and then running ntpdate usually works for me.
>
> I've noticed this as well, after I crash the machine really
> hard.  The RTC gets set to 1904, and ntpdate doesn't seem to handle
> times that are outside the current epoch.  Does anyone know if this
> is this a limitation or bug with ntpdate or the kernel interface for the
> real-time clock?

I just used ntpdate to set the clock to the curent UTC from 0 (jan 1 1970) with
out a problem so this problem probably isn't simply related to how far your
deviating from the time given by the server.

Andy



Reply to: