ntpd ignoring conf server commands
I'm on this
$ uname -a
Linux erehwon 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u2 i686 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.7 (wheezy)
Release: 7.7
Codename: wheezy
$
and I've got this
$ dpkg -l *ntp*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii ntp 1:4.2.6.p5+d i386 Network Time Protocol daemon and
un ntp-doc <none> (no description available)
ii ntpdate 1:4.2.6.p5+d i386 client for setting system time fr
$ grep -v '^#' /etc/ntp.conf | cat -s
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server 0.debian.pool.ntp.org iburst
server 1.debian.pool.ntp.org iburst
server 2.debian.pool.ntp.org iburst
server 3.debian.pool.ntp.org iburst
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
$
and can do this
$ ping -c 1 0.debian.pool.ntp.org
PING 0.debian.pool.ntp.org (129.250.35.251) 56(84) bytes of data.
64 bytes from y.ns.gin.ntt.net (129.250.35.251): icmp_req=1 ttl=42 time=16.4 ms
--- 0.debian.pool.ntp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 16.491/16.491/16.491/0.000 ms
$ ping -c 1 3.debian.pool.ntp.org
PING 3.debian.pool.ntp.org (108.61.73.243) 56(84) bytes of data.
64 bytes from hydrogen.constant.com (108.61.73.243): icmp_req=1 ttl=52 time=6.19 ms
--- 3.debian.pool.ntp.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.190/6.190/6.190/0.000 ms
$
but when I do this
$ sudo /etc/init.d/ntp restart
[ ok ] Stopping NTP server: ntpd.
[ ok ] Starting NTP server: ntpd.
$ sudo tail -11 /var/log/daemon.log
Jan 20 07:28:03 erehwon ntpd[5283]: ntpd exiting on signal 15
Jan 20 07:28:05 erehwon ntpd[5619]: ntpd 4.2.6p5@1.2349-o Sat Dec 20 18:47:35 UTC 2014 (1)
Jan 20 07:28:05 erehwon ntpd[5620]: proto: precision = 0.838 usec
Jan 20 07:28:05 erehwon ntpd[5620]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jan 20 07:28:05 erehwon ntpd[5620]: Listen and drop on 1 v6wildcard :: UDP 123
Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 3 eth0 10.1.12.138 UDP 123
Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 4 eth0 fe80::225:b3ff:fe0c:b3f3 UDP 123
Jan 20 07:28:05 erehwon ntpd[5620]: Listen normally on 5 lo ::1 UDP 123
Jan 20 07:28:05 erehwon ntpd[5620]: peers refreshed
Jan 20 07:28:05 erehwon ntpd[5620]: Listening on routing socket on fd #22 for interface updates
$
this happens
$ ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
clock.monmouth. .INIT. 16 u - 64 0 0.000 0.000 0.000
$
Why aren't any specified servers in use?
Why the unspecified clock.monmouth server listed?
--
Reply to: