I am looking for NTP logs on our TrueNAS Scale. There are none under the keyword “NTP” or Service = “NTP” in the Audit section and also none with journalctl | grep ntp or journalctl | grep systemd-timesyncd on the shell.
I got an NTP server listed under “System Settings → General” but it doesn’t seem to be syncing (at least the time is incorrect by 3 minutes) while other servers in the network sync fine with this server.
To troubleshoot the issue, I was looking for any kind of logs that contain error messages related to NTP. On my other servers, the command journalctl | grep systemd-timesyncd will yield messages like:
Dec 27 05:13:32 hostname systemd-timesyncd[1608192]: Timed out waiting for reply from 80.153.195.191:123 (0.debian.pool.ntp.org).
Dec 27 05:13:32 hostname systemd-timesyncd[1608192]: Contacted time server 129.70.132.33:123 (0.debian.pool.ntp.org).
But in Scale it doesn’t. Which NTP service is used there?
The chronyc sources -v command shows that the NTP server is “unusable” and has an offset of 181.9 seconds. That does not sound like it is working. Maybe I need to check the network connections between it and the TrueNAS, then.
For the battery it just says “batt_status: okay”, so that looks good.
I now added a pool.ntp.org server as a second NTP server and it synced well with that. Our server is still showing up as “unusable” so probably an issue with the network between the TrueNAS and the server. It is a different network than the other servers that sync fine to this NTP server.