Time services: Difference between revisions

From DWIKI
Tony (talk | contribs)
Tag: wikieditor
Tony (talk | contribs)
Tag: wikieditor
Line 13: Line 13:
On Ubuntu:
On Ubuntu:
  timedatectl status
  timedatectl status
Also check
systemctl status chronyd


====Failed to set up connection socket: Address family not supported by protocol====
====Failed to set up connection socket: Address family not supported by protocol====

Revision as of 13:56, 10 April 2025

Links

NTP

Linux implementations

ntpd

ntpdate

systemd

systemctl status systemd-timesyncd

timedatectl

On Ubuntu:

timedatectl status

Also check

systemctl status chronyd

Failed to set up connection socket: Address family not supported by protocol

man timesyncd.conf

FAQ

Address family not supported by protocol

Try setting IPv4 address in /etc/systemd/timesyncd.conf:

NTP=91.189.91.157 185.125.190.57 91.189.91.157

and then

systemctl restart systemd-timesyncd.service

chrony

timesyncd

documentation

FAQ

ntpdate: no servers can be used

you need to pass a server

Force IPv4 only

In ntpd.service

ExecStart=/usr/bin/ntpd -4 -g -u ntp:ntp

Or remove the 2.* lines from /etc/systemd/timesyncd.conf