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


Groups > linux.debian.user > #273250

Re: NTP fails to sync local clock

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: NTP fails to sync local clock
Date 2024-09-24 13:10 +0200
Message-ID <JqbAB-euA0-5@gated-at.bofh.it> (permalink)
References <JpQw9-ehvC-11@gated-at.bofh.it> <JpRBT-ei77-3@gated-at.bofh.it> <JpV2N-ekew-1@gated-at.bofh.it> <Jq6hz-er7t-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 24, 2024 at 01:27:14 -0400, gene heskett wrote:
> I personally am running ntpsec here, making this box a level 2 src, and have
> redirected most of my machines to it. Nut as a client, ntpsec fails as it
> cannot slam the correct time at bootup, apparently only adjust drift. So
> clients should be using chrony, which can force time into sync while
> booting.

It works for everyone else.

hobbit:~$ ps -ef | grep ntpsec
ntpsec       855       1  0 Aug31 ?        00:01:50 /usr/sbin/ntpd -p /run/ntpd.pid -c /etc/ntpsec/ntp.conf -g -N -u ntpsec:ntpsec
greg      575861    1226  0 07:04 pts/14   00:00:00 grep ntpsec

hobbit:~$ man ntpd
[...]
       -g, --panicgate
           Allow the first adjustment to be big. This option may appear an
           unlimited number of times.

           Normally, ntpd exits with a message to the system log if the offset
           exceeds the panic threshold, which is 1000 s by default. This
           option allows the time to be set to any value without restriction;
           however, this can happen only once. If the threshold is exceeded
           after that, ntpd will exit with a message to the system log. This
           option can be used with the -q and -x options. See the tinker
           configuration file directive for other options.

Maybe your NON-DEBIAN system configured something differently.  We
don't know, because we run Debian here on this mailing list.

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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