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).
237
questions
0
votes
2
answers
68
views
How to synchronize time between two devices on a local network using NTPD, with one device serving as both client and server on separate interfaces?
I am using STM32MP1 based two devices which runs on Yocto Linux platform. Among them one has two network interfaces (wlan0, wlan1) where wlan0 is used for connecting with internet servers & wlan1 ...
0
votes
1
answer
207
views
ntpdate works but ntpd servers stuck at .INIT
There have been several similar questions to this, but none with resolutions.
I can run ntpdate on the machine, and the date is updated. I assume that this means there is no firewall problem.
I have ...
1
vote
0
answers
376
views
NTP client synchronizes with LOCAL instead of stratum 1
I have 2 NTP servers. One synchronized directly with a GPS clock (I will call this server 185), so st 0.
Then I have a second one (Let's call it 186) that should synchronize with the 185 since it is ...
1
vote
1
answer
479
views
How to test whether NTP server is secured or not
We are trying few of the configurations of NTP in ntp.conf file and want to be sure whether the NTP server is secured or not.
Following the recommendation provided here:
https://support.ntp.org/...
0
votes
1
answer
175
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 ...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
2k
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 ...
1
vote
2
answers
14k
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 ...
0
votes
1
answer
1k
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 ...
1
vote
2
answers
1k
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....
0
votes
1
answer
4k
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 ...
0
votes
1
answer
971
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 ...
0
votes
2
answers
1k
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 ...
1
vote
0
answers
275
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.
...
0
votes
1
answer
177
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 ...
1
vote
1
answer
753
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 ...
0
votes
1
answer
938
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 ...
0
votes
1
answer
369
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.
...
4
votes
4
answers
6k
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 ...
3
votes
2
answers
40k
views
ntpd fails to sync TIME_ERROR: 0x41: Clock Unsynchronized
On Debian 10, ntpd [email protected] 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 ...
0
votes
2
answers
1k
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
...
3
votes
2
answers
6k
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'...
1
vote
1
answer
704
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 ...
0
votes
2
answers
2k
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 ...
0
votes
0
answers
493
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 ...
0
votes
1
answer
6k
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 (...
0
votes
2
answers
2k
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 ...
2
votes
1
answer
1k
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 ...
1
vote
2
answers
957
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 ...
3
votes
1
answer
5k
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 ...
2
votes
0
answers
782
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 ...
0
votes
2
answers
287
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
0
votes
1
answer
705
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 ...
0
votes
0
answers
169
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 ...
0
votes
2
answers
3k
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....
0
votes
0
answers
115
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 , ...
0
votes
1
answer
169
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 ...
6
votes
1
answer
641
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 ...
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 ...
0
votes
4
answers
1k
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 ...
2
votes
0
answers
29k
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
#...
2
votes
2
answers
7k
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 ...
0
votes
2
answers
729
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 ...
1
vote
1
answer
2k
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 ...
2
votes
1
answer
648
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....
0
votes
1
answer
364
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 ...
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....
8
votes
3
answers
7k
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 ...
1
vote
2
answers
3k
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.
[...
3
votes
2
answers
311
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 ...