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
3
votes
1answer
143 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 ...
0
votes
0answers
30 views

Clockdiff: host is down

I have two computersin 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 ...
0
votes
1answer
46 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 ...
0
votes
1answer
35 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 ...
2
votes
1answer
39 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 ...
1
vote
0answers
30 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 ...
0
votes
2answers
62 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....
1
vote
0answers
47 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 ...
0
votes
1answer
402 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 ...
2
votes
1answer
280 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 ...
1
vote
0answers
406 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 ...
1
vote
0answers
17 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) ...
0
votes
0answers
48 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 ...
0
votes
0answers
44 views

check Ntp daemon via Ntp3 protocol

On the server, I stop the chronyd daemon (ver 3.5). I start it and send a NTP3 CLIENT query, to localhost port 123/udp: NTP_VERSION << 3 | NTP_MODE_CLIENT The first answer has the status 0xdc ...
0
votes
0answers
537 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 ...
1
vote
2answers
2k 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. ...
2
votes
2answers
1k 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....
0
votes
2answers
102 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 ...
1
vote
1answer
119 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
43 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
316 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 ...
1
vote
1answer
61 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 ...
0
votes
0answers
60 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: ...
5
votes
2answers
2k 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 ...
1
vote
0answers
120 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 ...
9
votes
2answers
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 ...
0
votes
1answer
353 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. ...
-2
votes
1answer
302 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?
0
votes
0answers
43 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 , ...
3
votes
1answer
206 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 ...
1
vote
1answer
284 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/...
1
vote
1answer
474 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 ...
1
vote
1answer
344 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
1k 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, ...
0
votes
1answer
422 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 ...
-1
votes
2answers
514 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....
0
votes
1answer
1k views

Cannot disable network time control (NTP)

I want to analyze some protocols (ARP, NDP, etc.) inside virtualbox (OS: Linux Mint 19.1 Tessa) using wireshark and tried to disable the "network time control"-synchronization. yuza@VirtualBox:~$ ...
0
votes
2answers
379 views

ntpd - Why/how is my network getting ntp synchronization while my ntpd is down on its provider?

I was under the impression that the ntpd service is required to be active for my network to be getting ntp data. All of my devices are synchronized to the server's IP, yet when I SSH into the server, ...
0
votes
1answer
331 views

Sync 1pps sync with system clock

We need to use 1pps (gpio source) for timestamp in application. I thought that ntp should be used with the linux pps for this purpose. But the system is standalone without any other servers connected....
4
votes
2answers
8k views

ntpd not running

Have confirmed correct server is configured in /etc/ntp.conf It can ping that server. It definitely has the ntp package /home/admin# dpkg -s ntp Package: ntp Status: install ok installed But the ...
1
vote
2answers
384 views

How often (and when) does NTPD update the time?

I have an Oracle Linux 6 box (RHEL) and I have set up ntpd. I have run service ntpd start and chkconfig on. Now, if my date is incorrect and I reboot the box, it sets the time and date properly. ...
1
vote
1answer
2k views

What does the ntp option “restrict default nopeer” do?

NTP version installed: ntp-4.2.6p5-5 I'm trying to understand the usage and meaning of the ntp restrict along with restrict default nopeer Quoting the NTP documentation: nopeer: Deny packets ...
1
vote
0answers
494 views

Running `ntpd -q -g` to set the time on Raspberry Pi never completes

On my Raspberry Pi which has been running for about 4 or 5 years now, I have a cron job running every hour that sets the time. I know form experience that my Pi has a tendency to drift its time quite ...
1
vote
1answer
787 views

ntpq does not print the list of the peers immediately

I'm on FreeBSD. I used from a cisco router as the server and my system as the client. I used ntp to sync the clock between server and client. It worked and the clock has synced but when I run ntpq -p, ...
1
vote
2answers
332 views

Force system to use NTP time

Usually ntpd will refuse to change (or slew) system time if difference is too large. Is there some way (possibly via ntpq) to tell ntpd: "jump to whatever time you think is right"? Specifically it ...
0
votes
1answer
753 views

How to extend SELinux policy to allow ntpd to use gps?

There is an attached device on the motherboard and the NTP service tries to read data from it (the attached device link is in /dev directory). Using SELinux enforcing, the service status errors that ...
2
votes
2answers
2k views

How to emulate ntpdate -q with ntpd?

From man ntpdate on a CentOS 7.2 server: Disclaimer: The functionality of this program is now available in the ntpd program. See the -q command line option in the ntpd - Network Time ...