Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #273342

Re: NTP fails to sync local clock

From Steve Keller <keller.steve@gmx.de>
Newsgroups linux.debian.user
Subject Re: NTP fails to sync local clock
Date 2024-09-28 08:50 +0200
Message-ID <Jrzrb-fnBj-1@gated-at.bofh.it> (permalink)
References <JpQw9-ehvC-11@gated-at.bofh.it> <Jq5vb-eqAD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Many thanks to Urs and George.

> In Debian 12 the default /etc/ntpsec/ntp.conf file contains the lines
>
>   # Comment this out if you have a refclock and want it to be able to discipline
>   # the clock by itself (e.g. if the system is not connected to the network).
>   tos minclock 4 minsane 3
>
> which means ntpd needs at least 3 servers to choose from.  If you
> haven't changed that line and you have only one server configured like
> your output shows, you can never get synchronisation.


That is exactly the change I needed.  I commented out the whole line and sync
now works.

Steve

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

NTP fails to sync local clock Steve Keller <keller.steve@gmx.de> - 2024-09-23 14:40 +0200
  Re: NTP fails to sync local clock Dan Ritter <dsr@randomstring.org> - 2024-09-23 15:50 +0200
    Re: NTP fails to sync local clock Steve Keller <keller.steve@gmx.de> - 2024-09-23 19:30 +0200
      Re: NTP fails to sync local clock Dan Ritter <dsr@randomstring.org> - 2024-09-23 20:20 +0200
      Re: NTP fails to sync local clock gene heskett <gheskett@shentel.net> - 2024-09-24 07:30 +0200
        Re: NTP fails to sync local clock Greg Wooledge <greg@wooledge.org> - 2024-09-24 13:10 +0200
          Re: NTP fails to sync local clock gene heskett <gheskett@shentel.net> - 2024-09-25 06:00 +0200
  Re: NTP fails to sync local clock  - tos minclock 4 minsane 1 George at Clug <Clug@goproject.info> - 2024-09-24 01:50 +0200
  Re: NTP fails to sync local clock Urs Thuermann <urs@isnogud.escape.de> - 2024-09-24 06:40 +0200
    Re: NTP fails to sync local clock Steve Keller <keller.steve@gmx.de> - 2024-09-28 08:50 +0200

csiph-web