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
2answers
2k 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 ...
2
votes
3answers
2k 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
120 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 allow this picture is about ...
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
779 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
333 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
2k 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 ...
2
votes
2answers
3k 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
418 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 ...
1
vote
2answers
4k 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
1k 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
957 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
321 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 ...
9
votes
3answers
17k 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 ...
7
votes
2answers
1k 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
533 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
1k 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
233 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
774 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
443 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 ...
3
votes
1answer
9k 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
586 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 ...
13
votes
2answers
10k 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
877 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 ...
2
votes
1answer
669 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 ...
3
votes
1answer
4k 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
3k 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
285 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
719 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
93 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
1k 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
2k 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 ...
22
votes
3answers
19k views

how do you set up a linux client to use ntp information provided through dhcp?

there are so many tutorials out there explaining how to setup dhcpd server, in relation to providing ntp suggestions to dhcp clients, that I had always thought that ntp configuration was carried out ...
7
votes
3answers
3k views

OpenBSD 6.0 ntpctl says “clocked synced” but is ~26 seconds behind

My OpenBSD host is running NTPD but is 26 seconds slow, despite it saying "clock synced": user@host:~# ntpctl -sa 4/4 peers valid, clock synced, stratum 3 peer wt tl st next poll ...
1
vote
1answer
94 views

why is NTPD constantly trying to update?

I have this weird issue which I can not track down to anything, I'm pretty unexperienced though so it could be likely I've been missing something obvious. I'm struggling to understand why the ntpd ...
3
votes
1answer
13k views

NTP client not synchronizing from a private NTP server

We have a private network that we wish to implement an NTP server inside. Both the NTP server and client have been configure like this. On the server running ntpstat gives me: synchronised to local ...
0
votes
0answers
3k views

NTP clock drifting out of sync frequently. Offset too high

I am having some problem with a local NTP server time synchronization. The clock drifts out of synchronization again and again. I initially tried stopping the ntpd daemon. Then ran ntpdate to ...
4
votes
1answer
451 views

collectd cannot monitor ntpd 4.2.8 (Ubuntu 16.04)

I have a Docker container based on Ubuntu 16.04 which runs the ntpd 4.2.8 service. Upon instantiation of the container, I've published the port 123/udp. From the host or other computer on the LAN, I ...
1
vote
1answer
927 views

understand the system clock in NTP

As I understand, NTP drift file(/var/lib/ntp/ntp.drift in Debian-based distributions) stores the offset of the NTP peers and system clock. However, does the system clock mean CR232 battery on my ...
37
votes
2answers
38k views

ntpd vs. systemd-timesyncd - How to achieve reliable NTP syncing?

When I query the status of the NTP daemon with ntpdc -c sysinfo I get the following output: system peer: 0.0.0.0 system peer mode: unspec leap indicator: 11 stratum: ...
1
vote
2answers
817 views

Where is the ntpd package on Ubuntu Wily (15.10)

I am looking for/trying to install ntpd I am using the following Ubuntu distribution: Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily sudo apt-get install ...
1
vote
1answer
5k views

CentOS 7.2 Minimal Time synchronization timedated and/or ntpd/chrony

Environment: KVM CentOS 7.2 Minimal installation. I am trying to sync the time with an NTP server in my network. My Proxmox-Host (Debian based) is able to do this by enabling systemd-...
2
votes
2answers
3k views

Switch off 11-minute kernel mode

If ntpd works, then the kernel copies system time to hardware clock every 11 minutes. It is shown by command adjtimex --print I want to stop the kernel eleven mode. If I run hwclock --hctosys ...
1
vote
1answer
314 views

ntpdate on debian

I recently installed ntp on Debian and when issue command: ntpdate ip_of_domain_controller it states: adjust time server. But the time is 3 hours earlier. Other equipment like HP switches are getting ...
1
vote
3answers
9k views

NTP synchronization in CentOS 7

I configured an NTP server on a CentOS 7 machine (a virtual one) and also configured the ntp.conf file of the clients (which also are virtual and run CentOS 7). The NTP synchronization works perfectly ...
3
votes
1answer
21k views

Script to check ntp status and system time sync

Looking for a script to (1) check status of ntp and (2) if it is within +/- 1 second of a given time server (eg 123.456.789.10). (3) In addition, system time should be checked to see if the timezone ...
5
votes
1answer
10k views

Setting time and date without using NTP

I have a "windriver" linux based Wimax ASN, and when ever I login, I find the date and time is wrong (example: "15 jul 2010"). Whenever I set both the date and time with the date command, or the ...
0
votes
1answer
606 views

ntpdate reports failure after successfully getting the offset

ntpdate -d sometimes prints no server suitable error even though it successfully connected to the server and printed the offset. Why? In my scripts in need to distinguish network errors and this one. ...
10
votes
2answers
10k views

Difference between chronyd and ntpd

What is the difference between chronyd and ntpd? I know that ntpd can gradually adjust the time so that it can converge gradually to the the reference clock. Can this be done with chrony?
5
votes
1answer
6k views

VM with ntpd running but not syncing

TL; DR VM using KVM, time is not synchronized. After a 2 minute suspend, it keeps a permanent 2 min gap. Setting up another VM with different network config shows that network config prevents ntp ...