As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [ntpd]

The Network Time Protocol daemon (NTPd) is a daemon program that synchronizes the system time with time servers using the Network Time Protocol (NTP).

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

Ntpd client strange behavior

Jetson NX with latest Jetpack, NTP Ver. 4.2.8p10 I have some pools in /etc/ntp.conf (0.europe.pool.ntp.org) When I try ntdate -q 0.europe.pool.ntp.org all is ok But there is nothing except one ...
Mike Mint's user avatar
0 votes
1 answer
88 views

Is there a way for accurate timekeeping on Linux/Debian without NTP/Internet?

The only way I could get a working clock on Debian is by using NTP to sync the clock as described here. Is there a way to have a reliably accurate clock without NTP and without any Internet connection?...
mYnDstrEAm's user avatar
  • 3,850
1 vote
0 answers
31 views

How can I determine the current reliability [correctness] of the system time?

I'm working on a project which will acquire a lot of timestamped data at fairly high resolution (50 samples per second) over a very long period of time (years). The solution includes various failover ...
Philip Couling's user avatar
0 votes
0 answers
65 views

How to change the NTP servers that the VMware Esxi hypervisor uses?

I am trying to change the NTP servers that the VMware Esxi hypervisor uses. The system I am using is: [root@machine:~] esxcli system version get Product: VMware ESXi Version: 6.0.0 Build: ...
Léa Massiot's user avatar
0 votes
1 answer
61 views

NTP (NTPSec-1.2.2) client is able to sync time from NTP server even if the server does not switches from candidate to become system peer

I have a NTP setup (client-server association) where on the client side, I have below lines(among others) in ntp.conf: # This should be maxclock 7, but the pool entries count towards maxclock. tos ...
Piyush Singh's user avatar
1 vote
1 answer
94 views

Ntpd sets the sys time to the year 2156 after syncing to primary server

I have a couple boards that are setup to get time from another board as the source of truth. The primary has correct time, but when the other supporting boards attempt to sync to it, they select the ...
dckoo's user avatar
  • 13
0 votes
0 answers
32 views

Read NMEA messages in ntpd to adjust system time

I want to configure ntpd so that it reads NMEA messages from an HTTP-server and uses their time to adjust system time. For that I did the following. Stored the following NMEA-messages in messages.txt: ...
ka3ak's user avatar
  • 1,235
1 vote
1 answer
2k views

NTP service shown "inactive" with 'timedatectl status'

On an Archlinux host, I noticed that command timedatectl status returned correct result for times (local and UTC) but also mentioned that the NTP service was inactive. That struck me as odd because ...
Cbhihe's user avatar
  • 2,479
1 vote
0 answers
912 views

NTP - tos maxdist explained

I had an issue with NTP today that I resolved by adding the line tos maxdistance 30 to my ntp.conf file. I found this solution online and am now trying to understand exactly what this line means. I ...
rush_hour's user avatar
0 votes
2 answers
138 views

NTPD killed by DHCP request / ack

My environment is a Debian 11 server ( bullseye ). As it is a test system I kept DHCP configuration on the interface as well as the DHCP server is configured to give always to same IP address based on ...
hans's user avatar
  • 63
1 vote
1 answer
5k views

ntpq peers output explanation

I got following output from ntpq command: # ntpq -pn remote refid st t when poll reach delay offset jitter =================...
Zaboj Campula's user avatar
2 votes
1 answer
561 views

How can I have ntpd act as a client only, and not a server?

I'm trying to configure a linux machine for NTP, but don't want that machine to reply at all to other machines which may make requests. But it will be acting as an NTP client, which means it will ...
Dave's user avatar
  • 61
1 vote
1 answer
597 views

Keep system clock synchronized to hardware clock

The situation: We have some Linux VMs running compute jobs. The VMs do not have Internet access (including NTP). The hypervisor does know the correct time. The hypervisor's time is exposed to the VM ...
Vladimir Panteleev's user avatar
2 votes
0 answers
449 views

Why is my NTP time sync root dispersion degrading over time?

I have a test network setup with a Mikrotik router with a 4G/LTE internet connection, connected to one Raspberry Pi via Ethernet cable, and to 30 more Raspberry Pis via wifi. I have set up NTP with ...
Hydrargyrum's user avatar
3 votes
1 answer
528 views

Check status of 11-Minute Kernel mode using adjtimex

I have a Debian Buster system which has the Kernel compiled without the CONFIG_RTC_SYSTOHC since I DO NOT want the 11-minute kernel mode to be on. However, I wanted to check if this change actually ...
Harsh's user avatar
  • 99
0 votes
0 answers
21 views

Syncing Debian ntpd with Windows time server [duplicate]

unfortunately my problem listed here was not solved. It would seem that the issue was not with the ntpdate at all: when bypassing the university network all together, time sync works correctly. The ...
ksonofre's user avatar
2 votes
2 answers
2k views

ntp server reachable but never select/set the time

We have some embedded devices using ntpd(4.2.8p10) to sync the time. One of our customers is using their own ntp server inside an internal network. From the ntpd -dgq debug mode, we found the server ...
tj2298's user avatar
  • 23
1 vote
2 answers
717 views

Why ntpd prompt 'no server found' whenI sync time manually?

My server is hosted in IDC, due to in this IDC server can't access to Internet, so I can use Internet NTP server. But IDC service provider have a atomic clock, so I can sync time with atomic clock. ...
fajin yu's user avatar
  • 385
1 vote
0 answers
66 views

Why is a NTP query sent to many servers

I have ntpd installed on Ubuntu and it already had some public NTP servers in the config file. When I capture the NTP packets on Wireshark, the NTP query is sent to a bunch of IP addresses and I get a ...
sash's user avatar
  • 11
1 vote
0 answers
135 views

Where, besides ntp.conf, do NTP servers used by ntpd come from?

The only NTP servers I have defined in /etc/ntp.conf are as follows: pool 0.debian.pool.ntp.org iburst pool 1.debian.pool.ntp.org iburst pool 2.debian.pool.ntp.org iburst pool 3.debian.pool.ntp.org ...
kshetline's user avatar
  • 111
2 votes
1 answer
912 views

How to fix excessively long ntpd sync times?

I am currently experiencing incredibly long sync delays with ntpd and, after much Googling, have decided to start a fresh thread as all 'remedies' have failed to work. The machine in question is a ...
Charles Johnson's user avatar
4 votes
2 answers
1k views

ntpd does not properly update drift by itself

I am using ntpsec of Debian unstable. In my log I saw the following: Mai 22 11:48:34 services ntpd[13428]: CLOCK: time stepped by 1.442261 Mai 22 11:55:06 services ntpd[13428]: CLOCK: time stepped by ...
MiB's user avatar
  • 161
2 votes
1 answer
410 views

Is ntpd working?

I'm running ntpd on my machine, but I'm not sure if it is working correctly. How can I query ntpd to determine whether it has successfully connected to time servers and that my kernel time is ...
Martin von Wittich's user avatar
1 vote
0 answers
614 views

Clockdiff: host is down

I have two computers in a Campus Network. They can ping each other. I can use ssh to connect one using the other one, but when I use clockdiff both show host is down. Is there any thing wrong? System ...
LurenAA's user avatar
  • 11
0 votes
1 answer
811 views

NTP synchronization is not happening continuously

I am working on a NTP client(Linux PC) to synchronize the time from NTP server(Linux PC). The NTP server in turn will synchronize the time from router. Router <- NTP server(Linux Machine) <- NTP ...
user3428693's user avatar
0 votes
1 answer
344 views

Is it possible to be notified when ntpd has updated system time?

I have a Raspberry Pi. It has no RTC. When it loses power, it has no idea how long it's been off until it checks the current time with NTP. I installed ntpd on it, and am running it as a systemd ...
John's user avatar
  • 417
2 votes
1 answer
82 views

If ntp.conf file has more than one NTP server, which one gets synced?

I have a VM for which the ntp.conf file has more than one server, like server 172.16.8.34 server 172.16.8.24 server 172.16.8.14 when I run ntpd -qg -c /etc/ntp.conf, which server gets synced? Is ...
Ragini Dahihande's user avatar
1 vote
0 answers
391 views

Why are ntpq -p and ntpstat showing different outputs of time differences and stratum value at all the times?

Why are ntpq -p and ntpstat showing different outputs of time differences and stratum value at all the times? And what does it mean "unspecified in the result from ntpstat", which one to ...
I dea's user avatar
  • 11
0 votes
2 answers
528 views

How to sync NTP without app or db downtime?

How can we sync the ntp gradually, without harming the timestamps in running application and database? My clock is 12 minutes ahead OS: Oracle Linux 6.4 NTP: ntpdate-4.2.4p8-3.el6.x86_64 ntp-4.2.4p8-3....
Ritesh Vishwakarma's user avatar
1 vote
0 answers
236 views

Update RTC drift file (adjtime) from NTP updates

I'm trying to improve the accuracy of the RTC clock on a buildroot embedded system that I'm working with. I need it to be accurate to 10 seconds over 2 weeks, while switched off and powered but ...
Alex's user avatar
  • 111
0 votes
1 answer
2k views

Problem with chrony 3.2 syncing to NTP server pools

I have a problem similar to Chrony 3.1 refuses to sync with ntp server Scenario: A newly installed server using SLES15 SP2 is running chrony 3.2. I had configured two NTP server pools that run the ...
U. Windl's user avatar
  • 1,056
2 votes
1 answer
996 views

NTPd multicast setup

I need to setup a ntp multicast client. To be able to check of my configuration is good, I trIde to setup an NTP multicast server. My setup : 2 VM of Centos 7, up to date I am using 2 virtual machine ...
iXô's user avatar
  • 205
1 vote
0 answers
1k views

RHEL 6: service ntpd status ntpd dead but pid file exists

I am trying to start the ntpd service. Because the NTP status is service ntpd status ntpd dead but PID file exists I tried to kill the ntpd process. After trying ps -ef | grep ntpd and unable to find ...
fusu's user avatar
  • 111
1 vote
0 answers
109 views

Offline time synchronisation in cascade

I have the following setup : [Group1] : - Server 1 (Linux) - Client 1 (Windows) - Client 2 (Windows) ... - Client n (Windows) [Group2] : - Server 2 (Linux) - Client 1 (Windows) - Client 2 (Windows) ...
Flyerjet's user avatar
0 votes
0 answers
398 views

How to reject ntpd query results with large delay or offsets?

Sometimes I get large offsets when my ntpd try to sync the local clock. I think these show up as spike_detect in the log followed by clock_step because the offset is too large. These instances seem to ...
Syncopated's user avatar
0 votes
0 answers
1k views

ntpq behavior seems wrong

I'm investigating a system failure related to NTP and time sync operations. The problem is hard to duplicate, so I went about just doing some sanity checking to see if different conditions would yield ...
Jim's user avatar
  • 101
2 votes
2 answers
7k 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. ...
user630702's user avatar
1 vote
2 answers
3k views

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

I've installed NTP and the internal NTP server peer is stratum 2. However, every time I reboot the server, the VM time is synced with the ESX host and is then 6 hours ahead. I did run ntpdate -s x.x....
user630702's user avatar
0 votes
2 answers
522 views

Do I really need to run ntpd to keep my machine clock in synch with the NTP protocol?

I'm using Devuan GNU/Linux (~= Debian Buster without systemd) on my machine. On Debian-based systems, we can install the packages ntpdate, which provides the ntpdate binary - an NTP client that ...
einpoklum's user avatar
  • 8,415
1 vote
2 answers
561 views

How to see which devices on a network use your unix NTP server?

I'm running a Unix server with NTPD version 4.2.7. I have various clients using this as its main NTP server such as other unix servers, cameras, IOT devices, etc. I want to get a list of which IPs are ...
Strainger's user avatar
1 vote
1 answer
4k views

Fresh NTPD install stays unsynchronised

I am trying to get NTP working on a Raspberry Pi using ntpd. I've disabled systemd-timesyncd and installed ntp by using: $ sudo apt-get install ntp But after installing it, ntp does not synchronise ...
Joost Baars's user avatar
0 votes
1 answer
63 views

Where can I get a complete reference for ntp.conf?

I am currently setting up a new Linux server, and as always, I am struggling with the NTP daemon (Debian buster, package ntp, so it is the BSD variant), especially with /etc/ntp.conf and the restrict ...
Binarus's user avatar
  • 2,583
1 vote
1 answer
5k views

NTP Unexpected origin timestamp

I can't start NTP service, so the time of the machine is wrong. Mar 14 11:36:25 ntpd[27956]: receive: Unexpected origin timestamp 0xe2174e4d.523af1e4 does not match aorg 0000000000.00000000 from ...
pioupiou's user avatar
  • 786
0 votes
1 answer
836 views

Configure ntpd to find local NTP server(s)

I'm currently designing a system (a physical system that can be used where ever) and have run into the issue that on some networks internet NTP servers can be blocked (by a firewall). In those cases ...
BrainStone's user avatar
  • 3,504
1 vote
1 answer
98 views

Getting messages from services that don't exist

For about 3 hours this afternoon, I got the following messages from services that I don't have (either uninstalled or never heard of): [2020-01-27 14:02:57] dss-mint [daemon.info] [systemd] Started ...
ajgringo619's user avatar
  • 3,053
0 votes
0 answers
136 views

ntpd config optimization

I have an embedded Linux system without RTC, so it (currently) boots with thinking it's Jan, 1st 1970. I have ntpd installed and started as: /usr/bin/ntpd -g with a pretty standard /etc/ntp.conf: ...
ZioByte's user avatar
  • 830
8 votes
2 answers
4k views

ntp won't work on read-only Raspberry Pi

I'm struggling to understand WHY ntp (the service) won't set the time correctly on my raspberry pi. I have configured the filesystem as read only, to save my SD card, but it used to work, and I ...
Gui13's user avatar
  • 168
1 vote
0 answers
332 views

Using ntpd to perform a one-time sync to an NTP server is taking too long

I have several servers that need to be sync'd to an NTP server on my network. Initially, the time on these servers is relatively close (+/- 5 seconds). My goal is to do a "one-time sync" for each ...
Sam D20's user avatar
  • 111
9 votes
2 answers
3k views

How does Linux use a real time clock?

I'm investigating a very strange effect on some Beagle Bone Black (BBB) boards. We're seeing occasional jumps of a few months in the system clock which always correlate with systemd-timesyncd ...
Philip Couling's user avatar
0 votes
1 answer
626 views

Why ntpq shows auth bad?

I have two ubuntu 18.04 machines with ntpd ntpsec-1.1.0+419 installed. The ubuntu-1 has access to public internet and it synchronizes time with ntp pools provided by ubuntu like 0.ubuntu.pool.ntp.org. ...
Zaboj Campula's user avatar