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

3
votes
0answers
21 views

NTPD Nanokernel

I had a couple of questions about the NTP Nanokernel as explained here: http://www.eecis.udel.edu/~mills/database/brief/nano/nano.pdf The big question is how does this Nanokernel manage to deliver an ...
0
votes
0answers
29 views

How to update NTP without shutting down the NTP daemon?

I would like to have a one-liner for updating the date via NTP getting the NTP-servers from the /etc/ntp.conf file. Especially because a manual command does not always work, because of firewall rules, ...
1
vote
1answer
69 views

Unable to start locally-built ntpd from system service script

I built ntpd from source, which process put it in /usr/local/sbin. Of course, the ntp service points to /usr/sbin. So, I thought I could just change the path in the init.d configuration file like ...
1
vote
2answers
42 views

ntpd installed to local directory, now have two versions

I got the latest version of ntpd because the binary releases have vulnerabilities. Unfortunately, after I built it and ran make install, it was installed to /usr/local/sbin, but the system is running ...
3
votes
0answers
173 views

Why won't ntpd synchronize?

I'm transferring from one server to another. Identical configuration, newer hardware, same data center. The new machine CAN speak NTP: $ sudo ntpdate -d ntp.jentfoo.com Password: 24 Aug 14:50:59 ...
1
vote
0answers
106 views

ntp not syncing

Since my hardware (Rasberry Pi) does not have a hardware-clock, each bootup warps us back to the 1970's, so I use NTP. The gateway in the wifi I am in provides an NTP-Server-service. my /etc/ntp.conf ...
0
votes
1answer
808 views

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 can use NTP ...
2
votes
2answers
115 views

Postponing ntpd

I am currently trying to cut boot time for an embedded Linux system. One way we figured we could do that is by postponing the ntp init.d script. The daemon tried to synchronize with the server via ...
0
votes
1answer
979 views

IPTables allow NTP Time Server

I am new to IPTables. I have an existing config that seems to work well. I am not sure I know how to add NTP to the rule Chain RH-Firewall-1-INPUT correctly. My goal is to add an additional rule to ...
10
votes
1answer
385 views

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 (I am aware of). ...
2
votes
2answers
175 views

FreeBSD's net/ntp port is forbidden due to CVE-2013-5211, with no support upstream

FreeBSD port net/ntp was marked forbidden because it is vulnerable to traffic spoofing and amplification attacks, as documented in CVE-2013-5211. However, there's been no support from the upstream ...
3
votes
1answer
528 views

NTP server not working properly

I have installed a very simple NTP server on a Red Hat server I own, the configuration is pretty basic: driftfile /var/lib/ntp/drift restrict default kod nomodify notrap restrict -6 default kod ...
1
vote
1answer
661 views

CentOS 6 KVM host with CentOS 6 guests kvm-clock enabled major time drift

I have a CentOS 6 KVM host with CentOS 6 guests, all 64bit. The host syncs time from NTP and has remained bang on. All the guests have kvm-clock listed as current_clocksource but over the last 3 ...
6
votes
1answer
3k views

Arch ntpd/ntpdate not synchronizng clock

My raspi running Arch isnt updating time with NTPD. Im running [root@fatpi ~]# cat /proc/version Linux version 3.10.28-1-ARCH (nobody@root-armv6-copy) (gcc version 4.8.2 20131219 (prerelease) ...
8
votes
3answers
314 views

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 ...
2
votes
1answer
418 views

NTP is synced properly but still doesn't update the time?

I wanted to test if ntp was working on my machine, so I set the time back 5 minutes and restarted ntp $ sudo service ntp stop $ sudo date -s "9:40 AM" # This time was 5 minutes ago $ sudo service ntp ...
4
votes
2answers
223 views

ntpd takes 9 hours to sync

I had a situation lately with a host that need up to date ntp servers. We had during the weekend a crash of our internet router. When everything came back to hte normal our application was still ...
1
vote
1answer
955 views

enable/disable NTP service on Ubuntu 12.04

Our application runs on Ubuntu 12.04 precise. On this server, we have both ntpdate and ntp. How to enable and disable ntp service on-demand? I tried sudo update-rc.d -f ntp remove/default and ...
3
votes
1answer
160 views

NTP symmetric mode

I'm configuring NTP symmetric modes. Say I have Peer A (192.168.101.1) and Peer B(192.168.101.2) and configure their ntp.conf as follows: # Peer A peer 192.168.101.2 server 127.127.1.0 fudge ...
3
votes
1answer
1k 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 ...
5
votes
1answer
994 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, ...
8
votes
2answers
4k 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 ...
4
votes
4answers
6k 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 ...
4
votes
1answer
3k 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 ...
3
votes
2answers
2k 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 ...
9
votes
8answers
23k views

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 ...
8
votes
3answers
1k 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
494 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 ...