I have a new TrueNAS Scale install, and it doesn't appear to be syncing system time. I've searched previous posts about this but can't find a solution.
Content of
I can ping the listed server:
Many old posts mentions ntpdate, but the command doesn't exist:
Any ideas? It doesn't seem right that the conf points to debian servers, but the ntpq command lists my model/router.
Content of
/etc/ntp.conf
: # cat /etc/ntp.conf
server 0.debian.pool.ntp.org iburst maxpoll 10 minpoll 6
server 1.debian.pool.ntp.org iburst maxpoll 10 minpoll 6
server 2.debian.pool.ntp.org iburst maxpoll 10 minpoll 6
restrict default ignore
restrict -6 default ignore
restrict 127.0.0.1
restrict -6 ::1
restrict 127.127.1.0
restrict 0.debian.pool.ntp.org nomodify notrap nopeer noquery
restrict 1.debian.pool.ntp.org nomodify notrap nopeer noquery
restrict 2.debian.pool.ntp.org nomodify notrap nopeer noquery
I can ping the listed server:
# ping 0.debian.pool.ntp.org
PING 0.debian.pool.ntp.org (129.70.132.36) 56(84) bytes of data.
64 bytes from stratum2-3.NTP.TechFak.NET (129.70.132.36): icmp_seq=1 ttl=50 time=22.4 ms
64 bytes from stratum2-3.NTP.TechFak.NET (129.70.132.36): icmp_seq=2 ttl=50 time=19.1 ms
64 bytes from stratum2-3.NTP.TechFak.NET (129.70.132.36): icmp_seq=3 ttl=50 time=21.8 ms
ntpq -p
points to my ISP model/router for some reason: # ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
kabelbox.local .INIT. 16 u - 1024 0 0.000 +0.000 0.000
Many old posts mentions ntpdate, but the command doesn't exist:
# ntpdate
zsh: command not found: ntpdate
# service ntpd stop
Failed to stop ntpd.service: Unit ntpd.service not loaded.
r# service ntpd start
Failed to start ntpd.service: Unit ntpd.service not found.
# timedatectl
Local time: Mon 2022-09-05 04:26:29 CEST
Universal time: Mon 2022-09-05 02:26:29 UTC
RTC time: Mon 2022-09-05 02:26:30
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: no
NTP service: n/a
RTC in local TZ: no
# timedatectl set-ntp true
Failed to set ntp: NTP not supported
Any ideas? It doesn't seem right that the conf points to debian servers, but the ntpq command lists my model/router.