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
19 views

Trigger NTP restart after `vagrant resume`

I manage some Debian 11 server VMs using Vagrant. Sometimes I need to vagrant suspend them, and I noticed that after vagrant resume, their system time is off. Running systemctl status ntp shows the ...
user avatar
  • 123
0 votes
0 answers
45 views

Can I force a re-read of the leap-seconds file immediately?

After realizing that my leap-seconds file is expired, I updated it. However while ntpq indicates expire=202112280000, it did not re-read the current file. I suspect that the file is being checked once ...
user avatar
  • 266
0 votes
0 answers
44 views

CentOS 7 : NTPd (wierd?) behaviour with FQDN vs IP

I recently setup NTP server on my environment, along with DNS. And when I configure an NTP client, I see the below behaviour: [root@template ~]# host mydns.mydomain.ops mydns.mydomain.ops has address ...
user avatar
  • 1
0 votes
1 answer
250 views

Syncing Linux NTP to Windows 10 NTP

I have two computers. One is running Linux (NI Linux Real-Time), and the other is running Windows 10. The Windows 10 computer has two network interface cards. The 1st NIC is configured so that the ...
user avatar
  • 1
0 votes
1 answer
242 views

Linux guest on Hyper-V host, realtime clock, UTC or local - sync with AD DC

I'm installing a Debian 11 Linux guest on a Hyper-V cluster. Hosts' realtime clocks are set to local time, as is the norm for Windows Servers; unlike the preference of Unix-like OSes. Should I execute ...
user avatar
  • 1,539
0 votes
2 answers
3k views

NTP/Chrony not keeping time synchronized on CentOS 7.9 (VM running on VMware ESXi)

I have 3 servers running CentOS 7.9.2009 in a data center (VMware ESXi). These servers report that the time is not synchronized. I have a similar test environment running on an inhouse VMware ESXi ...
user avatar
0 votes
1 answer
236 views

ntpd does not sync clock if it gets internet connection little late

In our production box, I am a facing a problem with ntpd. I am enabling the NTP feature for our production box and observing one isssue. We start the ntpd daemon in the initialization process of our ...
user avatar
  • 105
1 vote
2 answers
655 views

Troubleshooting NTP sync in VirtualBox Linux server

I have a rather simple setup where I have two computers: Computer A. has a normal NTP setup and uses the standard Internet sources (As per Ubuntu) to determine time. It also allows for query on IP 10....
user avatar
  • 1,972
0 votes
1 answer
915 views

ntpd -g does not sync the clock

From ntpd man page If time is more than 1000s from the server time, ntpd assumes something must be terribly wrong and the only reliable action is for the operator to intervene and set the clock by ...
user avatar
  • 105
0 votes
1 answer
229 views

Which server will ntpd daemon prefer for time synchronization if we have multiple servers in ntp.conf file

I read that ntp uses all the servers for time synchronization. It got me one question. Suppose I am having multiple servers in the ntp.conf file and time gap is also more than 1 day. I have not ...
user avatar
  • 105
0 votes
0 answers
115 views

Valid format of key for each type in ntp.keys file

I have few questions on ntp.keys file and need your help. From man page, the format of ntp keys is `keyno type key` where type can be md5, sha1, ripemd160, sha224, sha256 etc. I have confusion on ...
user avatar
  • 105
0 votes
2 answers
272 views

Centos ntpd can't sync [closed]

I have a Centos 5(I know that Centos5 is very very old) virtual machine that is refusing to sync. My virtual machine host is Windows 10 with HyperV and is syncing without problems. Things that I have ...
user avatar
1 vote
0 answers
32 views

Is it possible to configure chrony to have different time sources with different priority?

Currently I have a number of Ubuntu 18.04 machines on a local network without internet access configured on chrony to refer to look up to one of them as the "master" as synchronize to it. ...
user avatar
0 votes
1 answer
46 views

ntpdate succeeds but ntpq fails against Windows DC

DC: Server 2019 Client: TrueNAS https://docs.microsoft.com/en-US/troubleshoot/windows-server/identity/configure-authoritative-time-server for step 3, the DC is configured to be an NTP server and is ...
user avatar
1 vote
1 answer
135 views

Sudden system time jumps on VM

for the second day in a row the system time on a VM I'm in charge of jumped forward by exactly 90026 seconds. In the afternoon or evening, not connectable to any cron maintenance job which typically ...
user avatar
  • 183
0 votes
1 answer
214 views

ntpd synchronization not working

I'm running latest Raspbian Lite on Raspberry Pi 3 B. Just reinstalled ntpd completely and it doesn't synchronize time with upstream NTP servers at all. ntpdate -u 0.debian.pool.ntp.org works just ...
user avatar
  • 1
0 votes
1 answer
91 views

NTP Server - +Hour

How can we implement NTP server with ability to distribute its time with +X hours or -X hours and without changing TZ on our operating systems. NTS has this ability but it's available for Windows. ...
user avatar
4 votes
4 answers
3k views

Sync ntp immediately at boot with undiciplined clock

I have setup one ntp server and 5 clients. I want to force sync the clients to server clock on boot. With my current ntp settings the computers are syncing but after several minutes. I cannot wait so ...
user avatar
  • 43
0 votes
1 answer
14k views

ntpd fails to sync TIME_ERROR: 0x41: Clock Unsynchronized

On Debian 10, ntpd 4.2.8p12@1.3728-o fails to sync with following error: kernel reports TIME_ERROR: 0x41: Clock Unsynchronize here's ntp.conf: disable monitor statsdir /var/log/ntpstats restrict -4 ...
user avatar
  • 1,945
0 votes
2 answers
514 views

NTP synchronizing always in local

I have an Ubuntu 16.04 with the following NTP configuration: driftfile /var/lib/ntp/drift restrict -4 default kod nomodify notrap nopeer noquery restrict -6 default kod nomodify notrap nopeer noquery ...
user avatar
2 votes
1 answer
3k views

Prometheus Alerting on NodeClockNotSynchronising for VMs

I'm trying to determine why this Alert (NodeClockNotSynchronising) is firing for a handful of VMs I've provisioned. (Not all just a few, which is strange) According to the metrics that are exported, I'...
user avatar
  • 123
1 vote
1 answer
313 views

NTP - After how much delay would NTP select a remote server in the pool?

A selected server will be indicated by *. But how much time will this take to select a peer from the pool if ntp service is restarted? I'm trying to monitoring NTP server offset but every time i ...
user avatar
  • 13
0 votes
2 answers
811 views

Can I use both pool and server configurations in ntp?

For a ntp demon, what happens if I have this configuation in ntp.conf: pool 0.pool.ntp.org burst iburst minpoll 4 server europe.pool.ntp.org ? How will ntp be configured? I don't know there to be ...
user avatar
0 votes
0 answers
256 views

ntp.conf stepout adjustments

I’ve been reading over ntp documentation and I’m not quite sure I’m wrapping my head around ‘stepout’. We have a large environment of Linux VM’s that require ‘tinker panic 0’ to be set. ntp is ...
user avatar
0 votes
1 answer
3k views

NTP client not able to auto sync with server

I have connected a system with NTP client on a local network with windows system on which NTP server is running. The problem is client is not able to sync the time with server. NTP version: 4.2.8p13 (...
user avatar
  • 13
0 votes
2 answers
1k views

Keeping Ubuntu clock in sync with another machine using NTP

Goal To synchronize the clock of machine A (Ubuntu 18.04) with the clock of machine B (Ubuntu 16.04 on local network running an NTP server - time is approx. 10 minutes ahead of real-world time). My ...
user avatar
2 votes
1 answer
518 views

What happens when ntp stops sync with remote ntp server and LOCAL (127.0.0.1) is also not defined in the ntp.conf

I wish to understand the scenario in which we have defined only remote servers in the /etc/ntp.conf file and we have not set the LOCAL ntp server (127.0.0.1) options. What happens in case of a ...
user avatar
0 votes
2 answers
498 views

all my ntpd servers marked falsetick, why?

I have a set of four ntpd servers that sync time from the same stratum 1 server. But on some clients they all are marked falsetick, why? remote refid st t when poll reach delay ...
user avatar
3 votes
1 answer
3k views

Setting up an NTP server from LAN - KoD packet has inconsistent xmt/org/rec timestamps. Ignoring

I'm setting up a NTP server on my Ubuntu machine and I want my Raspberry Pi's and (eventually) Window's machines to sync from it. I thought things would be pretty straight forward, however I'm ...
user avatar
  • 45
2 votes
0 answers
512 views

Local GPS clock is marked as falseticker by ntpd — why?

I have a Linux NTP server with a ublox M8Q GPS module connected via GPIO (UART @ 9600bps and PPS). What I observe is that the local GPS source — SHM(0) — gets marked as falseticker and I'd like to ...
user avatar
  • 669
0 votes
2 answers
164 views

CentOS sending out NTP packets while NTP service is stopped

NTP service is stopped, still my CentOS machine is sending out NTP packets to a NTP server: # service ntpd status ntpd is stopped
user avatar
0 votes
1 answer
606 views

centos 7 NTP configuration

I am trying to configure ntp.conf with a stratum 1 server and also a peer VM on the same network. Config file is attached below. The problem is server with the IP address 10.6.11.171 does not seem to ...
user avatar
  • 21
0 votes
0 answers
108 views

querying data from NTP in ubuntu using socket

I have configured ntp to use gpsd as reference server on my machine. I am querying data from ntp directly, using udp socket. For ip address I use localhost and port_number = 123. Packet structure I ...
user avatar
  • 101
0 votes
2 answers
2k views

Can you configure a specific interface to reach the NTP server?

I have to configure NTP on a CentOS server. I have 7 interfaces and I can reach the NTP server through one interface. Also the server doesn't have access to internet. When I try ping: ping 10.0.10....
user avatar
0 votes
0 answers
88 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 chronyd , ...
user avatar
  • 451
0 votes
1 answer
72 views

Set up a NTP server which can be queried globally

I want to set up a server (hosted on aws/or a running system in some part of the world) as an NTP server that can be queried globally. Currently, I have modified the ntp.conf file on the node to be ...
user avatar
6 votes
1 answer
404 views

Using GPS as only source for NTP daemon

I have questions regarding the use of a GPS receiver as an external clock source for realization of a time server with NTP daemon (client version 3), on a local network with no connection to external ...
user avatar
0 votes
1 answer
2k views

Query on NTP current time source

I have a query regarding ntpd options and the ntpq command. I have set up a local NTP Server in Ubuntu 14.04 PC and NTP Client is a custom development platform based on Renesas RZ/G1H. I have ...
user avatar
0 votes
4 answers
898 views

ntp offset with stratum 1 , when using stratum 2

I was searching for a solution but didn't find clear answer. In my company, all our servers are syncing time with one of our private ntp servers (which are stratum 3 if I'm correct). These stratum 3 ...
user avatar
2 votes
0 answers
23k views

SOLVED NTP No Server Suitable For Synchronization Found Centos

I'm trying to set up an ntp server, and I can't query it. Whenever I try, I get this message: 6 Mar 18:57:01 ntpdate[27050]: no server suitable for synchronization found Here is my ntpd.conf file #...
user avatar
2 votes
2 answers
4k views

NTP Stratum Won't "Fudge"

I have two servers, blue and green. I want blue to pull time from green but it won't because the stratum on green is too high. Green has a regular internet connection. Blue does not. In googling ...
user avatar
0 votes
2 answers
628 views

Time is going too fast on FreeBSD 12 on compute engine

I have created a FreeBSD VM on Google cloud engine. The image is installed with ntpd configured and is running: $service ntpd status ntpd is running as pid 4950. But date is in the future, the time ...
user avatar
  • 101
1 vote
1 answer
1k views

ntpdate take long time to sync (not ntpd)

I have referred ntpdate -d Server dropped Strata too high. This is a similar but different question. I having two devices. Freescale ARM board (NTP server) Tinker board (client) In the Freescale ...
user avatar
  • 111
2 votes
1 answer
553 views

standalone NTP config

I am trying to setup local NTP server for some testing. I have installed NTP on Ubuntu 18.04 and commented server-pool block in the config file Here is the full config : driftfile /var/lib/ntp/ntp....
user avatar
  • 109
0 votes
1 answer
153 views

Deny NTP servers with stratum more than specific level

How can I deny in my /etc/ntp/ntp.conf to sync with the NTP server with specific stratum level (e.g. more than 5 )? I have a bad NTP server in my local network and sometimes is going really wrong ...
user avatar
  • 1
1 vote
1 answer
1k views

Behavior when not writing ntp.conf restrict

if I don't write restrict in ntp.conf , so ntp restrict is Unlimited? I wrote: interface ignore wildcard interface listen lo interface listen lan0 man page http://doc.ntp.org/current-stable/accopt....
user avatar
  • 146
8 votes
3 answers
5k views

Ntpd on local network - Preventing clock drift causing high offsets

I have a local network with a microcontroller ARM as the NTP server and I have a desktop computer running with ubuntu 16.04 LTS as a NTP client. Once I start ntpd -g -c /etc/ntp.conf with the ...
user avatar
  • 211
1 vote
2 answers
2k views

centOs : system time getting reset back to UTC after changing it using timedatectl

I have a Centos machine with version 7. I am trying to change the system time using the timedatectl command. The time gets changed but after a few seconds it gets reset back to it's original time. [...
user avatar
3 votes
2 answers
227 views

CentOS 4.6 Time Drift

I have a CentOS 4.6 box that was previously a physical device, and has been made into a VM, that has a cronjob to restart the server everyday at 23:00. Which is fine. However, since the shift to ...
user avatar
  • 31
1 vote
2 answers
2k views

ntp doesn't sync - Server has gone too long without sync

I'm unable to sync with ntp server. Any suggestions on how to force the ntpdate to work and sync? ntp.conf on clients are default with only the server address changed. ntpdate -dv 10.10.10.10 26 Sep ...
user avatar
  • 21

1
2 3 4 5