[ntp:questions] ntpd won't sync
David Durrleman
0nrh2b802 at sneakemail.com
Tue May 8 04:41:00 UTC 2007
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 output of ntpq -c as is:
ind assID status conf reach auth condition last_event cnt
===========================================================
1 4322 8000 yes yes none reject
2 4323 8000 yes yes none reject
3 4324 8000 yes yes none reject
The relevant section of /var/log/messages is:
May 8 05:52:58 moobox ntpd[7159]: ntpd 4.2.4 at 1.1437-o Tue May 8 03:42:36 UTC 2007 (1)
May 8 05:52:58 moobox ntpd[7160]: precision = 1.000 usec
May 8 05:52:58 moobox ntpd[7160]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
May 8 05:52:58 moobox ntpd[7160]: Listening on interface #1 lo, 127.0.0.1#123 Enabled
May 8 05:52:58 moobox ntpd[7160]: Listening on interface #2 lan, 129.199.159.8#123 Enabled
May 8 05:52:58 moobox ntpd[7160]: kernel time sync status 0040
May 8 05:52:58 moobox ntpd[7160]: frequency initialized -1.348 PPM from /var/lib/ntp/ntp.drift
What could be wrong with this setup ? Thanks in advance,
--
David
More information about the questions
mailing list