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

0
votes
1answer
51 views

ntpd: servers stuck on .INIT

I am trying to set up an NTP server for my local network, but ntpd refuses to sync with outer servers. # ntptrace localhost: stratum 16, offset 0.000000, synch distance 0.396285 # ntpq -pn ...
3
votes
2answers
198 views

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 ...
5
votes
1answer
45 views

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# ...
0
votes
0answers
27 views

ntpd logging debug to ntpd.log

using ntpd 4.2.6p5 on redhat 6.5 How do I configure /etc/ntp.conf to generate debug messages to logfile? in /etc/ntp.conf I have logfile /var/log/ntpd.log but that only does very basic entries. ...
1
vote
1answer
77 views

ntpd servers stuck in init state when defined by hostname, but sync correctly when defined by IP address

I started having an issue on a couple of our colo servers which is causing a fair bit of head scratching. I as alerted to clock skew on a couple of servers, and when I went to investigate ntpq -=p ...
2
votes
2answers
171 views

How to have ntpd serve only my local subnet

I have a few servers with public Internet IP addresses like A.B.C.x. One of my hosts (A.B.C.10) runs ntpd and I have it syncing it's time from europe.pool.ntp.org. Now I only want to allow hosts ...
1
vote
1answer
118 views

NTP Version Check

How can I check other NTP server's NTP version without query the server? NTPv3 and NTPv4 network packet is different, and I know I can just catch the packet and analysis it when ntpd is doing sync. ...
0
votes
1answer
155 views

NTP not sync the time continuously, Have to restart the service of NTP then it SYNC in Ubuntu

I am facing one problem. NTP server not sync the time automatically. If I change the the time of system then NTP server not able to correct it. After reboot the service of NTP it sync the time ...
0
votes
1answer
31 views

Ubuntu server time jumping away

I wanted to write "drifting away" in the header but this is not what's happening. I have an Ubuntu 12.04 LTS server running some web apps. On 25.10.2014 I updated tzdata to the latest version and ...
0
votes
0answers
71 views

which are the most accurate ntpd fudge factors for gps nmea

I use ntpd with GPS NMEA with PPS as follows server 127.127.20.0 mode 18 minpoll 4 maxpoll 4 prefer fudge 127.127.20.0 flag1 1 flag2 0 flag3 1 flag4 0 time2 0.475 flag1 enables PPS signal ...
2
votes
1answer
266 views

configuration to use gps time with no internet connection

I use ntp with a GPS device with PPS on port /dev/ttyS0. All seems to be fine if the machine is connected to the internet. Output looks correct. But if there is no internet connection I get: $ ntpq ...
1
vote
1answer
174 views

Access NMEA reference clock and GPS position simultaneously

I noticed two approaches to get an accurate time from GPS (with PPS). Using ntpd either with NMEA reference clock or Shared Memory Driver My problem: I want to have a very accurate time and access ...
1
vote
1answer
154 views

CentOS configure ntpd to serve DST/localtime

I know that ntp uses UTC and the clients have to manage any DST and timezone differences on their own. The problem I have is that several noname ip cameras have a non-working DST implementation, and ...
1
vote
1answer
98 views

How should I manage and troubleshoot NTP issues?

For some time now I've been fighting with some NTP issues in my company's network and I'm having a hard time to understand how the commands combine with the service. For example: In the server's ...
1
vote
2answers
54 views

NTPD slews time when it doesn't need to

I have some odd behaviour running ntpd on a rhel 6.5 machine. This machine runs as a virtual machine on a kvm host (also rhel) and this host has the correct time (within a few ms), and an ntpd that ...
0
votes
2answers
175 views

ntpd server closing unexpectedly [slackware 14.1 64bit linux]

I have an ntpd server running on to provide time for all pc's inside my office. lately it has started switching off unexpectedly. there is nothing in the logs: 30 Aug 02:25:43 ntpd[1590]: peers ...
0
votes
2answers
151 views

SES time sync error

My SES setup was running fine for the last 6 months without any issues. All of a sudden it stopped working yesterday and I'm gettinng the infamous time sync error. Naturally I assumed ntpd had ...
2
votes
1answer
31 views

Using puppet to manage ntpd certificates

My company is requiring me to implement signed time in ntpd with autokey. One of the requirements for autokey to work is to generate keys on each host. All the clients are part of the same group so ...
9
votes
4answers
1k views

How far is “too far off” for ntpd? Can it get there by a sudden jump to heavy load? Can this be overridden?

In many primers on ntpd, like this one, there's always a warning that ntpd will stop resetting the clock "[if] your clock is too far off." How far off is "too far off"? Also, if a server takes a ...
3
votes
1answer
704 views

Set Linux ntpd as broadcast client

I have the following situation: I am trying to setup an NTP server in LAN, which will update the NTP clients in LAN. All machines are CentOS, and ntpd that is running is ntpd 4.2.6p5@1.2349-o Sat Nov ...
1
vote
0answers
1k views

ntp is not syncing on centos server but gets response from remote server

I have googled for days before asking and I feel like I have tried everything but ntp is still not updating the time of the system automatically. I have left it running for days and still I get the ...
0
votes
0answers
41 views

How can I select ntp the time source for a system?

I have two Windows 2008 servers running Meinburg NTP. When I run ntpq.exe -p from one, I see that there are sources specified as current, selected, or discarded (via a +, -, or *). On another system, ...
1
vote
2answers
1k views

Both my ntp servers are marked as falsetickers in the status [closed]

I have a linux box, set up with two ntp servers to sync. This box in case, was extremely out of sync (61 seconds) before it was forced sync. The following outputs are 1 hour after this sync. When ...
1
vote
0answers
190 views

ntpd -gq do not working on CentOS 6.4

when I'm running 'ntpd -gq' from CentOS 5.10 (i686) the time is synced, but in CentOS 6.4 (x86_64) the command gets stuck (I need to stop it using ctl+c). Any idea hoe to fix it? EDIT: iptables ...
1
vote
0answers
259 views

ntpd default rate limiting?

I've got about 70 linux instances running on an OpenStack cluster that currently consists of two compute nodes and one controller. Also, these machines live in a RackSpace DC as part of their 'Private ...
2
votes
2answers
191 views

Why does ntpd need to bind external interfaces to sync the local clock?

I wanted to tighten my security so I don't want to open any ports that are not really needed. I have no intentions of running an ntp server for other people to use, I only run the ntp daemon to keep ...
1
vote
1answer
314 views

How to make ntpd timeout when an Internet connection is not available

I am using the following command to synchronise the time on a Oracle Linux 6.5: ntpd -gq Unfortunately it does not timeout when an Internet connection is not available. Is this possible or should ...
0
votes
0answers
1k views

Ubuntu 12.04 LTS ntp not working

I'm having major woes trying to get ntp working on several ubuntu 12.04 servers. Note this is NTP to keep the time set on those servers. Not to distribute the time! I've installed several of those ...
1
vote
0answers
38 views

ntp.conf function and format for server keyword

I have 4 redhat boxes that are each sync'ed by their own arbiter gps clock. These are acting as time sources for the rest of my network. Can I include all four boxes in the peer statements in ...
2
votes
1answer
1k views

Linux - NTP stopped working after recent update

A few days ago I had ntp setup on my network, and everything was running fine. One node was set to sync with upstream servers, and the rest of the nodes from the one set to sync upstream. Yesterday I ...
10
votes
2answers
276 views

why doesn't ntp recover after an Internet-less startup?

I have a few Linux devices (without TOY chips, so they completely rely on ntp) which may boot without access to Internet (the link to the switch is up). The ntp service will start but obviously no ...
0
votes
1answer
2k views

NTPD seems to delete all network interfaces

We have a couple of virtual interfaces configured on eth0 on a CentOS, and every now and then, they went down seemingly out of the blue. Now after going through the log files, I found out that ...
0
votes
1answer
376 views

Gentoo server time issue, can't manually set time, NTPD won't correct, too big of a time difference

So, my server is living in the future, unfortunately I can't get lottery numbers, or stock picks out of it. It thinks this is the time: Thu Nov 7 04:07:18 EST 2013 Not correct, I tried to set the ...
0
votes
1answer
502 views

NTP synchronisation not visible in syslog

I am trying to set up a local NTP server for our LAN. I am able run ntpdate server_ip to manually update the time. However, ntp daemon does not seem to be logging anything into syslog, and so I can't ...
6
votes
3answers
2k views

How to make NTP work despite a high offset?

Recently I have kickstarted some servers that had their time off by a month in the bios. The time in the bios said it was a random time/date in May, while it was June. This caused NTP not to work, ...
3
votes
0answers
648 views

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]: ...
1
vote
2answers
3k 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 the NTP service on-demand? I tried # sudo update-rc.d -f ntp remove/default ...
2
votes
1answer
376 views

NTP synchronization stays with no reach

Usually, when a machine looses connection completely, ntpd misses a couple polls and marks all sources as failed sanity. Which seems quite logical. But I've met a situation when a server stays marked ...
0
votes
1answer
604 views

KVM guest clock sync with host

I'm running KVM w/ centos 6.x. My guest vm clocks are booting with a 1-2 second lag from their host. My clocksource for the host is ntp. My clocksource for the guest is "kvm-clock", but I need to ...
2
votes
3answers
577 views

CentOS VM, NTP synchronization problems

We have three CentOS 5.9 VMs on an ESX3.5 host. Because of the nature of the services we provide it is required that the NTP time is synchronized and the time is correct on all three of them. ...
3
votes
1answer
217 views

Unable to access NTPD server except on loopback address Centos 6

I can only get results from: ntpq -p localhost or ntpq -p 127.0.0.1 If, from the same server, I try it as either the external IP address or domain name then it times out with no response. ntpq -p ...
2
votes
2answers
417 views

using NTP protocol for internal time synchronisation

I have two embedded system that are connected via ethernet. I want them to run synchronously. Using NTP protocol is an option to synchronize them. But this is a isolated system. I don't have an ...
1
vote
2answers
427 views

Ntpd excessively inaccurate

I have ntpd set up (Meinberg ntp-4.2.6p5@london version for Windows on a Windows 7 client) with a bunch of nearby servers selected for low ping times (usually 10-20ms ping). However it seems my clock ...
12
votes
3answers
17k views

How to prevent ntpd to listen on 0.0.0.0:123?

ntpd listens on numerous interfaces by default, I only want it to listen on 127.0.0.1:123 since I only want the localhost to sync the time. How to do that, I tried by editing /etc/default/ntp on ...
6
votes
3answers
10k views

Why is NTP syncing to LOCAL rather than remote server?

So, I'm trying to debug my current NTP setup, and found that he offset from my single configured server is over 3 seconds, and not adjusting. The asterisk on the LOCAL(0) in the ntpq output seems to ...
13
votes
2answers
4k views

Why does ntpd listen on so many ports/addresses?

I’ve noticed this for a while, and it’s never made any sense to me: Why does ntpd need to listen on so many addresses? For example, a Debian machine: $ netstat Proto Local Address Foreign Address ...
8
votes
2answers
10k views

ntpdate and ntpd failing to sync clock on Linux

I have a strange problem with one of my servers. ntpd and ntpdate fail to work, but debugging shows no errors at all. At first I thought maybe a local or network firewall was blocking UDP port 123, ...
0
votes
1answer
123 views

Need one time server clock sync for latency test, what should i use ntdate or ntpd

All machines are Ubuntu I need to sync clock one time for all machine in order to do a latency test. I read this article that said - ntpdate is a bit of a blunt instrument - it can only adjust ...
4
votes
2answers
1k views

Force ntpd to make changes in smaller steps

The NTP documentation says: Under ordinariy conditions, ntpd adjusts the clock in small steps so that the timescale is effectively continuous and without discontinuities - ...
3
votes
4answers
6k views

ntpdate works, but ntpd can't synchronize

This is in RHEL 5.5. First, ntpdate to the remote host works: $ ntpdate XXX.YYY.4.21 24 Oct 16:01:17 ntpdate[5276]: adjust time server XXX.YYY.4.21 offset 0.027291 sec Second, here are the server ...