Questions tagged [ntp]

Questions about the NTP protocol and applications that use it. NTP is an acronym for Network Time Protocol.

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

How to find time difference between two computers?

I'm running a distributed computer setup with one machine as time server for the another so the two are in sync to the accuracy of a few ms. I followed answers on this question: How do I setup a local ...
0
votes
1answer
87 views

NTP server is running, but nothing can connect to it

I am trying to figure out why nothing can connect to my LAN NTP service running on Ubuntu 18.04. $ ntpq -p remote refid st t when poll reach delay offset jitter ===============...
1
vote
1answer
57 views

How do I solve Internet Time Sync Not Happening?

Searched through some places and did a lot of stuff. I have tried Unable to start ntpd.service, How do I set time and date from the Internet? and also tried chrony. I saw more places, as far as I ...
0
votes
0answers
55 views

How to set the NTP server in GNOME 3?

In Ubuntu 20.04 Desktop, the time and date settings are managed in the Settings app, under the "Date & Time" category. You can set the time zone, time format, manually set the time, or turn on ...
1
vote
0answers
170 views

timedatectl does not remain synced after reboot on Ubundu 18.04

Today I noticed that my computer clock was off after rebooting. timedatectl showed that it was not synchronized: kfank@kfank-VirtualBox:~/tmp$ timedatectl Local time: Fri 2020-...
0
votes
1answer
108 views

Prevent DHCP overriding NTP configuration

How can Ubuntu 16.04 LTS be forced to use the manually configured list of NTP servers in /etc/ntp.conf even if DHCP tries to provide a different one? On Ubuntu 16.04 LTS (and probably all later ...
0
votes
1answer
417 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. ...
1
vote
1answer
124 views

NTP time always wrong after reboot. It sync with ESX even with NTP setup

I've installed NTP and internal NTP server peer is stratum 2. But every time I reboot the server, the VM time is synced with ESX instead of ntp. I did run ntpdate -s x.x.x.x and corrected it. But ...
0
votes
1answer
135 views

Error while installing Chrony on ubuntu 16.04

Error while installing chrony on Ubuntu 16.04, the install is failing with errors and the error can be seen below. Please help me fix the issue to install and configure chrony successfully. root@ip-...
1
vote
1answer
425 views

NTP synchronization

I am using chrony as the NTP. Timedatectl shows that my NTP is not synchronized. With "chronyc tracking", it shows not synchronized. With "chronyc sources -v", it shows the sources not reachable. ...
0
votes
1answer
52 views

NTP - No system peer entry (“*”) found

I have NTP setup on two Ubuntu 18.04 VM's but my monitoring solution has alerted me only one is getting proper NTP. They are on two different networks, so that may have something to do with it, but ...
1
vote
1answer
125 views

How set ntpd log to DEBUG or something more verbose

I have Ubuntu Server 18.04 and configured time synchronization with my Windows Domain controller through ntpd. My config file, /etc/ntp.conf, contains: driftfile /var/lib/ntp/ntp.drift logfile /var/...
0
votes
0answers
118 views

Issues with NTP

Recently I have found myself trying to setup a new NTP server for our company as the server running NTP currently needs to be decommissioned. The old server and the new one both run on 18.04 LTS. ...
0
votes
0answers
198 views

I can’t configure NTP to work with the GPS module as a synchronization source (NMEA + PPS)

I can not configure NTP on Ubuntu 18.04.3 LTS (Linux 4.15.0-74-generic). As a source of synchronization I want to use NMEA + PPS from GPS module. GPS module is connected via USB using the SILABS ...
1
vote
1answer
1k views

Can't sync time to network server on Ubuntu 19.10

Upgraded to 19.10 a three weeks ago, and since then, I can't get the system to sync with a time server. What I've done: xxxx@asgard:~$ cat /etc/timezone America/Los_Angeles marc@asgard:~$ ...
0
votes
0answers
56 views

Chrony - on ubuntu 18.04, location “palladion_chrony_healthcheck” file?

from here on CentOS, chrony gives option to check healthcheck on path /usr/sbin/palladion_chrony_healthcheck I can't find it on Ubuntu. Solution?
0
votes
1answer
124 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 ...
0
votes
1answer
81 views

Ubuntu 18: date lagging behind by ~17 seconds

I have problems with time syncing in Ubuntu 18, this is my version, running on digital ocean: Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bioni When I ...
7
votes
1answer
993 views

How to enable automatic date and time on Ubuntu 19.10?

I am trying to turn on Automatic Date & Time but it turns off immediately on its own. This seems to happen only after installing the latest updates. How do I enable Automatic Date & Time?
0
votes
1answer
249 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 ...
1
vote
0answers
84 views

Find the process that is setting time

I am running Ubuntu 18.04 LTS in a VirtualBox VM. I need the system time to not be synchronized with NTP because I have another process that gets time updates from a non-NTP source, setting RTC in ...
0
votes
1answer
57 views

NTP configuration for setting past time

Try to set the time to earlier than the current time - we changed the time to 14:00 (GMT + 2) when the local time was 17:00 (gmt+2) and it didn't work but when we changed to 19:00 (gmt+2) it worked. ...
2
votes
1answer
505 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 ...
0
votes
1answer
2k 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) ...
1
vote
1answer
622 views

Ubuntu 18.04 Desktop - date and time synchronization issue

I did a clean install of Ubuntu 18.04 LTS on my laptop a couple of days back. During installation, I chose the timezone to be my local time zone i.e., Kolkata, India (Indian Standard Time). However, ...
4
votes
1answer
866 views

How often does Ubuntu 19.04 and later sync time?

In a default Ubuntu 19.04 - how often is computer time synchronized with time servers? Once every hour? Once every day? Something else entirely?
0
votes
1answer
143 views

NTP will not update time for clients

I am running a Ubuntu 18.04 server with ntp installed. I need NTP to synchronize time in ordet to let a Munge-service to work correctly. My firewall is not enabled, however I have added rules to ...
0
votes
0answers
26 views

Set up a NTP server which can be queried globally

I want to set up a server (hosted on aws/or a running system in some part of the world) as an NTP server that can be queried globally. Currently, I have modified the ntp.conf file on the node to be ...
0
votes
1answer
741 views

Why is NTP Clock not syncing with NTP Server in another continent?

My Ubuntu 16.04.5 PC is located in Delhi, India. I am trying to sync my system clock with USA NTP Server. In my system's /etc/ntp.conf file, I have used the following configuration: # Use servers ...
0
votes
1answer
393 views

Ubuntu NTP servers stratum 1?

Does anyone know if the [0-3].ubuntu.pool.ntp.org records ever pointed to stratum 1 servers. I've been looking around but I couldn't find an answer.
4
votes
0answers
3k 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 ...
1
vote
0answers
143 views

How do I use a specific port when connecting to a time server with timedatectl

I'm trying to connect to a time server with timedatectl. I have enabled ntp with timedatectl. I can ping ntp.ubuntu.com. I then attempted timedatectl -H ntp.ubuntu.com but got a message saying that ...
1
vote
1answer
356 views

how to update to latest ntp patch 4.2.8p12 on ubuntu 18.04 [duplicate]

I tried the method here How to update ntpd to the latest version to patch the latest vulnerability? But it failed. Patch 12 has been out for a while now. Does ubuntu plan to have it included in the ...
0
votes
1answer
439 views

ntp offset can't be reduced

we have a (windows) ntp server to witch we pull for time service. Connection en rights are oke. When we restart our virtual ubuntu 14.04 server the offset is within 20ms but after 60 sec the offset ...
0
votes
1answer
2k views

systemd-timesyncd service is running in idle and doesn't synchronize time

I'm trying to synchronize time on my Intel NUC that is running Ubuntu 16.04.3 LTS with an NTP server that is running on a Windows PC. I already checked that the NTP server is running correctly. It ...
0
votes
1answer
698 views

Disable warning messages about ntpd in syslog

I start my computer with internet disable and noticed that syslog is full of warning messages about ntpd ntpd[1123]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-...
1
vote
1answer
785 views

How to get logging on ntpd changing the clock

While debugging a client device using ntp client to get it's time from our ntp server, it was shown that the server sometimes 'hickups' it's clock with an offset of 20 seconds or such. The ntpd ...
1
vote
1answer
774 views

Permission denied in opening device file at service in boot time

I change the ntp.conf file to read time from a device: server 127.127.8.0 mode 2 # standard time from device server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 12 The device file is /dev/...
0
votes
1answer
769 views

Configure systemd NTP to set TAI offset

"New" kernel versions (since Linux 2.6.26) support TAI clock, but systemd implementation on Ubuntu (18.04 LTS in my case) seems to ignore it. How can I configure systemd NTP to mantain TAI offset ...
2
votes
0answers
184 views

NTP info with timesyncd

Starting with 16.04 it is recommended that systemd-timesyncd is used over nptd however it appears there is not a suitable replacement for ntpq -p. What is the recommended way to get the server and ...
2
votes
1answer
902 views

NTP summer date in Brazil is incorrect

I have a problem with an Ubuntu server hosted in Amazon services. NTP summer date is incorrect for Brazil, I followed all instructions in the documentation of Ubuntu Server and followed this guide, ...
3
votes
2answers
186 views

Are there any commands I can use to ensure that the NTP service is running and is also responsive?

Are there any commands I can use to ensure that the NTP service is running and is also responsive? What I am planning to do it have some monitory & remediation scrip to ensure that a couple of ...
4
votes
1answer
9k 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 ...
0
votes
0answers
465 views

Stop NTP Synchronization

I need to permanently sync my servers NTP with that of Amazon's AWS servers so my request to their servers don't go Awry. i've been able to (temporarily) do so by making the following edits to my ntp....
2
votes
1answer
2k views

How to eliminate the delay in NTP synchronization?

Currently, I am doing a NTP time synchronization between two ubuntu pcs connected by a LAN cable. After I finish the setup, I find that the delay is around 0.170s (170ms), which is not acceptable ...
1
vote
0answers
526 views

NTP client are not syncing correctly from same local NTP server

I am working on Solr cluster setup in Azure VM. I created an NTP server on a zookeeper node which is perfectly syncing from STARTUM-1 NTP server. I configured NTP service on all of my 4-node solr ...
5
votes
1answer
2k views

Why is Chrony taking over network time sync responsibilities?

I am wondering why is Chrony replacing NTPd as the default component for network time sync. What is the advantage, and ideally, was there a discussion of pros-and-cons somewhere I can read for my ...
1
vote
1answer
661 views

Preferred NTP server was rejected despite having better offset and jitter

We have a NTP client configured on one of our system. The client has a set of servers available with whom it can synch with. However the preferred server that we chose is our internal master server ...
5
votes
2answers
13k views

I wish to configure Time Synchronisation on Ubuntu 16.04.4 but timedatectl give Failed to create bus connection: No such file or directory

When I look at https://help.ubuntu.com/lts/serverguide/NTP.html I can see the current time configuration with timedatectl but I always get an error. $ timedatectl status Failed to create bus ...
1
vote
0answers
517 views

Ubuntu Mate time synchronisation issue

I can't manage to fix the time on the Ubuntu Mate I have installed on a Raspberry Pi3. "timedatectl" reports Local time: Tue 2018-02-20 15:30:22 GMT Universal time: Tue 2018-02-20 15:30:...