help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] set time


From: lxnf98mm
Subject: Re: [Help-bash] set time
Date: Fri, 14 Sep 2012 13:22:22 -0500 (CDT)
User-agent: Alpine 2.00 (LRH 1167 2008-08-23)

On Fri, 14 Sep 2012, Greg Wooledge wrote:

On Fri, Sep 14, 2012 at 01:02:16PM -0500, address@hidden wrote:
i thought ntpd would automatically adjust the time even if the server is 2
hours out of sync

It will try, but NTP's approach is to be subtle about it.  It normally
calls adjtime() or adjtimex() to cause a gradual adjustment of the clock
over time.  If the system clock is so far out of tune that the kernel's
adjtimex() routine can't keep up, then you'll fall farther and farther out
of sync, even with NTP running.  (At that point, you buy a new motherboard
or something.  Been there, done that.)


i had one that bad once
i had to shutdown ntpd and put ntpdate in a cronjob till the server was replaced



reply via email to

[Prev in Thread] Current Thread [Next in Thread]