[wplug] NTP and bad time sources

Eric C. Cooper ecc at cmu.edu
Fri May 23 12:40:00 EDT 2003


On Fri, May 23, 2003 at 03:01:52PM +0000, Bob Schmertz wrote:
> I'm seeing my source time get reset to wildly different times
> (usually Jan 1, 2003) for unexplained reasons, and I'd like for my
> Linux boxes not to swallow these changes, but to bail out.
> 
> If the behavior I have observed is the actual default behavior of
> NTP, does anyone know of any way of making it do something more
> reasonable on a wild reset of the source (hopefully without
> modifying the source code :-))?

1. Choose a better external source to sync with!  I've never seen a
   stratum 3 or better host reset its time the way you describe.

2. Use "ntpdate -b ..." in your init scripts before starting ntp,
   to set the time close enough for ntp to do its thing.

-- 
Eric C. Cooper          e c c @ c m u . e d u



More information about the wplug mailing list