Ntp kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
by zhxa from LinuxQuestions.org on (#6DX1Z)
[root@ntp sbin]# ./ntpd -n -g -c /etc/ntp.conf
16 Aug 20:25:40 ntpd[25666]: ntpd 4.2.8p16@1.3996 Wed Aug 16 12:24:25 UTC 2023 (1): Starting
16 Aug 20:25:40 ntpd[25666]: Command line: ./ntpd -n -g -c /etc/ntp.conf
16 Aug 20:25:40 ntpd[25666]: ----------------------------------------------------
16 Aug 20:25:40 ntpd[25666]: ntp-4 is maintained by Network Time Foundation,
16 Aug 20:25:40 ntpd[25666]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
16 Aug 20:25:40 ntpd[25666]: corporation. Support and training for ntp-4 are
16 Aug 20:25:40 ntpd[25666]: available at https://www.nwtime.org/support
16 Aug 20:25:40 ntpd[25666]: ----------------------------------------------------
16 Aug 20:25:40 ntpd[25666]: DEBUG behavior is enabled - a violation of any
16 Aug 20:25:40 ntpd[25666]: diagnostic assertion will cause ntpd to abort
16 Aug 20:25:40 ntpd[25666]: proto: precision = 0.177 usec (-22)
16 Aug 20:25:40 ntpd[25666]: basedate set to 2023-08-04
16 Aug 20:25:40 ntpd[25666]: gps base set to 2023-08-06 (week 2274)
16 Aug 20:25:40 ntpd[25666]: Listen and drop on 0 v6wildcard [::]:123
16 Aug 20:25:40 ntpd[25666]: Listen and drop on 1 v4wildcard 0.0.0.0:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 2 lo 127.0.0.1:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 3 ens33 192.168.50.97:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 4 lo [::1]:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 5 ens33 [240e:327:ee93:c300:1ee2:27a6:3b29:4c31]:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 6 ens33 [fe80::7fb5:178:3e45:2649%2]:123
16 Aug 20:25:40 ntpd[25666]: Listening on routing socket on fd #23 for interface updates
16 Aug 20:25:40 ntpd[25666]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
16 Aug 20:25:40 ntpd[25666]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Error message: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Each startup will report this error, do not know how to solve, after testing, from the ntp-4.2.8p12 version, this error appeared, ntp-4.2.8p11 did not report the related error.
Warning message: DEBUG behavior is enabled -a violation of any diagnostic assertion will cause ntpd to abort
This is started by default../configure did not find the off parameter
[root@ntp ntp-4.2.8p16]#./configure --help | grep bug
--enable-debugging + include ntpd debugging code
--enable-debug-timing - include processing time debugging code (costs
--enable-kernel-fll-bug s if we should avoid a kernel FLL bug
--enable-bug1243-fix + use unmodified autokey session keys
--enable-bug3020-fix + Provide the explicit 127.0.0.0/8 martian filter
--enable-bug3527-fix + provide correct mode7 fudgetime2 behavior
--enable-bug3767-fix + Disable debug assertion on OOB KoD RATE value
16 Aug 20:25:40 ntpd[25666]: ntpd 4.2.8p16@1.3996 Wed Aug 16 12:24:25 UTC 2023 (1): Starting
16 Aug 20:25:40 ntpd[25666]: Command line: ./ntpd -n -g -c /etc/ntp.conf
16 Aug 20:25:40 ntpd[25666]: ----------------------------------------------------
16 Aug 20:25:40 ntpd[25666]: ntp-4 is maintained by Network Time Foundation,
16 Aug 20:25:40 ntpd[25666]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
16 Aug 20:25:40 ntpd[25666]: corporation. Support and training for ntp-4 are
16 Aug 20:25:40 ntpd[25666]: available at https://www.nwtime.org/support
16 Aug 20:25:40 ntpd[25666]: ----------------------------------------------------
16 Aug 20:25:40 ntpd[25666]: DEBUG behavior is enabled - a violation of any
16 Aug 20:25:40 ntpd[25666]: diagnostic assertion will cause ntpd to abort
16 Aug 20:25:40 ntpd[25666]: proto: precision = 0.177 usec (-22)
16 Aug 20:25:40 ntpd[25666]: basedate set to 2023-08-04
16 Aug 20:25:40 ntpd[25666]: gps base set to 2023-08-06 (week 2274)
16 Aug 20:25:40 ntpd[25666]: Listen and drop on 0 v6wildcard [::]:123
16 Aug 20:25:40 ntpd[25666]: Listen and drop on 1 v4wildcard 0.0.0.0:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 2 lo 127.0.0.1:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 3 ens33 192.168.50.97:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 4 lo [::1]:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 5 ens33 [240e:327:ee93:c300:1ee2:27a6:3b29:4c31]:123
16 Aug 20:25:40 ntpd[25666]: Listen normally on 6 ens33 [fe80::7fb5:178:3e45:2649%2]:123
16 Aug 20:25:40 ntpd[25666]: Listening on routing socket on fd #23 for interface updates
16 Aug 20:25:40 ntpd[25666]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
16 Aug 20:25:40 ntpd[25666]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Error message: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Each startup will report this error, do not know how to solve, after testing, from the ntp-4.2.8p12 version, this error appeared, ntp-4.2.8p11 did not report the related error.
Warning message: DEBUG behavior is enabled -a violation of any diagnostic assertion will cause ntpd to abort
This is started by default../configure did not find the off parameter
[root@ntp ntp-4.2.8p16]#./configure --help | grep bug
--enable-debugging + include ntpd debugging code
--enable-debug-timing - include processing time debugging code (costs
--enable-kernel-fll-bug s if we should avoid a kernel FLL bug
--enable-bug1243-fix + use unmodified autokey session keys
--enable-bug3020-fix + Provide the explicit 127.0.0.0/8 martian filter
--enable-bug3527-fix + provide correct mode7 fudgetime2 behavior
--enable-bug3767-fix + Disable debug assertion on OOB KoD RATE value