[ntp:questions] ntpd won't sync

Richard B. Gilbert rgilbert88 at comcast.net
Tue May 8 14:45:41 UTC 2007


David Durrleman wrote:
> Hi,
> 
> I am trying to set up ntp to sync my computer's clock to the internet. I don't want to act as a server or any other complicated stuff. I am behind a NAT, but I don't have a firewall.
> 
> My ntp.conf looks like this:
> 
> server 0.fr.pool.ntp.org
> server 1.fr.pool.ntp.org
> server 2.fr.pool.ntp.org
> driftfile /var/lib/ntp/ntp.drift
> logfile /var/log/ntp.log
> 
> The output of ntpq -p -rv is:
> 
> assID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
> version="ntpd 4.2.4 at 1.1437-o Tue May  8 03:42:36 UTC 2007 (1)",
> processor="i686", system="Linux/2.6.19-gentoo-r5-moobox-12", leap=11,
> stratum=16, precision=-20, rootdelay=0.000, rootdispersion=15.915,
> peer=0, refid=INIT,
> reftime=00000000.00000000  Thu, Feb  7 2036  7:28:16.000, poll=6,
> clock=c9ea76bf.c72c2a53  Tue, May  8 2007  6:10:39.778, state=1,
> offset=0.000, frequency=-1.348, jitter=0.001, noise=0.001,
> stability=0.000, tai=0
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
>  roxane.home-dn. .INIT.          16 u    -   64    0    0.000    0.000   0.000
>  rtr-002.dsi13.n .INIT.          16 u    -   64    0    0.000    0.000   0.000
>  chihiro.bleu-pa .INIT.          16 u    -   64    0    0.000    0.000   0.000
> 

The servers you are trying to use are not reachable!  How long, after 
starting ntpd, did you wait before issuing the ntpq command?  A minimum 
of thirty minutes is suggested before posting the output here.

Can you ping the servers?

For faster startup, your server statements in ntp.conf should contain 
the "iburst" keyword.





More information about the questions mailing list