[pkg-ntp-maintainers] Bug#772990: /usr/sbin/ntpdate-debian: does not synchronize time

Peter Eisentraut petere at debian.org
Thu Jan 8 03:24:32 UTC 2015


On Fri, 2014-12-12 at 21:01 +0100, Michal Suchanek wrote:
> ~# cat /etc/default/ntpdate
> # The settings in this file are used by the program ntpdate-debian, but not
> # by the upstream program ntpdate.
> 
> # Set to "yes" to take the server list from /etc/ntp.conf, from package ntp,
> # so you only have to keep it in one place.
> NTPDATE_USE_NTP_CONF=no
> 
> # List of NTP servers to use  (Separate multiple servers with spaces.)
> # Not used if NTPDATE_USE_NTP_CONF is yes.
> NTPSERVERS="tik.cesnet.cz"
> 
> # Additional options to pass to ntpdate
> NTPOPTIONS=""
> ~# ntpdate tik.cesnet.cz
> 12 Dec 19:46:32 ntpdate[1236]: adjust time server 195.113.144.201 offset 0.001415 sec
> ~# ntpdate-debian
> 12 Dec 19:46:45 ntpdate[1237]: no server suitable for synchronization found

This works as expected for me.

Please run ntpdate-debian under sh -x to see why it does not pick up
your server.



More information about the pkg-ntp-maintainers mailing list