Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

-1
votes
0answers
21 views

ntp to chrony config file mapping

I'm upgrading some sles11 boxes to sles15 and may need (or may not) need to know what some of the things we've got configured in our current instance of ntpd on the sles11 boxes does so I can find an ...
0
votes
1answer
15 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
33 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
45 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:~$ ...
1
vote
0answers
63 views

Why is ntpd burning about 100% CPU? [closed]

Linode emailed me saying that I had averaged >100% CPU for the last few hours; top indicated that nptd was burning over 99% CPU. My Linode is the host to a few websites (directories containing HTML ...
0
votes
2answers
38 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
38 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
326 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
50 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
73 views

What do the ntp options “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
108 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
100 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
141 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
277 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 ...
1
vote
2answers
185 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
146 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
63 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
421 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
365 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
67 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 ...
0
votes
0answers
29 views

SElinux grant permission to ntp daemon [duplicate]

I updated the ntpd.conf file to read some data from a device in the /dev directory. Running NTP daemon I got the error: Sep 04 17:09:08 hardware ntpd[5742]: PARSE receiver #0: parse_start: open of /...
1
vote
1answer
1k 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
281 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
182 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
824 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
1k 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
247 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
2k 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
436 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
904 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
235 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
6k 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 ...
5
votes
2answers
431 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
300 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
724 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
160 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
347 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
273 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 ...
1
vote
1answer
5k views

Exiting, name server cannot be used: Temporary failure in name resolution (-3) 3 Jul 07:24:03 ntpdate[20133]

When I use the below comamnd: ntpdate cn.pool.ntp.org I get the below error: Exiting, name server cannot be used: Temporary failure in name resolution (-3) 3 Jul 07:24:03 ntpdate[20133]: name ...
0
votes
1answer
366 views

when use systemd start ntpd mount namespace is different from pid 1

when use systemd to start ntpd, why ntpd pid's mount namespace is different from pid 1? when use systemd start ntpd only mount namespace is different from pid 1; you see ntpd mnt:[4026532696] , but ...
9
votes
2answers
7k views

Mint 18.1 - A whole lot of “Soliciting pool server xxx.xxx.xxx.xxx”

I was looking in syslog to look into an audio issue and I see a hell of a lot of the Soliciting pool server ntp daemon messages. I've run other linux in past and never recall seeing so many ntp log ...
0
votes
1answer
655 views

ntp-4.2.8.p10-1 fails after upgrade due to libcrypto.so.1.0.0 (installed 1.1) dependency and wants downgrade to 4.2.8.p9-2. How does that make sense?

Disclaimer: This really is not a major issue critical to the stable operation of my system but I am asking this because I simply can't make any sense of it and I would really like to know what is ...
1
vote
1answer
410 views

11 minute mode when more than 30 minutes out of sync

In ntpd the kernel copies the system time to the hardware clock every 11 minutes. However, if the system time and hardware clock are more than 30 minutes out of sync this copy does not happen and the ...
2
votes
1answer
3k views

timed out, nothing received on ntpdc> loopinfo?

Everything seem to work on this command ntpq -pn, it show me: remote refid st t when poll reach delay offset jitter ===========================================================...
1
vote
1answer
2k views

NTP not syncing time even with `tinker panic 0` in /etc/ntp.conf in Centos 7.3 -Resuming VM from paused state

It seems that having the time update when resuming a VirtualBox VM from a paused state is not possible. I've reached this conclusion after reading online for a few days and trying many different ...
2
votes
1answer
251 views

How to check if autokey is enabled for NTP?

I'm running a version of NTP that could be vulnerable to cve-2009-1252 and I want to ascertain whether it is or is not. The vulnerability's page is https://access.redhat.com/security/cve/cve-2009-...
3
votes
2answers
376 views

sed: remove all matches in the file and insert some lines where the first match was

Say I want to automatically update my /etc/ntp.conf configuration using sed. Format of ntp.conf allows to define lists by usage same keywords for lines occurred all over the file. For example: # ...
1
vote
1answer
61 views

Digital clock in Lubuntu 16.04 shows one hour more under CET ZT

The digital clock is synchronized with internet servers, set to Europe/Madrid ZT (i.e. CET), but shows one hour more, at the time of posting this question it is 20:31. I've tried to remove and add it ...
2
votes
1answer
711 views

When will ntp update the time

I have two debian wheezy machines on the same LAN that have clocks synchronized using NTP. Using date I see that the times are synchronized. I then set the time back about 30 seconds using date --set ...
0
votes
2answers
1k views

Unable to synchronize ntp with servers

I have gone through several tutorials regarding NTP and synchronizing the system clock, but I am still not able to get my system's time right. I followed the following steps on a machine running ...