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
2answers
33 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 ...
0
votes
0answers
52 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
1answer
75 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 --...
1
vote
1answer
31 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 ...
0
votes
0answers
33 views

ntpq shows my NTP version as 4.2.6p5@1.2349-o

ntpq shows my NTP version as 4.2.6p5@1.2349-o Can someone explain what the suffix of @1.2349-o (especially the -o) means? $ ntpq -c rv associd=0 status=4615 leap_add_sec, sync_ntp, 1 event, ...
0
votes
0answers
15 views

ntpd -gq exiting with exit code 124

When I execute timeout ntpd -gq on ntp client machine, I got exit code 124. I executed using strace also #strace timeout 30 ntpd -gq it is getting stuck at the following point. Only few lines: ...
0
votes
0answers
22 views

ntpd and authentication why doens't work?

I want to try ntpd authentication using ssl and GQ scheme but failed (IFF also failed). I did those steps server is called slackware32,and client slack64 port 123 udp and tcp opened on both machines. ...
1
vote
3answers
256 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 ...
1
vote
1answer
155 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 ...
0
votes
1answer
105 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
26 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. ...
1
vote
0answers
142 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
582 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 ...
0
votes
2answers
140 views

Does ntpd have a default driftfile?

I have an embedded Linux with busybox's ntpd. My ntpd.conf is tinker panic 0 server pool.ntp.org iburst server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst restrict default kod nomodify notrap ...
1
vote
1answer
429 views

How to solve the problem of ntp “Unable to contact time server” from KDE?

I want to set date and time automatically but this error appears when I try to .. I'm using openSUSE, I tried different servers but it didn't work either, help please! It doesn't seem to be a ...
1
vote
0answers
117 views

ntpd socket problem

Currently I have a C# program that queries my NTP server (CentOS 7) public static DateTime GetNetworkTime() { const string ntpServer = "192.168.10.48"; var ntpData = new byte[48]; ntpData[...
0
votes
1answer
124 views

Troubleshooting GSS-API error on one client authenticating to Kerberos

When authenticating to kadmin with one client of many, it fails with kadmin: GSS-API (or Kerberos) error while initializing kadmin interface. The Kerberos host is specified with its subnet address....
1
vote
2answers
300 views

Synchronize the date and time on compute nodes

I want to set a job on compute nodes but I checked and see time and date of compute nodes are not sync with the head nodes. Head node shows: Wed Jul 22 16:57:32 PDT 2015 node 2 shows: Wed Jul 22 11:...
0
votes
1answer
345 views

NTP issues on Nagios server

Our Nagios server NTP has isn't working right. First here is the issues: root@ccsd-lx-noc03 /var/log> tail -n 10000 messages | grep "NTP" Jul 5 16:19:36 ccsd-lx-noc03 nagios: SERVICE ALERT: ...
0
votes
1answer
312 views

How to set NTP tinker step (which unit)? and how to query?

One of the workaround for old CentOS/CentOS kernel (6.1-6.3) which may "Systems hang due to leap-second livelock." (quoting redhat), is to set tinker step in /etc/ntp.conf. Bug the documentation is ...
2
votes
1answer
889 views

Is there any ntpd that can be configurered to listen to selected interfaces only?

My situation is, that I configure many virtual network interfaces for virtual machines and some of my networks do even have two or more addresses. I don't need ntpd to listen to all these interfaces, ...
4
votes
6answers
882 views

How to know during system start when system time becomes correct from NTP

I have a Raspberry Pi running Raspbian (Debian derivative) that is recording real-time temperatures. As part of this, I need a clock that is accurate to within a few seconds. In normal operation when ...
3
votes
2answers
625 views

ntp server problems. It is panicking and then I am 3hours ahead

I am not sure what I have setup wrongly and I can not get a trustworthy ntp server up and running. Note that this is only an intranet ntp server. The server is a slackware system and so the config ...
4
votes
1answer
508 views

How to run ntp commands as non-root?

NTP commands such as ntpd and ntpdate are privileged and belongs to the root group. What is the best way to run these commands as non-root ? Linux capabilities, ownership, any method ? I have openSUSE ...
-1
votes
1answer
193 views

How much RAM and CPU for a NTP server? [closed]

As a side project, I am thinking about adding a NTP server to pool.ntp.org. I would like to use CentOS basic, but how much RAM and CPU should I assign to a machine that will only be running ntpd (plus ...
4
votes
2answers
1k views

Use local NTP service

I'm trying to get a system with no outside internet access (A) to get the time from another system on the LAN that does (B). In A's ntp.conf (the whole thing is at bottom), I've added: server 192....
2
votes
0answers
149 views

Restart rsyslog after ntp time sync

I want to ensure that the logs written, have the correct timestamp. So, when ntpd completes the sync (ntpq -c rv displays sync_ntp), I want to restart rsyslogd. But I am not finding any hooks/config ...
3
votes
1answer
300 views

ntpd - can we disable TCP?

When I run ntpd, I see that its binding to both TCP and UDP ports. And in case of TCP, its picking some ephemeral ports, which are clashing with the ports that another process of mine is using! I ...
7
votes
1answer
211 views

NTP and 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
2answers
249 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, ...
2
votes
1answer
973 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 this:...
1
vote
2answers
182 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
823 views

NTPD fails to sync

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

NTPd Not Syncing on RaspberryPi

Since my hardware (RasberryPi) does not have a hardware-clock, each bootup warps us back to the 1970's, so I use NTP. The gateway on the network I am on provides an NTP-Server service. my /etc/ntp....
3
votes
2answers
24k 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
534 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
3k 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
774 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 (that I am aware ...
2
votes
2answers
315 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
3k 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
1k 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 ...
7
votes
1answer
8k 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) (GCC)...
8
votes
3answers
680 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
1k 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 ...
3
votes
2answers
823 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
2k 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
323 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 127.127....
6
votes
1answer
5k 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 ntpd[3456]...
5
votes
1answer
2k 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, ...
9
votes
2answers
8k 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 ...