Skip to main content
Topic: openntpd cannot adjust time, but doesn't print errors. (Read 955 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

openntpd cannot adjust time, but doesn't print errors.

So I have openntpd running under runit.

I once noticed my time was off 6 minutes or so, and openntpd didn't fix this, even though it said it would.
Fixed it manually, but it still doesn't seem to work as I would expect. Here is the filtered, most recent log file (unfiltered file is attached):

Code: [Select]
2020-02-25 17:56:21.219106500 adjusting local clock by 397.446948s
2020-02-25 18:00:08.002009500 adjusting local clock by 397.334433s
2020-02-25 18:04:21.488610500 adjusting local clock by 397.211697s
2020-02-25 18:04:55.703477500 adjusting local clock by 397.194738s
2020-02-25 18:05:25.854405500 adjusting local clock by 397.183084s
2020-02-25 18:09:39.854602500 adjusting local clock by 397.059004s
2020-02-25 18:11:42.351028500 adjusting local clock by 396.998492s
2020-02-25 18:12:48.602457500 adjusting local clock by 396.965492s
2020-02-25 18:13:20.707583500 adjusting local clock by 396.949491s
2020-02-25 18:17:03.533701500 adjusting local clock by 396.842935s
2020-02-26 14:01:29.082232500 adjusting local clock by 421.445034s
2020-02-26 14:04:14.630494500 adjusting local clock by 421.362534s
2020-02-26 14:06:26.051248500 adjusting local clock by 421.300005s
2020-02-26 14:10:12.817041500 adjusting local clock by 421.189352s
2020-02-26 14:14:27.714374500 adjusting local clock by 421.066198s
2020-02-26 14:16:04.996983500 adjusting local clock by 421.018542s
2020-02-26 14:17:11.151403500 adjusting local clock by 420.988200s
2020-02-26 14:20:22.572543500 adjusting local clock by 420.892860s
2020-02-26 14:20:56.650889500 adjusting local clock by 420.877414s
2020-02-26 14:21:29.912278500 adjusting local clock by 420.861948s
2020-02-26 14:23:06.250814500 adjusting local clock by 420.816903s
2020-02-26 14:27:22.133772500 adjusting local clock by 420.692385s
2020-02-26 14:31:08.819980500 adjusting local clock by 420.582730s
2020-02-26 14:33:51.304093500 adjusting local clock by 420.501230s
2020-02-26 14:36:32.825771500 adjusting local clock by 420.424221s
2020-02-26 14:37:34.053654500 adjusting local clock by 420.393220s
2020-02-26 14:41:47.948410500 adjusting local clock by 420.273680s
2020-02-26 14:45:01.634749500 adjusting local clock by 420.177693s
2020-02-26 14:46:01.861441500 adjusting local clock by 420.147692s
2020-02-26 14:49:14.488665500 adjusting local clock by 420.056774s
2020-02-26 14:53:38.332962500 adjusting local clock by 419.929955s
2020-02-26 14:54:08.437078500 adjusting local clock by 419.914955s
2020-02-26 14:54:40.534786500 adjusting local clock by 419.898955s
2020-02-26 14:55:14.624206500 adjusting local clock by 419.881955s
2020-02-26 14:56:48.947641500 adjusting local clock by 419.837549s
2020-02-26 14:59:56.573963500 adjusting local clock by 419.744192s
2020-02-26 15:02:33.065754500 adjusting local clock by 419.670465s
2020-02-26 15:06:20.898258500 adjusting local clock by 419.560309s
2020-02-26 15:09:04.413935500 adjusting local clock by 419.479560s
2020-02-26 15:13:28.859672500 adjusting local clock by 419.352174s
2020-02-26 15:16:14.015458500 adjusting local clock by 419.274042s
2020-02-26 15:18:57.847198500 adjusting local clock by 419.194635s
2020-02-26 15:22:35.552061500 adjusting local clock by 419.088143s
2020-02-26 15:24:49.026973500 adjusting local clock by 419.021143s
2020-02-26 15:25:56.280204500 adjusting local clock by 418.989898s
2020-02-26 15:29:36.058889500 adjusting local clock by 418.882456s
2020-02-26 15:32:13.637312500 adjusting local clock by 418.809364s
2020-02-26 15:34:51.171921500 adjusting local clock by 418.730424s
2020-02-26 15:38:01.757487500 adjusting local clock by 418.639799s
2020-02-26 15:40:41.286862500 adjusting local clock by 418.563697s
2020-02-26 15:43:44.896817500 adjusting local clock by 418.473330s
2020-02-26 15:45:25.240202500 adjusting local clock by 418.424928s
2020-02-26 15:48:37.892812500 adjusting local clock by 418.332519s
2020-02-26 15:52:49.745435500 adjusting local clock by 418.209550s
2020-02-26 15:53:52.965912500 adjusting local clock by 418.179928s
2020-02-26 17:55:22.089572500 adjusting local clock by 444.908903s
2020-02-26 17:59:07.934042500 adjusting local clock by 444.798912s
2020-02-26 18:03:22.955333500 adjusting local clock by 444.675960s
2020-02-26 18:06:06.694173500 adjusting local clock by 444.596070s
2020-02-26 18:08:14.131154500 adjusting local clock by 444.532154s
2020-02-26 18:12:00.964882500 adjusting local clock by 444.422938s
2020-02-26 18:12:52.144858500 adjusting local clock by 444.397738s
2020-02-26 18:14:28.610229500 adjusting local clock by 444.350768s
2020-02-26 18:15:00.758858500 adjusting local clock by 444.335249s
2020-02-26 18:16:03.997577500 adjusting local clock by 444.303748s
2020-02-26 18:19:51.856110500 adjusting local clock by 444.194538s
2020-02-26 18:20:57.087750500 adjusting local clock by 444.164799s
2020-02-26 18:22:35.461403500 adjusting local clock by 444.115020s
2020-02-26 18:23:08.580736500 adjusting local clock by 444.099298s
2020-02-26 18:25:14.960005500 adjusting local clock by 444.039845s
2020-02-26 18:29:35.896130500 adjusting local clock by 443.911650s
2020-02-26 18:30:10.013563500 adjusting local clock by 443.896348s
2020-02-26 18:34:28.973161500 adjusting local clock by 443.769554s
2020-02-26 18:36:04.330889500 adjusting local clock by 443.724475s
2020-02-26 18:39:16.060498500 adjusting local clock by 443.630342s
2020-02-26 18:43:34.972889500 adjusting local clock by 443.505655s
2020-02-26 18:46:20.565636500 adjusting local clock by 443.423633s
2020-02-26 18:50:10.433801500 adjusting local clock by 443.315503s
2020-02-26 18:54:28.400746500 adjusting local clock by 443.190314s
2020-02-26 18:55:33.623414500 adjusting local clock by 443.157813s
2020-02-26 18:56:05.749848500 adjusting local clock by 443.141812s
2020-02-26 18:56:37.867688500 adjusting local clock by 443.125812s
2020-02-26 18:58:13.229474500 adjusting local clock by 443.080568s
2020-02-26 18:58:44.344457500 adjusting local clock by 443.067495s
2020-02-26 19:03:03.275162500 adjusting local clock by 442.940019s
2020-02-26 19:05:33.840724500 adjusting local clock by 442.865058s
2020-02-26 19:06:07.961431500 adjusting local clock by 442.851292s
2020-02-26 19:10:31.957156500 adjusting local clock by 442.721070s
2020-02-26 19:14:41.874029500 adjusting local clock by 442.600159s
2020-02-26 19:15:14.985696500 adjusting local clock by 442.584399s
2020-02-26 19:15:47.101418500 adjusting local clock by 442.567899s
2020-02-26 19:16:19.214421500 adjusting local clock by 442.554061s
2020-02-26 19:20:43.026822500 adjusting local clock by 442.425678s
2020-02-27 13:21:59.472210500 adjusting local clock by 2.763020s
2020-02-27 13:24:45.982755500 adjusting local clock by 2.682352s
2020-02-27 13:28:56.934958500 adjusting local clock by 2.558774s
2020-02-27 13:30:35.328530500 adjusting local clock by 2.512571s
2020-02-27 13:31:34.501801500 adjusting local clock by 2.483071s
2020-02-27 13:32:39.793198500 adjusting local clock by 2.451579s
2020-02-27 13:35:17.347548500 adjusting local clock by 2.373968s
2020-02-27 13:37:19.787641500 adjusting local clock by 2.315605s
2020-02-27 13:39:55.362611500 adjusting local clock by 2.239765s
2020-02-27 13:42:32.974403500 adjusting local clock by 2.163675s
2020-02-27 13:45:13.698690500 adjusting local clock by 2.086874s
2020-02-27 13:46:17.915742500 adjusting local clock by 2.055673s
2020-02-27 13:50:07.731265500 adjusting local clock by 1.943779s
2020-02-27 13:52:46.329281500 adjusting local clock by 1.866877s
2020-02-27 13:55:26.955977500 adjusting local clock by 1.788357s
2020-02-27 13:59:42.928093500 adjusting local clock by 1.664848s
2020-02-27 14:01:49.425049500 adjusting local clock by 1.605267s
ntpd is very slow to adjust the clock. I understand that it won't just set the clock to the right time to prevent jumps in time, but that is a very slow strategy.

The openntpd run file. There is no ./conf file.
Code: [Select]
#!/bin/sh
[ -r conf ] && . ./conf
#exec ntpd -d ${OPTS:=-s} 2>&1
exec ntpd -d ${OPTS} 2>&1
I also straced the ntpd process.
Code: [Select]
restart_syscall(<... resuming interrupted read ...>) = 1
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\200_?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2556851, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806536, tv_usec=934770}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.55877"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2556851, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806536, tv_usec=935049}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806536, tv_usec=935259}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\5k?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2509273, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806635, tv_usec=328289}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.51257"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2509273, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806635, tv_usec=328687}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806635, tv_usec=328880}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\0\0\0", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2483071, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806694, tv_usec=501547}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.48307"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2483071, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806694, tv_usec=501971}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806694, tv_usec=502202}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\206P?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2450570, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806759, tv_usec=792947}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.45157"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2450570, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806759, tv_usec=793364}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806759, tv_usec=793551}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\304V?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2372578, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806917, tv_usec=347454}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.37396"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2372578, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806917, tv_usec=347606}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582806917, tv_usec=347664}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\200\234e?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2312967, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807039, tv_usec=787394}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.31560"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2312967, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807039, tv_usec=787803}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807039, tv_usec=787978}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\262a?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2237605, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807195, tv_usec=362347}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.23976"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2237605, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807195, tv_usec=362779}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807195, tv_usec=362965}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\276c?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2161265, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807352, tv_usec=974115}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.16367"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2161265, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807352, tv_usec=974567}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807352, tv_usec=974749}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\200Pn?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2083174, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807513, tv_usec=698426}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.08687"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2083174, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807513, tv_usec=698827}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807513, tv_usec=698954}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0.J?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=2054874, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807577, tv_usec=915622}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 2.05567"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=2054874, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807577, tv_usec=915824}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807577, tv_usec=915912}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\200ti?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1940672, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807807, tv_usec=730970}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.94377"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1940672, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807807, tv_usec=731417}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807807, tv_usec=731568}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\200He?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1864279, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807966, tv_usec=329027}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.86687"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1864279, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807966, tv_usec=329447}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582807966, tv_usec=329627}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0>X?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1786877, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808126, tv_usec=955763}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.78835"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1786877, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808126, tv_usec=956189}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808126, tv_usec=956381}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\300er?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1660356, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808382, tv_usec=927804}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.66484"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1660356, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808382, tv_usec=928266}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808382, tv_usec=928404}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\200\16p?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1601347, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808509, tv_usec=424927}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.60526"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1601347, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808509, tv_usec=425088}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808509, tv_usec=425152}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0\304j?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1476767, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808766, tv_usec=386860}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.48003"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1476767, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808766, tv_usec=387356}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808766, tv_usec=387505}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\30\0\0\0\0\0\0\0X\4\0\0\0\0\0\0\0rY?", iov_len=65535}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SS_READ, offset=1385534, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808955, tv_usec=150718}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
write(2, "adjusting local clock by 1.38708"..., 35) = 35
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_OFFSET_SINGLESHOT, offset=1385534, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808955, tv_usec=151148}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
clock_adjtime(CLOCK_REALTIME, {modes=ADJ_STATUS, offset=0, freq=-5083299, maxerror=16000000, esterror=16000000, status=STA_UNSYNC, constant=2, precision=1, tolerance=32768000, time={tv_sec=1582808955, tv_usec=151305}, tick=10000, ppsfreq=0, jitter=0, shift=0, stabil=0, jitcnt=0, calcnt=0, errcnt=0, stbcnt=0, tai=0}) = 5 (TIME_ERROR)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\24\0\0\0\0\0\0\0'\4\0\0\0\0\0\0", iov_len=20}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 20
poll([{fd=3, events=POLLIN}], 1, -1
I cant find any man page to clock_adjtime. It always fails and ntpd doesn't print any error message.
Here it is not linked to.

Any idea what is going on?

Re: openntpd cannot adjust time, but doesn't print errors.

Reply #1
The conf file for openntpd is /etc/conf.d/ntpd (under OpenRC). To make ntpd immediately sync at startup, put "-s" in NTPD_OPTS or wherever openntpd-runit can find it.