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

learn more… | top users | synonyms

1
vote
0answers
72 views

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 ...
4
votes
1answer
268 views

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, ...
6
votes
2answers
967 views

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 ...
2
votes
3answers
2k views

Is there any reason to have ntpd sync to Local(0) if server is not used as a time source?

Running CentOS release 5.8 I had a time drift issue on a server which I fixed - it was not syncing the hwclock so that on a reboot ntp would be more than 1000 seconds off and never sync time. While ...
3
votes
1answer
968 views

What are possible reasons for erratic NTP synchronistation?

On a Ubuntu 10.04 system I noticed following strange NTP sync events: Jul 3 02:19:51 hst ntpd[1432]: no servers reachable Jul 3 02:36:55 hst ntpd[1432]: synchronized to 91.189.94.4, stratum 2 Jul ...
2
votes
1answer
644 views

Why does CentOS not have an NTP drift file?

It seems that CentOS does not have a ntp.drift or similar file. In /etc/ntp.conf, it says that you can use /var/lib/ntp/drift as a drift file but this file does not exist. Does CentOS does not ...
5
votes
4answers
8k views

How to check if NTPD updates Linux 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 ...
8
votes
3answers
539 views

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.
3
votes
4answers
379 views

Has OpenBSD's ntpd replacement been ported to other BSDs? Or Linux?

I know the OpenBSD team wrote a from-scratch replacement for ntpd—OpenNTPD—that is available via pkgsrc/ports. My question is more about the base system: Is OpenNTPD the default ntpd in the base ...