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

2
votes
1answer
21 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
697 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 ...
2
votes
1answer
85 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
170 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
35 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, ...
0
votes
2answers
199 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
94 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
74 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
93 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
106 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
362 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
27 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 ...
1
vote
0answers
530 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
181 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
952 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
99 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
153 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
326 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, ...
2
votes
0answers
218 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]: ...
0
votes
0answers
34 views

I have 0.0.0.0 refid, I assume ntp error

when I run ntpq -p my server is shown. I get the following : refid: 0.0.0.0 st: 2 t: u when:18 poll:64 reach:377 delay: 0.262 offset: -8.622 jitter: 2.470 I just installed ntp and added my server ...
1
vote
2answers
1k 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
196 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
448 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
278 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
182 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
264 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
234 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 ...
10
votes
3answers
9k 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
5k 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 ...
12
votes
2answers
2k 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
5k 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
98 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 ...
3
votes
2answers
507 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 - ...
2
votes
4answers
4k 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 ...
2
votes
2answers
327 views

Is there any way to make ntpd to iteratively consult the server addresses given in the ntp.conf file?

Suppose the machine has an ntp.conf file that looks like this: driftfile <path-to-drift-file> server <NTP-server-1> server <NTP-server-2> server <NTP-server-2> For some reason, let ...
0
votes
2answers
897 views

Setup NTPD in Ubuntu to sync Windows AD

I am setting up my Ubuntu 10.0.4 server to sync clock with a Windows 2008 AD. As none of the "remote" has a "*" in front (worst it had a blank space in front), does it mean no time sync source is ...
1
vote
1answer
1k views

ntpd doesn't seem to sync at all

I am following this tutorial It's 2008, so I am very careful using its advice. I need to make this machine the master, and let all other machines use it to sync the time. They are all out of sync by ...
1
vote
1answer
271 views

does NTP minpoll-maxpoll control sync intervals?

Do the NTP minpoll and maxpoll configuration attributes control the sync interval or do they only control the polling interval? where: polling = messaging with NTP servers to estimate the offset ...
5
votes
1answer
643 views

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

ntpd frequency error -1732 PPM exceeds tolerance 500 PPM

I'm getting this error on my PC: frequency error -1732 PPM exceeds tolerance 500 PPM Any ideas?
1
vote
1answer
136 views

Use ntpd to log time adjustments rather than set system clock

Is it possible to use ntpd to log all time resets and adjustments rather than set system clock?
0
votes
3answers
8k views

How to configure ntpd to sync time more frequently?

I need to set ntpd to sync time as often as possible, how to do that? UPD I need to make ntpd adjust system clock more frequently, not poll servers. It's necessary because system clock of my virtual ...
1
vote
2answers
7k views

NTP configuration not recognized?

I'm trying to configure NTP on my machine but it seems that the parameters I set are not being read by the system. Below is my /etc/ntp.conf file. (I applied the most basic configuration to eliminate ...
2
votes
1answer
5k views

NTP not syncing, only syncs on service restart

My ubuntu 11.10 server has been sitting there quite happily for the last 3 - 4 months, then suddenly the time started going out of sync by one hour. I'm not sure why, nothing has changed re the ...
1
vote
1answer
7k views

Where are the ntpd log file located, and how can we configure the ntpd log file path?

I deal with that, ntpd as a daemon on my linux server by default configuring, but where should we look up the log file? Is there any log file normal, and if not , how can we configure that?
0
votes
3answers
1k views

How to moniter the ntpd and ntpdate running status?

I have four server which running with ntpd daemon, how can I moniter their running status? By the way, I running ntpdate command with crontab.
2
votes
3answers
97 views

How to select a server when ntpd is syncing by a linux server?

The following is my ntpd configure file. I have no idea, which one ntpd will choice while it's syncing? /etc/ntp.conf server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server ...
1
vote
2answers
1k views

NTPD issue - syncs then slowly loses ground

RHEL 5 workstation. Has been running smoothly for years. I did a 'pup' recently and followed with a nice, cleansing reboot. Afterwards the system had some startup issues: namely MySQL refused to ...
3
votes
1answer
438 views

ntpd running as non-root, but outgoing packets match as uid 0

I set my default iptables OUTPUT chain to DROP packets. I then created a firewall rule to only allow the ntp user to send ntp packets out: iptables -A OUTPUT -m owner --uid-owner ntp -p udp --dport ...
0
votes
1answer
631 views

NTP doesn't sync

I'm using Meinberg NTP to sync the time in a VPS. The clock refuses to sync - there's a ~30s shift comparing to other servers. Also ntpq -p is continuously showing zeros for reach, delays and ...