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
1 answer
24 views

ntpq peers output explanation

I got following output from ntpq command: # ntpq -pn remote refid st t when poll reach delay offset jitter =================...
user avatar
0 votes
1 answer
35 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 ...
user avatar
  • 41
1 vote
1 answer
39 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 ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
3 votes
1 answer
268 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 ...
user avatar
  • 75
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 ...
user avatar
2 votes
2 answers
269 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 ...
user avatar
  • 23
1 vote
2 answers
120 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. ...
user avatar
  • 353
1 vote
0 answers
36 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 ...
user avatar
  • 11
1 vote
0 answers
49 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 ...
user avatar
  • 111
2 votes
1 answer
192 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 ...
user avatar
4 votes
2 answers
545 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 ...
user avatar
  • 161
3 votes
1 answer
224 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 ...
user avatar
1 vote
0 answers
303 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 ...
user avatar
  • 11
0 votes
1 answer
487 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 ...
user avatar
0 votes
1 answer
129 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 ...
user avatar
  • 193
2 votes
1 answer
56 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 ...
user avatar
1 vote
0 answers
177 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 ...
user avatar
  • 11
0 votes
2 answers
238 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....
user avatar
1 vote
0 answers
148 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 ...
user avatar
  • 111
0 votes
1 answer
1k 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 ...
user avatar
  • 795
2 votes
1 answer
562 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 ...
user avatar
  • 183
1 vote
0 answers
768 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 ...
user avatar
  • 111
1 vote
0 answers
43 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) ...
user avatar
0 votes
0 answers
176 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 ...
user avatar
0 votes
0 answers
975 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 ...
user avatar
  • 101
2 votes
2 answers
5k 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. ...
user avatar
  • 45
2 votes
2 answers
2k 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....
user avatar
  • 45
0 votes
2 answers
288 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 ...
user avatar
  • 7,249
1 vote
1 answer
289 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
  • 2,191
0 votes
1 answer
3k 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 ...
user avatar
  • 596
0 votes
1 answer
543 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 ...
user avatar
  • 3,352
1 vote
1 answer
74 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 ...
user avatar
  • 2,554
0 votes
0 answers
103 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: ...
user avatar
  • 728
8 votes
2 answers
3k 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 ...
user avatar
  • 168
1 vote
0 answers
223 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 ...
user avatar
  • 111
9 votes
2 answers
2k 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 ...
user avatar
0 votes
1 answer
509 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. ...
user avatar
-2 votes
1 answer
522 views

chronyd or ntpd + What are the benefits when using chronyd?

We have Red Hat Linux 7.5 machines and we need to decide between ntpd or chronyd service. What are the difference between chronyd to ntpd? When is more useful to use chronyd instead of ntpd?
user avatar
  • 10.9k
0 votes
0 answers
51 views

ntp + ntp loose synchronize each time in 5:00 morning

we have a very strange behavior we have 12 Linux redhat machines - redhat 7.x two of these VM servers are loosing the time synchronize each day at 5:00 in the morning after we restart the ntp , ...
user avatar
  • 10.9k
3 votes
1 answer
366 views

How to set ntpd server time without referencing another server?

I have an embedded system which synchronizes UTC locally using NTP. One of the clients in the system acts as time reference for the other clients. I guess you could think of it as stratum 0. A program ...
user avatar
  • 187
1 vote
1 answer
372 views

Feeding "mixed" NMEA to NTP for time correction

I am trying to correct the time on my Raspberry pi by feeding NTPD with GPS nmea data (via serial) and PPS (via GPIO pin) using the following tutorial via shared memory "SHM". http://www.unixwiz.net/...
user avatar
  • 155
1 vote
1 answer
720 views

What is the minimum interval between retries to an unresponsive NTP server?

ntpd is the reference implementation of NTP. The current version is 4.1.2. The manual page seems to say that when iburst is used, the interval between retries to an unresponsive NTP server is 16 ...
user avatar
  • 44.3k
1 vote
1 answer
489 views

NTP - localhost timeout - source network uses eth0 instead of lo

ntpq -p commands are timing out for me in a centos 6 server. # ntpq -pn 127.0.0.1: timed out, nothing received ***Request timed out tcpdump result shows me that it is using eth0 instead of loopback ...
user avatar
  • 21
1 vote
1 answer
3k views

How to get timesyncd details?

How can I get detailed information about the NTP status of my system, when using systemd-timesyncd as the time client? The closest one I found is # timedatectl status Local ...
user avatar
  • 1,268
0 votes
2 answers
2k views

Update ntp to 4.2.8p13 on CentOS

I have NTP 4.2.6p5 installed on my CentOS 7.5. Due to "Network Time Protocol Multiple Security Vulnerabilities" vulnerability I have to upgrade it to latest NTP 4.2.8p13 version. Now the problem is, ...
user avatar
  • 515
0 votes
1 answer
674 views

ntpd.pid not getting generated even when ntpd is running in centos7

I have recently upgraded to centos7. I could observe that ntpd.pid is not generated when the ntpd service is started. Earlier, in centos 6, when we start the ntpd service the file ntpd.pid is ...
user avatar
0 votes
2 answers
823 views

Can I install both NTP server & NTP client on same machine (linux)?

Here's my use case : I have 2 independent networks & 3 servers. Server 1 & 2 are connected on Network 1 (172.24.xx.xxx) while Servers 2 & 3 are connected via network 2 (locally : 192.168....
user avatar
  • 161