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

The Network Time Protocol daemon () is a daemon program that synchronizes the system time with time servers using the Network Time Protocol ().

Website: http://www.ntp.org

Man page: http://linux.die.net/man/8/ntpd

Wikipedia: http://en.wikipedia.org/wiki/Ntpd

166 questions
44
votes
2 answers

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: 16 precision: -20 root distance: …
a_guest
  • 573
  • 1
  • 5
  • 7
25
votes
3 answers

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 automatically. Recently I started seeing clock…
nass
  • 1,438
  • 8
  • 19
  • 35
23
votes
9 answers

How to check if NTPD updates machine's time successfully using shell?

I'm trying to use NTPD to update my Linux machine's time to a specified NTP server. Here is the scenario: Each time the Linux machine starts up, I want to update the time from NTP server and if it's not successful, I want to try again every 5…
sees
  • 245
  • 1
  • 3
  • 7
19
votes
3 answers

How to keep Debian internal clock synchronized (with NTP servers)?

I have a home server which runs an up to date Debian 7.5 (wheezy) installation. I just discovered that the server has its internal clock set to ± 3 minutes in the future. I knew that I could use NTP to synchronize Debian (and the motherboard…
A.L
  • 1,492
  • 3
  • 15
  • 29
15
votes
2 answers

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 messages. Is this due to a new network issue…
Varsuuk
  • 161
  • 1
  • 1
  • 5
15
votes
2 answers

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?
ComBin
  • 260
  • 1
  • 2
  • 6
11
votes
2 answers

Does `ntpd` set hardware clock?

Does ntpd set hardware clock? Does ntpd set hardware clock if I pass -q option (mean one-time correction)? Linux 3.5.6, ntp 4.2.6.p5. Here is written that ntpd syncs the system clock to hardware every 11 minutes, but I can't find reference to this…
user14284
10
votes
3 answers

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 refuse to sync, I followed all the troubleshooting…
Jawad Al Shaikh
  • 211
  • 1
  • 2
  • 7
10
votes
1 answer

strange NTP traffic

I have a number of openSUSE VMs (mostly 13.1). One of the VMs is configured to sync its time with the outside world, the other ones sync with this one. This has never caused problems (that I am aware of). Now I noticed that ntpd on the…
Hauke Laging
  • 88,146
  • 18
  • 125
  • 174
9
votes
2 answers

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 updating the system clock. We see 2 to 3 of these a…
Philip Couling
  • 17,591
  • 5
  • 42
  • 82
8
votes
2 answers

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 cannot seem to figure out why ntp won't work now. In…
Gui13
  • 168
  • 2
  • 11
8
votes
3 answers

What could cause the clock to jump by 5 minutes?

I have a (physical) box running a stripped down Ubuntu; every now and then (6 times in 3 months), the clock jumps backwards by exactly 300 seconds (+- 0.01 seconds; always exactly 300 seconds). It happens from one minute to the next (I have an…
AMADANON Inc.
  • 853
  • 7
  • 12
7
votes
3 answers

How can I tell if my system is keeping the system time up to date?

How can I tell if my Debian system is keeping the system time accurate by getting NTP updates? Basically I want to turn this on if it is currently off, but I don't know if it is on or off.
7
votes
1 answer

Error when running ntpd on openVZ host: cap_set_proc() failed to drop root privileges:

CentOS 6.x | OpenVZ I want to run a NTP server on a vps host of mine. Is this possible? When I try to start ntpd, it fails immediately and gives the following error: Mar 14 22:47:44 ev1 ntpd[3456]: cap_set_proc() failed to drop root privileges:…
Mike B
  • 8,769
  • 24
  • 70
  • 96
7
votes
2 answers

How to get ntp to use gpsd to update system date/time with a large offset

I have a GPS connected to my system, and if I change system time to be ahead/behind GPS time by less than 4 hours, ntpd ensures that the system time is updated to match that of the GPS. If, however, that offset is beyond 4 hours, no update takes…
tshepang
  • 64,472
  • 86
  • 223
  • 290
1
2 3
11 12