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

NTP service is looking at the gateway and not at the servers I put in the ntp.conf file

I have two ubuntu virtual machines. One of them shows all the ntp servers and is connected to the best one. The other one only shows the gateway no matter what I change in the ntp.conf file. Working ...
0 votes
0 answers
14 views

chrony client cant get time from chrony server

I config the NTP server with chrony with this config and it's getting time from internet NTP servers, and it's OK. I config client with chrony with this config, but it can't get time from NTP server. ...
0 votes
0 answers
52 views

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 ...
0 votes
1 answer
74 views

Time mismatch (local and universal)

I don't know why the displayed time in my Ubuntu 20.04 is different from real clock. As you can see below, I have synchronized the clock and then date command shows it is 02:54:49 PM CEST, but the ...
  • 1,706
1 vote
2 answers
326 views

Could not install NTP because of conflicts with time-daemon (systemd-timesyncd) on Ubuntu 20.04 LTS

I get a problem when install ntp (offline install) because the conflict with time-daemon of systemd-timesyncd. # dpkg -i ntp_4.2.8p12+dfsg-3ubuntu4.20.04.1_amd64.deb dpkg: regarding ntp_4.2.8p12+dfsg-...
0 votes
1 answer
25 views

ntp, ntpsec, openntpd: which differences?

On my Ubuntu 20.04, I would like to use ntpd to perform a time synchronization. This program is not installed, but is present in 3 different packages. Command 'ntpd' not found, but can be installed ...
  • 203
0 votes
0 answers
77 views

Ubuntu 22 Display localtime instead of universal time

I want to display local timezone instead of Universal time in Ubuntu 22.04.1 LTS. It also displays same UTC +00 in all regional timezone. I did set time timezone manually nothing works. sudo ...
  • 1
1 vote
0 answers
132 views

Getting GPS time from TCP source + PPS device

I'm currently working on a Nvidia Jetson TX2 with Ubuntu 18, using an Emlid Reach GPS Module which is capable of provide NMEA messages through a TCP connection and a 1-PPS signal through a UART pin. I'...
  • 11
0 votes
0 answers
13 views

How to control timezones in upgraded system

During the upgrade from 16.04 -> 18.04 -> 20.04 I noticed ntp is no longer supported, but not removed. Does this mean there is now a systemd process running alongside ntp and possibly double ...
  • 315
0 votes
0 answers
481 views

How can I find the IP of my NTP server on Ubuntu 22.04?

I tried to do both of the methods [here][1] to find the IP of my NTP server, but I was unable to do so successfully. In fact, the second method does not list the NTP server. Ironically, I need to find ...
0 votes
0 answers
19 views

NTP traffic causes frequent APR request

I am running Ubuntu LTS 22.04 using Chrony as NTP server. I discovered that even with frequent NTP traffic between a NTP client and the NTP Server, the ARP requests are still being sent back and forth ...
  • 1
0 votes
1 answer
32 views

If there's no NTP daemon in system, how should ntpd be called in order to query the system time offset, without setting the time?

How should I call ntpd if I only want to query the NTP, but I do not want to update the system time (as in "ntpdate -q")? We do not have an NTP daemon in our proprietary system. Thanks, ...
  • 1
0 votes
0 answers
101 views

Automatic system time update based on gps time to keep system clock accuracy

I tried to use gpsd on ubuntu to provide the most accurate time to the system based on current GPS data and PPS signal. However, gpsd updates the time only once. Is there any possibility keep updating ...
0 votes
0 answers
91 views

Unit & magnitude of NTP / ntpdate

I have a cluster of 10 virtualized ubuntu servers. For all of them, I installed the ntp-Daemon. Since I currently running some time sensitive experiments, I am interested in the offsets between my ...
0 votes
1 answer
761 views

Unable to set up timedatectl to sync from a specific NTP server

I am using my college's LAN and need my timedate to synchronize to the college's ntp server. I tried editing the /etc/systemd/timesyncd.conf appropriately (by change the value after NTP= but it keeps ...
  • 149
0 votes
0 answers
156 views

Would like local time to be automatically updated

I am using Ubuntu 20.04 server edition on a RPi 4. I have seen tutorials and posts on how to set the local time manually. However, I would like to set the device to automatically update the local ...
0 votes
0 answers
131 views

How to know that the chrony works well to synchronize timestamps on two computers?

I used the chrony to synchronize timestamps on two computers. The robot's computer is a master and the workstation's computer is a client. All I did, I follow the question's answer here after ...
  • 184
1 vote
2 answers
519 views

NTP Configuration not being used

I am trying to set up a GPS NTP server on my SBC running Ubuntu 20.04 (headless) but I am having a configuration issue. When I reboot I get this: $ ntpq -p remote refid st t when ...
  • 158
0 votes
2 answers
411 views

Ntpd drifting, very fast

I have to run stop ntp/ntpdate/start ntp every day, since my Laptop (ThinkPas AMD64 Rhyzen, Ubuntu 20.04) looses half an hour a day Here is my ntp.conf (almost the default): driftfile /var/lib/ntp/ntp....
0 votes
0 answers
176 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, ...
  • 11
0 votes
1 answer
558 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
0 answers
1k 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
1 answer
1k 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-...
3 votes
0 answers
180 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 ...
  • 31
0 votes
1 answer
266 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,860
1 vote
3 answers
6k 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 ...
  • 1,860
0 votes
1 answer
195 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
0 answers
417 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 /...
  • 2,517
0 votes
2 answers
747 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 ...
0 votes
0 answers
980 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
0 answers
1k 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 ...
2 votes
0 answers
314 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 ...
  • 613
1 vote
2 answers
14k 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 ...
  • 131
1 vote
1 answer
133 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 ...
  • 121
1 vote
1 answer
2k 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 ...
1 vote
0 answers
3k 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-...
  • 613
0 votes
1 answer
618 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
2 answers
3k 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
1 answer
323 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 ...
  • 129
0 votes
1 answer
95 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 ...
  • 1
0 votes
1 answer
636 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 ...
18 votes
2 answers
43k 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-...
  • 1,706
0 votes
1 answer
197 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
1 answer
2k 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
1 answer
420 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
1 answer
2k 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: ...
  • 113
1 vote
1 answer
2k 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
0 answers
714 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
1 answer
3k 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 ...
  • 13
0 votes
2 answers
1k 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 ===============...
  • 101

1
2 3 4 5