FC4 NTPD problem

Vikram Goyal vikigoyal at gmail.com
Fri Sep 23 14:41:11 UTC 2005


-----Original Message-----
From: jdow <jdow at earthlink.net>
Sent: Thu, Sep 22, 2005 at 02:07:06PM -0700
To For users of Fedora Core releases
Subject: Re: FC4 NTPD problem


> From: "Keith" <ac7xc1nx at comcast.net>
> 
> >Run a cron job for root using
> >rdate -us 131.107.1.10
> 
> >see man rdate
> 
> Keith, you should be utterly ashamed of yourself for that advise.
> The accuracy of rdate is generally extremely poor compared to the
> accuracy of a properly ntpd.
> 
It's O.K. No probs this side:)

Well I experimented a bit myself. I am setting the time at the moment
through ntpdate. Like:

ntpdate -ouvs clock2.redhat.com

Which goes through the step tickers for other servers as well.

But still want to get down to what's bothering ntpd.

> Vikram needs to provide some information from his ntp.conf file.
> It may be setup wrong. It is also possible he has recompiled his
> kernel. There are options that make ntp synchronization very poor.
<snip> 
I have the base kernel of fedora and the ntpd options are defaults only.

> ===8<---
> ntpq> assoc
> 

The diff output of ntpq are:

----------------------------------------------------------------
ntpq> assoc

ind assID status  conf reach auth condition  last_event cnt
===========================================================
  1 18140  8000   yes   yes  none    reject
  2 18141  8000   yes   yes  none    reject
  3 18142  8000   yes   yes  none    reject
  4 18143  9614   yes   yes  none  sys.peer   reachable  1
  5 18144  8000   yes   yes  none    reject

----------------------------------------------------------------

> ntpq> peers

----------------------------------------------------------------
ntpq> peers
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
 64-136-200-96.b .INIT.          16 u    -   64    0    0.000    0.000
4000.00
 ntp1.chorus.net .INIT.          16 u    -   64    0    0.000    0.000
4000.00
 64.235.218.180  .INIT.          16 u    -   64    0    0.000    0.000
4000.00
*LOCAL(0)        LOCAL(0)        10 l   13   64  377    0.000    0.000
0.004
 clock1.redhat.c .INIT.          16 u    -   64    0    0.000    0.000
4000.00
----------------------------------------------------------------

Strangely, I am able to sync with ntpdate with the above stated command.

Thanks!
-- 
vikram...
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
The power to destroy a planet is insignificant when compared to the power of
the Force.
- Darth Vader
-- 
~|~
 =
Registered Linux User #285795




More information about the users mailing list