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
0answers
118 views

Is ntp.ubuntu.com impacted by GPSD bug?

We are time-syncing several instances with the ntp.ubuntu.com time server and have come to know about the potential GPSD issue which is relevant next sunday October 24, 2021: "On October 24, ...
0
votes
1answer
37 views

iptables with NTP

I am using iptables to filter the traffic and also chronyd to synchronize the system time. However, I am not getting it to work, somehow chronyd cannot access the NTP server. Here are my iptables ...
2
votes
0answers
54 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 ...
1
vote
1answer
57 views

NTP server install fails on Ubuntu 20.04.3 LTS

It's been my first time posting a question. I have install Ubuntu 20.04.3 LTS on a server in order to be my NTP server for my network. I try to install the NTP server but I get the error: $ sudo apt-...
1
vote
0answers
33 views

date command timezone not reflecting correct date/time from timedatectl

I am in the MDT timezone (UTC -600). When I run the date command it shows the UTC time but shows MDT as the timezone, so the timezone looks correct but the time is actually 6 hours ahead of what it ...
0
votes
1answer
57 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 ...
1
vote
3answers
214 views

Why is the time not syncing?

I want the time to sync, but it's not. I tried running the following commands, but it's still not syncing. # timedatectl set-ntp off # timedatectl set-ntp on # timedatectl status ...
0
votes
0answers
29 views

gpsd and chrony single gps pps setup

I have a system that will be offline most of the time. I have gpsd and chrony setup, and am able to share gps and pps with chrony via the shared memory. my goal is to make sure the server can share ...
0
votes
0answers
78 views

ntpd says it can't open /var/log/ntpd.log even though the file is owned by ntp:ntp, what gives?

I have three Ubuntu servers, one of which is able to save its log in the /var/log/ntp.log file, the other two are not. The configuration looks like this in all of them (clearly uncommented): logfile /...
0
votes
0answers
194 views

Proper configurations for NTP client in Ubuntu MATE 21.04

As I was having time sync issues, I have installed NTP; and though I have gone through quite a few guides/threads, I'm having trouble figuring out: (1) proper/secure configuration for /etc/ntp.conf, ...
0
votes
1answer
182 views

Can chrony be configured as ntp server with gpsd without PPS

I'm wanting to setup an ntp server on Ubuntu 18.04 or later. This PC will have little to no access to internet. I currently have a ublox 8 GPS USB mouse that does not support PPS. I have followed the ...
1
vote
0answers
232 views

Universal Time different from RTC time in timedatectl

As you can see in below, my Universal Time different from RTC time. It has 5 seconds later. My current Date is also 5 seconds later than real time. How can I fix it. I don't want to install ntpd or ...
1
vote
0answers
172 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 ...
0
votes
0answers
52 views

confused about NTP server / not synchronized

I checked on my Centos physical machine status of NTP , and it's not synchronized : ntpq -pn remote refid st t when poll reach delay offset jitter =============================...
2
votes
0answers
79 views

chrony; clock skew too great

I have a fully operational chrony on my Ubuntu: v@v-VirtualBox:~$ timedatectl Local time: Mon 2021-05-17 17:02:03 EEST Universal time: Mon 2021-05-17 14:02:03 UTC ...
0
votes
2answers
2k 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 ...
1
vote
1answer
61 views

Why apt update sources fail sometimes when clock not synced?

This has been puzzling me for months and is an academic question now. I have a working fix, but want to understand the 'why'. Why is it that some sources in sources.list will sometimes fail to update ...
0
votes
1answer
406 views

Unable to add rules to /etc/ufw/before.rules and before6.rules

I run a high-traffic NTP server and the following rules are absolutely necessary to prevent my conntrack table from being immediately overrun (regardless of how large it is): iptables -t raw -A ...
0
votes
0answers
30 views

Chrony /NTP server

what would be the best solution, to install a local NTP server in a cluster mode, like: ntp1, ntp2 and ntp-master. The plan is to setup all the machines using the ntp-master IP, and this one has to ...
0
votes
0answers
939 views

Failed to set ntp: NTP not supported

Mu Ubuntu 20.04 suffers from time synchronisation problems. Particularly: v@v-VirtualBox:~$ timedatectl Local time: Sat 2021-05-01 09:30:44 EEST Universal time: Sat 2021-05-...
0
votes
0answers
94 views

why does UFW block ICMP destination-unreachable messages despite apparently having rules to allow them?

Ubuntu 20.04.2 LTS, I am running UFW with mostly default configuration, have allowed some ports through with "ufw allow" but haven't done any manual blocking or config files editing. I was ...
1
vote
2answers
406 views

Why does local time reset itself to wrong time after "timedatectl set-time"?

I have a server (Ubuntu 20.04) with an asynchronous time (wrong by around 7.5 minutes; RTC already seems to be equal/close to the "real" time) which I want to correct: timedatectl ...
0
votes
1answer
95 views

How to find out which NTP (Network Time Protocol) is configured on Linux-ubuntu

I'm working on ubuntu where i want see which NTP is used as default, ex. chrony! and if its even configured for the purpose of correct time synchronisation in a cluster of another app. So How can i ...
0
votes
1answer
65 views

Isolated NTP Server for use in switchgear testing

I need to set up an NTP server to test the NTP functionality of some power meters (PXM2000), gateways (PXG900), and MOXAS in a switchgear application. For my application I do not care about precise ...
0
votes
1answer
262 views

How to remove ntp without internet connection?

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 ...
2
votes
2answers
10k views

NTP not supported

In Ubuntu 20.04, I see that I can not change the set-ntp due to the following error. # timedatectl set-ntp true Failed to set ntp: NTP not supported Any way to fix that? UPDATE: It seems that systemd-...
0
votes
1answer
126 views

Update date and disable automatic updates

Ubuntu 20.04 running in VirtualBox with MacOS host Using python rather than a shell script. For linux commands running in a sub-process. Date is updated, however not long after date/time is reset ...
0
votes
0answers
27 views

Time synchronization Responding Differently for Computers on the Same Network

I am doing time synchronization using ntp for six Ubuntu 18.04 computers on the same network: one server and five clients. For some reason, only two of the clients are synching, the remaining three ...
0
votes
1answer
1k views

fresh ubuntu server 20.04 system clock cant synchronize

I'm trying to set System clock synchronized to yes. I constantly see "Timed out waiting for reply from [endpoint:123]" even after a hand full of different endoints. scanlon@ogserver:~$ ...
1
vote
1answer
114 views

minimum specs for the NTP server

What are the minimum specs needed for one NTP server? I want to config NTP server like this as shown below : 1>$ sudo apt install ntp 2>$ cat /etc/ntp.conf 3>$ sudo nano /etc/ntp.conf ...
1
vote
1answer
764 views

NTP port is blocked. How to sync time? - 18.04

My server provider blocked NTP port because they said there was an NTP attack. Now I cannot sync date and time in my ubuntu 18.04 server. How can I sync time? This is ntpdate -q 0.pool.ntp.org result: ...
1
vote
1answer
700 views

How to check whether NTP is enabled in Ubuntu 18.04

I have installed chrony and trying to fetch time from configured NTP pool. And I have enabled NTP on timedatectl. But how can I make sure the time that I am seeing on "date/timedatectl" ...
0
votes
0answers
310 views

dhclient doesn't renew lease when NTP syncs the time backwards

# uptime -s 2020-10-31 15:24:21 # head -1 /var/log/syslog Oct 31 15:50:53 ... OBSERVATION: uptime is before the 1st timestamp in syslog DHCP IP IS GOT at 15:51 Oct 31 15:51:34 dhclient[841]: ...
1
vote
1answer
1k views

How to find time difference between two computers?

I'm running a distributed computer setup with one machine as time server for the other 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
2answers
504 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 ===============...
2
votes
1answer
237 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 ...
1
vote
0answers
329 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 ...
2
votes
0answers
1k 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
732 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 ...
1
vote
1answer
2k 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
537 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 ...
1
vote
1answer
572 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
573 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
201 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 ...
2
votes
1answer
978 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
1answer
656 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 ...
2
votes
1answer
3k 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
1answer
346 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
228 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
2k 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?

1
2 3 4 5