[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ntpd and 'servers' keyword
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ntpd and 'servers' keyword
- From: Björn Ketelaars <bjorn_(_dot_)_ketelaars_(_at_)_hydroxide_(_dot_)_nl>
- Date: Tue, 07 Sep 2004 21:58:50 +0200
Thanks for your help. As suggested I started OpenNTPD in the foreground.
When using 'servers europe.pool.ntp.org' the following is echoed:
# ntpd -d -f /etc/ntpd.conf
listening on 192.168.0.1
ntp engine ready
reply from 188.8.131.52: offset 0.054319 delay 0.030604, next query 5s
reply from 184.108.40.206: offset 0.067833 delay 0.031135, next query 5s
reply from 220.127.116.11: offset 0.056339 delay 0.032713, next query 5s
reply from 18.104.22.168: offset 0.060374 delay 0.041055, next query 5s
reply from 22.214.171.124: offset 0.057984 delay 0.048810, next query 5s
reply from 126.96.36.199: offset 0.062085 delay 0.053013, next query 5s
reply from 188.8.131.52: offset 0.059202 delay 0.057052, next query 5s
reply from 184.108.40.206: offset 0.056436 delay 0.058490, next query 5s
reply from 220.127.116.11: offset 0.054919 delay 0.062901, next query 5s
reply from 18.104.22.168: offset 0.058256 delay 0.071470, next query 5s
reply from 22.214.171.124: offset 0.063421 delay 0.081010, next query 5s
reply from 126.96.36.199: offset 0.127634 delay 0.100761, next query 5s
reply from 188.8.131.52: offset 0.086618 delay 0.139101, next query 5s
If I understand correctly the time between queries is 5s. Unfortunately
after 30 minutes nothing happens and this is the only result. At the end
ntpd has to be forcibly killed.
ok, so we got a set of replies, and then nothing? this shouldn't really
happen... is ntpd still sending out queries? (tcpdump)
As mentioned earlier, when using 'server' instead of 'servers'
everything works fine (accept that one server is used instead of a
couple of them). Every 5 seconds another query takes place.
Looking at pflog didn't reveal any blocking by the firewall. This, in
combination with the fact that a single server works fine, means I?m
I was overlooking the "server" keyword works for you.
I have no idea what is going on on your machine. I am using "servers"
every day and it works just fine.
The problem is solved! After replacing 'listen on 192.168.0.1' with
'listen on *' everything works likes a charme. Strange, but ntpd does
its 'thing' again.
Visit your host, monkey.org