Questions tagged [systemd-timesyncd]
21 questions
8
votes
1 answer
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 same subnet (10.10.10 0/24). On an Ubuntu 18.04…
Deathgrip
- 183
- 1
- 1
- 6
6
votes
2 answers
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 package lists... Done
Building dependency tree …
aaa90210
- 201
- 2
- 3
- 7
5
votes
1 answer
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 91.189.89.199:123 (ntp.ubuntu.com).
Mar 15…
Douglas Burrell
- 51
- 1
- 2
3
votes
1 answer
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 timedatectl and systemctl status…
ThomasW
- 31
- 1
- 2
2
votes
0 answers
trying to script ntp client settings
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 chmod 664 /etc/systemd/timesyncd.conf #setting to…
Scott Johnstone
- 21
- 2
2
votes
0 answers
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 completely wrong. I can disable NTP and set the correct…
david.mihola
- 121
- 3
2
votes
0 answers
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 a conflict with that. It's also a fresh vagrant…
Jesse Lee
- 21
- 2
1
vote
1 answer
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 state information... Done
The following packages…
xabikip
- 11
- 1
- 3
1
vote
0 answers
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 server. Following are the logs
started Network Time…
1
vote
1 answer
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. Should I disable it? Any issues with both running?
user630702
- 189
- 1
- 8
1
vote
2 answers
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 information and must be started after system time…
benjamin button
- 273
- 1
- 13
1
vote
0 answers
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 olympus systemd[1]: systemd-resolved.service: Start…
Jos
- 28,156
- 8
- 82
- 88
0
votes
1 answer
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. This is the status of this service:
> systemctl status systemd-timesyncd
# this is the output of the previous command:
● systemd-timesyncd.service - Network Time Synchronization
…
frankfalse
- 143
- 10
0
votes
1 answer
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 need to subtract 5 hours)? Thanks.
My Ubuntu…
Pranai Rao
- 321
- 1
- 3
- 10
0
votes
0 answers
Clock skew detected on Ceph node
I created a 3 node ceph cluster and I am getting a warning: clock skew detected on mon.ceph-node01.
All 3 nodes are in sync though (the diffences are due to time to execute and within the 5 sec Ceph threshold):
#for NODE in ceph-node01 ceph-node02…
linuxnoobie
- 1
- 2