Skip to main content

Questions tagged [ntp]

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

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

NTP sever doesn't use reference clock after upgrade to 24.04.01 LTS

I have had a machine configured as a stratum 0 NTP server that has been running for years. There is a serial attached box that contains a GNSS receiver and a disciplined, temperature controlled ...
Jim's user avatar
  • 11
0 votes
1 answer
111 views

How to properly setup a standalone NTP server?

Machines: Virtual Machine with Ubuntu Mate acting as NTP server (192.1.1.125) Embedded linux with ntpd service to act as NTP Client What I did (Server Side): sudo apt-get install ntp sudo nano /etc/...
Aiman's user avatar
  • 1
0 votes
0 answers
98 views

NTS server setup on new ubuntu servers

To set up NTS on ubuntu servers we followed the instruction as per https://www.netnod.se/netnod-time/how-to-use-nts We installed chrony version 4.2 and through port 4460 is establishing connection to ...
Santoshi Srinivasa's user avatar
0 votes
0 answers
100 views

time synch problems

can someone decipher this error message for me please? May 19 13:26:43 [servername] kernel: [1723623.817603] audit: type=1400 audit(1716139603.277:212): apparmor="DENIED" operation="...
alabamatoy's user avatar
0 votes
1 answer
67 views

How to setup NTP

Can someone guide me how to set up NTP . I have tried installing update and stop and restart the server but still the issue permits the same . Can someone guide me on this please . Thank you
Goutham An's user avatar
0 votes
0 answers
260 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
0 votes
0 answers
145 views

How to sync an Ubuntu machine inside AWS using NTP

I have an Ubuntu instance inside AWS, which communicates with a third-party instance, also in AWS. I would like to ensure my instance's system time matches their's as close as possible. They have told ...
intrigued_66's user avatar
0 votes
0 answers
748 views

Ubuntu 22.04 ntpd client doesn't sync with the NTP server

I have problem with ntpd. I need to use ntpd as ntp client to sync consistently update the time against the NTP server. When I do timedatectl set-ntp true I receive the error failed to set ntp:N NTP ...
עידו צור's user avatar
1 vote
0 answers
347 views

Manually set system time while NTP sync is on

I have a computer without internet connection and I would like to manually set the system time. I've tried running timedatectl set-time, but I get Failed to set time: Automatic time synchronization is ...
jnts's user avatar
  • 11
0 votes
0 answers
150 views

Ubuntu 22.04 time behind 1 minute

I'm running Ubuntu 22.04 on AWS and noticed the time was behind by one minute. The only thing I changed was the timezone using: sudo timedatectl set-timezone "America/Chicago" I also tried ...
cwhitmore's user avatar
4 votes
1 answer
6k 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
1 vote
1 answer
300 views

Is there a way to audit who is changing the system time?

I've got an openvpn client running which seems to be causing a problem on my system by changing the system time for my machine. How do you prevent openvpn clients from changing the system clock? Is ...
Rusty Weber's user avatar
3 votes
3 answers
3k views

NTP - Egypt DST time change 2023 in Ubuntu 20.04

I have ntp server with OS Ubuntu 20.04 we will have new day light saving time change in Egypt on 27th of April 2023 I tried to check the dst status using "timedatectl" command but ...
Ahmed Elshamy's user avatar
2 votes
1 answer
238 views

System clock seems off by -2m11.785152258s, which can prevent network connectivity

I have a server that was syncing a bsc full node, and all of a sudden my system clock went off by 2 minutes. Could it be a hardware problem? OS: Ubuntu 22.04.2 LTS x86_64 ❯ timedatectl status ...
kakakakakakakk's user avatar
1 vote
2 answers
2k views

Mexico NTP (no more time changes since 2023) and my NTP server

I have a NTP server (Ubuntu) that actually have a Time Zone of America/Mexico_City, until 2022 we have had 2 time changes a year, most Americans spring forward (turn clocks ahead and lose an hour) on ...
SOV's user avatar
  • 13
1 vote
0 answers
131 views

Google Authenticator not giving correct verification code

I'm setting up a google authenticator for a linux image that i'm creating. Every time it gives me a verification code it's different to what my phone gives me. My question is because this is time ...
Bad programmer 's user avatar
1 vote
0 answers
2k views

System clock not synchronized but NTP service is active

I am unable to get a "yes" for "System clock synchronized" on my VPS (Ubuntu 22.04). The NTP service is active. I already tried sudo timedatectl set-ntp on but this only activates ...
John Smith's user avatar
0 votes
1 answer
641 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 ...
mahmood's user avatar
  • 1,895
1 vote
4 answers
9k 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-...
Quang Nguyen's user avatar
2 votes
2 answers
2k 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 ...
Covich's user avatar
  • 253
0 votes
0 answers
686 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 ...
Sujan's user avatar
  • 1
1 vote
0 answers
840 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'...
CaTo's user avatar
  • 11
0 votes
0 answers
14 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 ...
KdgDev's user avatar
  • 265
0 votes
0 answers
3k 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 ...
MRSchwob's user avatar
0 votes
1 answer
127 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, ...
Mechi's user avatar
  • 1
0 votes
0 answers
250 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 ...
no one special's user avatar
0 votes
0 answers
253 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 ...
moosehead42's user avatar
0 votes
2 answers
2k 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 ...
Shashwat's user avatar
  • 149
0 votes
0 answers
241 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 ...
noobuntu's user avatar
0 votes
0 answers
244 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 ...
REDHWAN's user avatar
  • 193
1 vote
1 answer
1k 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 ...
Zach's user avatar
  • 178
0 votes
2 answers
1k 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....
Xavier Humbert's user avatar
0 votes
0 answers
181 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, ...
MCB's user avatar
  • 11
0 votes
1 answer
2k 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 ...
user278965's user avatar
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
1 vote
1 answer
3k 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-...
Nikos Vallas's user avatar
4 votes
0 answers
461 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 ...
syntax's user avatar
  • 41
0 votes
1 answer
496 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
  • 2,028
1 vote
3 answers
20k 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 ...
Rucent88's user avatar
  • 2,028
0 votes
1 answer
455 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 ...
Linux-dev's user avatar
0 votes
0 answers
1k 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 /...
Alexis Wilke's user avatar
  • 2,737
0 votes
2 answers
2k 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 ...
Linux-dev's user avatar
0 votes
0 answers
2k 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 ...
Majid Hajibaba'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
2 votes
0 answers
858 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 ...
Viesturs's user avatar
  • 652
8 votes
2 answers
41k 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 vote
1 answer
381 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 ...
GGibson's user avatar
  • 121
1 vote
1 answer
4k 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 ...
Displayname71's user avatar
1 vote
0 answers
9k 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-...
Viesturs's user avatar
  • 652
0 votes
1 answer
3k 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 ...
Displayname71's user avatar

1
2 3 4 5 6