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

236 questions
7
votes
2 answers

NTP server architecture

I have a virtual environment running several Linux boxes and I'm planning how to manage all of the ntp architecture. As far as I know, there is no use in having two servers in 'ntp.conf' file, there should be only one or more than three ntp servers…
Edgar Sampere
  • 85
  • 1
  • 9
7
votes
3 answers

How to set up local ntp server without internet access on ubuntu?

I have tried several guides on how to set up a local ntp server on ubuntu but none seem to work correctly. My servers are drifting heavily in time for some reason and I have to keep their time close together because I run databases that require…
j9dy
  • 173
  • 1
  • 1
  • 5
7
votes
3 answers

ntpd gets "connect: invalid argument" on 0.0.0.2

It appears the reply for pool.ntp.org changed recently. This is making my CentosOS 6 ntp servers unhappy. $ host pool.ntp.org pool.ntp.org has address 0.0.0.2 pool.ntp.org has address 83.209.8.142 pool.ntp.org has address…
Bittrance
  • 3,070
  • 3
  • 24
  • 27
7
votes
1 answer

How well will ntpd work when the latency is highly variable?

I have an application where we are using some non-standard networking equipment (cannot be changed) that goes into a dormant state between traffic bursts. The network latency is very high for the first packet since it's essentially waking the…
JP Anderson
  • 71
  • 1
  • 2
7
votes
3 answers

Using NTP to sync a group of linux servers to a common time source

I have 20 or so linux servers and I want to sync all of their clocks to a single NTP server, which is in the same rack and switch as my servers. Nothing is virtualized. Our admins are having trouble getting the clocks on the various machines synced…
Ted Graham
  • 171
  • 1
  • 2
  • 5
6
votes
1 answer

Using GPS as only source for NTP daemon

I have questions regarding the use of a GPS receiver as an external clock source for realization of a time server with NTP daemon (client version 3), on a local network with no connection to external time servers. I tried using three different GPS…
waldemar
  • 61
  • 1
6
votes
1 answer

Do I need ntpd on a LAMP server?

Do I need ntpd daemon / service on an LAMP server running Linux Debian 8.3? I have already disabled some obvious services, but I am not sure about this one.
6
votes
1 answer

Different offset in "ntpq -p" and "ntpdate -q"

I'm sometimes notified by our system monitoring about too high offsets in ntpd. When issuing ntpdate, it shows none. As ntpd adjusts time slowly, it seems to "think" there is an offset which needs to be adapted. But shouldn't ntpdate show this…
Christian
  • 341
  • 1
  • 2
  • 10
6
votes
1 answer

Is it possible to increase the rate at which ntpd updates the system clock?

We have some hosts that have gotten out of sync due to ntpd being mis-configured, with an ntp server that was unreachable. Our clocks on some hosts (CentOS 6) are now upwards of 30 seconds off (in the future it seems, for most of these). It looks…
MrDuk
  • 865
  • 2
  • 10
  • 18
6
votes
2 answers

NTP running, server time is wrong on VM

The server time was 7 hours off (instead of 10AM it was 3AM, even though date showed the correct timezone). The output for ntpq was: $ ntpq -p remote refid st t when poll reach delay offset …
sina
  • 189
  • 2
  • 2
  • 9
6
votes
1 answer

Tracing chain of NTP servers

For educational purposes I wanted to trace a chain of NTP servers, e.g. 0.de.pool.ntp.org back to a stratum 1 NTP server. How can I do this? I found ntptrace, but it doesn't work: /home/xyzdragon# ntptrace localhost: stratum 2, offset -0.009285,…
mxmlnkn
  • 425
  • 4
  • 12
6
votes
5 answers

Problem synchronizing server time with ntpd

I am trying to ntp sync one machine with another. both runs Debian lenny, and I installed the ntp package in both. I configured the server to synchronize with an external machine by putting server IP.ADDRESS iburst in it's /etc/ntp.conf file. I…
Omry
  • 685
  • 1
  • 7
  • 16
6
votes
2 answers

Hosting an NTP server on a standalone network

I have a LAN that is not connected to the internet, and I am trying to sychronize all the machines, Windows and Linux, to an NTP server. All I've been able to find is setting up an NTP client with an internet NTP server. How can I setup my own…
cdated
  • 199
  • 1
  • 1
  • 9
5
votes
2 answers

Is it possible to check NTPd status on a Busybox system?

I need to know if current date/time is reliable in a small embedded Linux system Busybox-based. I have Busybox ntpd running, but apparently there is no program to to query status. On a more conventional Linux installation I would use ntpdc, ntpq,…
ZioByte
  • 296
  • 4
  • 17
5
votes
1 answer

Apparmor denies ntpd access to its own logs

ntpd complains that it cannot access its own logs # ntpd -qgddd ... 11 Sep 16:23:00 ntpd[7262]: can't open /var/log/ntpstats/peerstats.20130911: Permission denied ... 11 Sep 16:23:01 ntpd[7262]: can't open /var/log/ntpstats/peerstats.20130911:…
Damn Terminal
  • 537
  • 3
  • 7
1 2
3
15 16