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
0answers
15 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
30 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: ...
3
votes
0answers
118 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
19 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 ...
8
votes
3answers
322 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
196 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. ...
-3
votes
1answer
81 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
34 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 , ...
0
votes
0answers
19 views

How to correlate used NTP peers back to configured servers/pools?

Given multiple server and/or pool declarations in ntp.conf, is there any way to correlate - at runtime - which peers came from which directives? I.E., assume lines for both server 0.us.pool.ntp.org ...
3
votes
1answer
65 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
102 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
153 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
110 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
298 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
602 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
112 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
178 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
171 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
177 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
154 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....
2
votes
1answer
3k 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 ...
0
votes
2answers
95 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
320 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
245 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
317 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
249 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
525 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
624 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 ...
0
votes
1answer
219 views

Is there any way to prevent chrony stratum plus one?

When using chrony, I synchronize the time from the clock source of stratum=2. Is there any way to prevent my machine from stratum=3, but stratum is equal to 2? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
-3
votes
1answer
280 views

What are the ports needs to be opened for NTPD?

Having port 123/UDP outbound but getting an error mentioned below. ntpdate -q 0.rhel.pool.ntp.org server 173.255.215.209, stratum 0, offset 0.000000, delay 0.00000 27 Sep 03:51:46 ntpdate[39518]: no ...
0
votes
2answers
1k views

Time drifting after NTP is configured

This is a XenServer 7.1 CU1 host. NTP should behave as in any other Linux distro. We have configured /etc/ntp.conf with following servers (have tried other servers with similar results and these ...
1
vote
2answers
870 views

How to run ntpd as a server only, without adjusting local machine time, under LXC

I have a need to point devices to sync their clocks to my CentOS-7 server running inside LXC. On the server I'm trying to use ntpd from ntp package, but open to other products. This question is about ...
-1
votes
1answer
80 views

when chrony sync time wtih local,why the Last Sample is not zero?

Linux version:Centos 7 chrony version :3.2 chrony.conf: driftfile /var/lib/chrony/drift local stratum 10 server localhost rtcsync makestep 1.0 3 logdir /var/log/chrony ...
2
votes
1answer
3k views

Monitor Busy Box NTPD in Tiny Core Linux

I use Busy Box with Tiny Core Linux in a virtual appliance. I can run NTP Daemon using /usr/sbin/ntpd -p pool.ntp.org The problem is it doesn't output any logs to /var/log/ntp.log. Am I looking at ...
1
vote
1answer
471 views

Skipping hardware clock and setting system time from NTP

For some reason the BIOS of my HP Proliant Microserver (running Debian Jessie) doesn't like its Battery anymore, I changed it a couple of times, it always complains about the Battery being empty, ...
0
votes
1answer
270 views

Time gets 3 hours forward always on midnight

Every time I sync the time on a CentOS 7 (Scientific Linux 7) server virtualized on VMware ESXi, I arrive the next day to find that the time gets 3 hours forward. I did a cronjob to write the time ...
1
vote
2answers
1k views

Time drift and wrong timezone within NTP configuration

We have 2 VLANs, each VLAN has a server that provides DHCP, DNS and NTP to its corresponding VLAN. These 3 servers take time from a local NTP server. Here is the configuration of NTP client and ...
0
votes
1answer
2k views

How can I use my local time as the only reference of `ntpd`?

I want to let my Linux device synchronize its local time with the local time of another Linux server without any other references. I don't care about the actual time. I want my fake time. Therefore I ...
1
vote
2answers
373 views

Can I start ntp.service after boot?

I've had issues with ntp drastically increasing the startup time, and I am not the only one, see for example here. Since it is responsible for adjusting my system time, I see no important reason for ...
0
votes
2answers
3k views

ntpd Configured for IPv6, Not Binding IPv6 Port

I have the following /etc/ntp.conf on CentOS 7.4: # /etc/ntp.conf: Ansible managed # drift file driftfile /var/lib/ntp/drift # restrictions restrict default nomodify notrap nopeer noquery restrict ...
0
votes
1answer
717 views

NTP Server - sync from local system clock

I need to create device (currently Raspberry Pi 3 based) which states as NTP Server, it has no connection to Internet and NTP should read actual time from local system clock (this clock is set from ...
1
vote
1answer
936 views

Should ntpd be used on Raspbian Stretch?

It was installed by default on the previous distributions (jessie, wheezy, etc), but it is not so on stretch. Before installing it, I wish to know whether there is some other preferred means to ...
1
vote
1answer
298 views

NTPD fails to update time correctly

After getting my Arch laptop to connect to my phone's hotspot, I was having trouble connecting to any websites that were't cached (for the most part, anything but Google). I looked a little, and ...
6
votes
2answers
10k views

Chrony 3.1 refuses to sync with ntp server

I have 70 machine with CentOS 7.2 and chrony version 2.1.1 syncing perfect with my NTP server protocol v3. Recently I added 30 machines with CentOS 7.4 and chrony version 3.1, but these 30 machines ...
6
votes
2answers
683 views

Is there a way to smear a time correction made by ntp?

I have a server that I am now managing that has clock drift and would like to correct the difference without causing a jump back in time on the server. I have read about the technique of leap second ...
0
votes
0answers
390 views

ntpd in systemd-nspawn

I'm playing with containerizing various parts of my server infrastructure and one of the services I would like to run in container is ntp daemon. I'm using systemd-nspawn (systemd 233) as a ...
3
votes
1answer
865 views

Unable to sync NTP v4 client to Windows AD server

I realize that Microsoft doesn't even recommend using a windows server as a time service, however I don't have a choice -- closed network in a windows centric shop. It became an issue when the newer ...
0
votes
4answers
178 views

Should I run a NTP daemon on my personal computer for extra security?

Would running an NTP daemon on my personal computer provide extra security? I'm asking because a tool was telling me to get a NTP daemon for security reasons. However afaik that tool is mostly ...
2
votes
0answers
528 views

preventing udev symlink overwrite

I built a PPS-capable GPS clock on my Raspberry Pi, and to get it to work, I needed to use udev to create symlinks to the hardware serial port and the kernel GPIO PPS on /dev/gps0 and /dev/gpspps0. ...
1
vote
1answer
334 views

What are the `0.0.0.0` addresses returned by `ntpdc`

It is a just installed ubuntu 16.04.2 server, and I installed ntp package there, which currently runs with the default config with only single line added: enable mode7 since otherwise ntpdc and ...