[ntp:questions] Re: ntpd not synchronizing

Richard B. Gilbert rgilbert88 at comcast.net
Mon Jun 27 12:44:36 UTC 2005


Michael R. Saunders wrote:

>Hi,
>        I'm not sure what's going on here.  I was previously in the ntp
>server pool but had to leave the pool.  Since I changed my configuration, my
>ntp server hasn't synchronized to any ntp servers.  My firewall is open and
>allowing ntp through.  I can use ntpdate to query a server that it's
>currently trying to synchronize to and get data back.  Here's the ntpq
>output.
>
>[8:29am Fri 24] acme ~> ntpq localhost                                          
>ntpq> lpeers
>     remote           refid      st t when poll reach   delay   offset
>jitter                                                                          ==============================================================================                                                                               
>thesimonet.org  .STEP.          16 u    - 1024    0    0.000    0.000           4000.00                                                                          
>dsl027-160-099. .STEP.          16 u    - 1024    0    0.000    0.000           4000.00
> time.sr.sonic.n .STEP.          16 u    - 1024    0    0.000    0.000          4000.00
> ip-207-145-113- .STEP.          16 u    - 1024    0    0.000    0.000          4000.00
> ntp1.arttoday.c .STEP.          16 u    - 1024    0    0.000    0.000          4000.00
> ntp2.arttoday.c .STEP.          16 u    - 1024    0    0.000    0.000          4000.00
> gwyn.tux.org    .STEP.          16 u    - 1024    0    0.000    0.000          4000.00
>*LOCAL(0)        LOCAL(0)        13 l   35   64  377    0.000    0.000 0.004
>
>Here's my ntp.conf
>
>pidfile         /var/run/ntpd.pid
>driftfile       /var/db/ntp.drift
>logconfig       -syncstatus
>
>restrict default notrust nomodify kod ignore
>
>restrict 127.0.0.1 mask 255.255.255.255
>restrict 10.0.0.0 mask 255.255.255.0
>
>server us.pool.ntp.org iburst
>server us.pool.ntp.org iburst
>server us.pool.ntp.org iburst
>server us.pool.ntp.org iburst
>server us.pool.ntp.org iburst
>server us.pool.ntp.org iburst
>server us.pool.ntp.org iburst
>
>server 127.127.1.0                      # Local  clock
>fudge 127.127.1.0 stratum 13            # Not disciplined
>
>
>        Any idea what could be happening here?
>
>-Mike Saunders
>method at method.cx
>  
>
Lose the restrict statements!!!   The alternative is to learn the 
numeric IP addresses for all the possible
servers in "us.pool.ntp.org" and add a restrict statement for each one!



More information about the questions mailing list