[Techtalk] ntp help?!?
txjulie at austin.rr.com
txjulie at austin.rr.com
Thu Mar 6 21:45:20 EST 2003
Magni Onsoien wrote:
>
> On Wed, Mar 05, 2003 at 09:14:23AM -0600, txjulie at austin.rr.com said:
> > Greets,
> >
> > I've managed to get ntpd running on my system, but my clock
> > continues to drift. What do I have to do to make ntpd actually
> > =work=? ntptimeset faithfully reports that the clock is merrily
> > drifting away, but ntpd never fixes it ...
>
> (Sorry, too tired to check all the details about tuning of ntpd now.)
>
> Have you tried using ntpdate first?
No, I hadn't.
> If the clock is too wrong, ntpd won't adjust it - because ntpd works by
> adjusting time in small steps (the main goal is (was) to keep a group of
> fex file servers with clients at the same time, and then big time jumps
> will cause trouble) and if the clock drifts faster than those steps, ntpd
> gives up.
Thanks -- I know it didn't work if things were too far off, but I didn't
know about ntpdate.
> So, ntpdate <some server> first, also in init-scripts (it will use the
> same socket as ntpd, so stop ntpd first) before ntpd starts.
>
> If that doesn't work, check that your firewall isn't blocking and that
> the server(s) you try to sync with actually let you.
I've done all those things, and checked that my firewall isn't blocking
messages. Things still don't work. I have three time servers -- the
closest router to my house (66.25.200.1), ntp.texas.rr.com and
tick.uh.edu in my /etc/ntp.conf file. Last night I ran ntpdate and
the time was within 1ms of the time servers. Right now it is 14.7s
off. The /etc/ntp/drift file =still= says 0.000 (same as always).
--
Julianne Frances Haugh Life is either a daring adventure
txjulie at austin.rr.com or nothing at all.
-- Helen Keller
_______________________________________________
Techtalk mailing list
Techtalk at linuxchix.org
http://mailman.linuxchix.org/mailman/listinfo/techtalk
More information about the Techtalk
mailing list