Sample Header Ad - 728x90

timedatectl fails to query server

0 votes
2 answers
9756 views
When running timedatectl to check if my system clock has been synchronized via NTP I get the following:
~> timedatectl
Failed to query server: The name org.freedesktop.timedate1 was not provided by any .service files
systemd-timedated.service has ran.
~> systemctl status systemd-timedated.service
● systemd-timedated.service - Time & Date Service
     Loaded: loaded (/usr/lib/systemd/system/systemd-timedated.service; static; vendor preset: enabled)
     Active: inactive (dead)
       Docs: man:systemd-timedated.service(8)
             man:localtime(5)
             https://www.freedesktop.org/wiki/Software/systemd/timedated 

Mar 23 14:28:16 cm1sd systemd: Starting Time & Date Service...
Mar 23 14:28:16 cm1sd systemd: Started Time & Date Service.
Mar 23 14:29:00 cm1sd systemd: systemd-timedated.service: Succeeded.
Looking online I haven't found anything talking about this error message. How can I use systemd and timedatectl to have my system clock synchronized with an NTP server? I've also noted nothing under /etc/systemd/ defines the NTP server to use. I'm on an embedded Linux system, built using Buildroot, systemd version 244.5.
Asked by dangeroushobo (707 rep)
Mar 23, 2021, 02:27 PM
Last activity: Feb 1, 2025, 06:02 AM