Check system time, time zone and NTP sync
server time is wrong | is ntp active | show server time zone | timedatectl | ntp | timetimedatectlShows local time, UTC and RTC as well as the configured time zone. The important lines are System clock synchronized: yes and NTP service: active; otherwise the clock drifts. A deviation of a few minutes is enough to make TOTP codes, Let’s Encrypt validation or log analysis fail.
Note: With systemd-timesyncd, timedatectl timesync-status shows the server and offset. With chrony, chronyc tracking provides these values.
Also searched as
- server time is wrong
- is ntp active
- show server time zone