Skip to main content

Questions tagged [systemd-timesyncd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
198 views

Problems with timesyncd / ntp on WSL2 / 22.04

I'm running Ubuntu 22.04 LTS on Windows 10 / WSL2. I'm using bash, not the desktop. I'm using the computer to run an ADS-B receiver to upload aircraft positions to flightradar24 and flightaware. The ...
bimmerdriver's user avatar
2 votes
0 answers
30 views

trying to script ntp client settings [duplicate]

Im writing or trying to write a script that will add some NTP servers to 22.04 server. Setntpclient() { sudo cp /etc/systemd/timesyncd.conf /etc/systemd/timesyncd.conf.bk_`date +%Y%m%d%H%M` echo sudo ...
Scott Johnstone's user avatar
3 votes
1 answer
5k views

Why the timesyncd client does not receive any reply from the NTP server (time out in reply)?

In my lubuntu 22.04 is active the service systemd-timesyncd.service which starts the daemon systemd-timesyncd (see here the documentation). This is the status of this service: > systemctl status ...
User051209's user avatar
0 votes
1 answer
1k views

Time is not Synchronizing

EDIT: The main problem seems to be that the UTC time is offset. If I fix the UTC clock, then the other time zones will be fixed as well. How can I update the UTC or correct it to the right UTC time (I ...
Pranai Rao's user avatar
1 vote
1 answer
4k views

System time synchronization not working

I am running Ubuntu 20.04 and using timedatectl with timesyncd. If I enable NTP sync then my local and universal dates get set to the year 2058. If I do a manual check (using python) the NTP servers I ...
Kalen Michael's user avatar
1 vote
1 answer
4k views

Ubuntu 20.04 failed to fetch dependencies

I'm trying to install systemd-timesyncd with apt install systemd-timesyncd and retrive 404 error. ➜ ~ apt install systemd-timesyncd Reading package lists... Done Building dependency tree Reading ...
xabikip's user avatar
  • 11
2 votes
0 answers
3k views

Wrong system time when NTP is enabled?

I am running Ubuntu 20.04 on my laptop. Ever since the installation I have never had any problems with the date/time going out of sync. But today when I started the laptop the system time was ...
david.mihola's user avatar
0 votes
1 answer
489 views

Does Default Ubuntu use ntpd or timesyncd?

In the question linked, I ask how I can get time syncing to work. Why is the time not syncing? The answer given was to check my NTP configuration. Why would I do that? I thought Ubuntu switched from ...
Rucent88's user avatar
  • 1,978
2 votes
0 answers
3k views

systemd-timesyncd Inactive at boot ubuntu 20.04

First off I've searched for the answer here and it's not the standard disable/purge ntp/chrony. I can run dpkg -l | grep ntp and dpkg -l | grep chrony and neither returns anything, so I know it's not ...
Jesse Lee's user avatar
1 vote
0 answers
2k views

systemd-timesyncd service

I am have mentioned an IP in /etc/systemd/timesyncd.conf as NTP=192.168.1.180 and restarted the service through following command systemctl restart systemd-timesyncd but I time isn't syncing with ...
Balaji Venkatesh Kalakund's user avatar
8 votes
2 answers
39k views

Can't start/enable timesyncd on 20.04 LTS

When I try to I get this: # systemctl enable systemd-timesyncd.service Failed to enable unit: Unit file systemd-timesyncd.service does not exist. NTP is installed: # apt-get install ntp Reading ...
aaa90210's user avatar
  • 221
-1 votes
1 answer
2k views

How to remove ntp without internet connection? [duplicate]

i was asked to sync ubuntu 20 via ntp. usually im using systemd-timesync for this mission. on this pc i did timedatectrl and got: $ timedatectl Local time: Mon 2021-03-08 10:24:24 -05 ...
David Shuhami's user avatar
1 vote
1 answer
3k views

Should I disable systemd-timesyncd if ntp is installed?

Is there any issue with running systemd-timesyncd and ntp on the same machine? I'm asking this because I have started using NTP on all servers but the systemd-timesyncd is running there as well. ...
user630702's user avatar
0 votes
1 answer
1k views

Is systemd-timesyncd.service accessible via a dbus api?

I have to read the status of systemd-timesyncd.service whether to see whetther it has synchronized with the ntp . The System clock synchronized flag is not helpful since it does not show appropriate ...
Sai Achyuth's user avatar
0 votes
1 answer
742 views

what is the different between "service ntp status" and "systemctl status systemd-timesyncd.service"

I have two VM, one is the server NTP for the another, for synchronization. In my code from Ubuntu 14 I work's with NTP service, now i need to upgrade my software to Ubuntu 18 and need to know how to ...
almog kashany's user avatar
1 vote
2 answers
3k views

How to check programmatically if systemd-timesyncd has synced successfully

Is it possible to programmatically know if systemd-timesyncd; Can access to the NTP servers? Has synced the system time with the server? The reason is I have an application depends on precise time ...
benjamin button's user avatar
3 votes
1 answer
4k views

Get ntp offset between local machine and ntp-server

Using Ubuntu 18.04.3 I am unable to get information about the NTP offset using timedatectl timesync-status as I get a Unknown operation timesync-status prompt. Checking the service state with ...
ThomasW's user avatar
  • 31
1 vote
1 answer
9k views

systemd-timesyncd.service won't start

● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) ...
Joe Inwap's user avatar
  • 441
1 vote
0 answers
4k views

systemd-resolved and systemd-timesyncd timeout failure, keep trying to restart

After a recent update my 18.04 server is running in a degraded state (as reported by systemctl status) because of two failed units. In /var/log/syslog I get these lines every 90 s: Jun 10 22:07:49 ...
Jos's user avatar
  • 29.7k
6 votes
1 answer
11k views

NTP service is unable to connect to ntp.ubuntu.com on ubuntu 18.04

I've been finding that my device recently has been unable to connect to ntp.ubuntu.com with its systemd-timesyncd service. Mar 15 00:31:52 l157 systemd-timesyncd[673]: Timed out waiting for reply from ...
Douglas Burrell's user avatar
9 votes
1 answer
39k views

Setting multiple NTP servers in /etc/systemd/timesyncd.conf

The man page for timesyncd.conf(5) indicates that the setting for NTP is a space-separated list of NTP server host names or IP addresses. We have two internal NTP servers in our network, both on the ...
Deathgrip's user avatar
  • 193