Questions tagged [ntp]

The Network Time Protocol, is used to synchronize system clocks to precision time servers on the internet or locally connected devices such as a GPS.

Filter by
Sorted by
Tagged with
1 vote
1 answer
21 views

What is timedatectl's definition of "synchronized"?

timedatectl produces the following output: Local time: Tue 2022-05-10 01:07:46 UTC Universal time: Tue 2022-05-10 01:07:46 UTC RTC time: Tue 2022-05-10 01:07:...
user avatar
0 votes
1 answer
34 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
0 votes
1 answer
43 views

chrony keeps going in future

I have chrony installed on a centos 8 system and it keeps setting the time in the future by about 2 hours every 2 days. I have to keep restarting the service and do an ntpdata to fix itm and it is ...
user avatar
  • 548
0 votes
0 answers
63 views

timedatectl: problem with NTP returning localtime instead of UTC time

On my embedded Linux, I have a problem with time zones: I'm trying to keep the UTC time in the RTC of the device. But somehow, timedatectl keeps adjusting time to the local time and not the UTC time, ...
user avatar
1 vote
0 answers
55 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
0 votes
1 answer
286 views

System clock synchronization is not working after upgrading to pop_os 21.10

I've recently upgraded to pop_os 21.10 from 21.04 and every time I boot my device I get random time/date set on my machine. Automatic date and time under settings is not working. The following is the ...
user avatar
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
1 answer
212 views

Automatic time synchronization: `ntpdate` works but `chrony` does not

I have a problem with time synchronization of my Linux server. Both this machine and the NTP server are located in a (smaller) university data center hence the local address. What is strange is that ...
user avatar
1 vote
1 answer
75 views

Unexpected critical dependency on LDAP

I'm using LDAP for user authentication only (nsswitch.conf below) on Ubuntu 18.04. However if the host cannot connect to the LDAP server at boot time, startup is blocked by NTP and DNS. The LDAP ...
user avatar
  • 4,225
1 vote
0 answers
32 views

Possibly stuck in a XY problem with NTP

I have two stand-alone systems, which I'll refer to as Vanguard and Crucible. Vanguard has an RTC battery, whereas Crucible does not. Vanguard's date and time will be updated periodically by hand. ...
user avatar
2 votes
2 answers
256 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
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
1 vote
0 answers
53 views

Chrony tracking.log showing IP Address of 0.0.0.0

I have a NTP server running chronyd that is configured with the following pool: pool 0.dk.pool.ntp.org iburst pool 1.dk.pool.ntp.org iburst pool 2.dk.pool.ntp.org iburst pool 3.dk.pool.ntp.org iburst ...
user avatar
1 vote
1 answer
51 views

Crazy clock drift on ancient VM

I am stuck with a Centos 5.3 VM (running on Proxmox) which exhibits huge clock drift. It was configured to run ntpdate every 5 minutes but the clock was still getting out of sync by up to 20 seconds ...
user avatar
  • 4,225
0 votes
0 answers
564 views

systemd-timesyncd: Timed out

I'm struggling to synchronize my system clock on Pop OS 21.04. I've read a lot of posts on the subject but it doesn't seem to help. my system clock are not synchronized, which caused issues with ...
user avatar
0 votes
0 answers
25 views

How to get NTP server log ntpdate queries from clients?

I am running an NTP server on one Linux machine and querying it with ntpdate -q <IP> from another. I would like to see some logging on the server of how clients access it. How to enable that? I ...
user avatar
2 votes
0 answers
74 views

is there a generic way to check if time is synchronised

I am writing some software that runs on a system that may or may not have access to the internet and I want it to behave differently depending on whether the clock is synchronised, It will likely run ...
user avatar
  • 3,870
2 votes
1 answer
69 views

Does having hyperv-daemons enabled show that the system clock is synchronised by timedatectl?

We are opting to disable chronyd in favour of using hyperv-daemons to keep our server clocks in sync so that the guest OS time is managed by the machine that the VM is running on. After disabling ...
user avatar
1 vote
1 answer
2k views

Synchronizing NTP machines with a high root-time server

I have a small network of machines that use systemd-timesyncd.service and need their clocks to be synchronized. They don't need to be correct, just synchronized. I have designated one of the ...
user avatar
  • 8,619
0 votes
0 answers
28 views

CentOS 7 Network drops after changing clock?

So I have a CentOS 7 desktop box that has been rock solid for a few years. However I noticed that my system clock is fast by about 7 or 8 minutes. NTP was not running. Every attempt to reset the ...
user avatar
3 votes
1 answer
222 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
299 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
486 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
2k views

timedatectl fails to query server

When running timedatectl to check if my system clock has been synchronized via NTP I get the following: ~> timedatectl Failed to query server: The name org.freedesktop.timedate1 was not provided by ...
user avatar
0 votes
1 answer
128 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
0 votes
0 answers
22 views

Old Linux machines support chronyd service?

We have installed OEL 8 NTP Server in our enviroment. My question is : We have old linux server. Does support old linux machines to the chrony service ? thanks,
user avatar
  • 485
0 votes
1 answer
87 views

Cronyd service - NTP clients using OEL 8 NTP Server

We have an OEL 8 NTP Server. We have been using chrony service. we are trying find what clients are being served by the NTP server. Thanks,
user avatar
  • 485
2 votes
1 answer
315 views

Why is the computer clock off by few seconds after reboot?

My computer runs 24/7 and does an automatic reboot at night after each kernel/systemd/glibc upgrade. On Fedora this happens every few days. The system clock is synchronized with NTP protocol using the ...
user avatar
  • 671
1 vote
1 answer
1k views

The new way to synchronize with time is systemd-timesyncd. What is the replacement for `ntpq -p`?

With ntp, I could run ntpq -p to see the current status of the clock precision. Is there an equivalent with the new systemd-timesyncd service? I looked at the timedatectl command, it gives me these ...
user avatar
  • 2,305
2 votes
1 answer
143 views

How to configure openntpd to only rarely connect to NTP servers and sync the clock (or only when a large clock drift was detected)?

Because the clocks of multiple of my Debian/KDE machines went off by many minutes for no apparent reason and common mainboards (or at least the one that I have) don't have accurate, reliable hardware ...
user avatar
  • 3,410
0 votes
2 answers
354 views

How do I get the time from a time server like time.google.com using ntpq?

I just want to get the time from time.euro.apple.com or time.google.com I don't want to set anything, or sync anything, I just want to know what they think the time is. I have ntpq
user avatar
0 votes
2 answers
421 views

Set NTP Server and Client to use UTC time and not any other timezone [closed]

I need to know how to configure NTP server and Client to use UTC time and not any other NTP pool servers in Ubuntu 18
user avatar
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
0 votes
1 answer
251 views

chronyd not responding to some hosts

I have a vanilla install of CentOS 8 ad am using it as an NTP server with Chronyd. It is silently refusing to answer a host on its own network, but it will answer another host I have tested off ...
user avatar
1 vote
0 answers
175 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
234 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
147 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
1 vote
1 answer
71 views

Should DNS queries for the time servers be encrypted?

When it comes to encrypting DNS queries using dnscrypt-proxy, people also tend to use dnsmasq on their linux machines. The main goal of this setup in the past was to provide cache for DNS queries, but ...
user avatar
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
  • 801
0 votes
0 answers
72 views

What does mean mobilize in NTP context?

NTP man pages and its documentation talk about "mobilize/demobilize". What does it really mean? For example: Association Management
user avatar
  • 3,939
2 votes
1 answer
554 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
762 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
0 votes
0 answers
119 views

What is the purpose of the PID file for NTP?

One of the standard configuration settings of the ntp daemon is to set the name and path to a file where the PID of the ntp daemon currently running is stored. In the past, this file has been a source ...
user avatar
  • 5,321
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
123 views

configuring ntp to sync with server on local network

I'm running Debian 9 on field deployed machines that don't have Internet access. I point these clients to a local ntp server at 192.168.1.10 by adding the following line to /etc/ntp.conf server 192....
user avatar
0 votes
1 answer
2k views

timedatectl Cannot send after transport endpoint shutdown

My ntp service running well but I can't start timedatectl, any one can help? # systemctl status ntp ● ntp.service - LSB: Start NTP daemon Loaded: loaded (/etc/init.d/ntp; generated; vendor preset: ...
user avatar
0 votes
0 answers
174 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
973 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

1
2 3 4 5 6