The Network Time Protocol daemon (NTPd) is a daemon program that synchronizes the system time with time servers using the Network Time Protocol (NTP).
0
votes
1answer
60 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 ...
0
votes
0answers
50 views
ntpq is always showing REFID as .INIT
I have a linux server of my own which is stable and I want to sync my client with this server. I am using NTPD 4.2.6 version. I dont have any restrict lines in my ntp configuration file. But still ...
2
votes
2answers
76 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
87 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
85 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
0answers
38 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 ...
3
votes
2answers
376 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 ...
5
votes
3answers
389 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
483 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 ...
6
votes
2answers
672 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
70 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
134 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
3answers
1k 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
154 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
1answer
293 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
626 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
100 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
291 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
944 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
116 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?
-1
votes
3answers
3k 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
4k 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
2k 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
239 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
69 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
1answer
610 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
280 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
262 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 ...
1
vote
1answer
871 views
How to override the ntp information sent by dhcp in debian?
I have a server in a network receiving all its network information from DHCP. The problem is that the ntp-server being sent is not set to UTC. I want to use the configuration for ntp found in ...
3
votes
2answers
3k views
How to synchronize time between a Windows client and a Linux NTP server?
I want my Windows 7 machine to get its time from my Linux Debian Sid server.
So I want ahead and installed OpenNTPD from the Debian repository. It doesn't listen to anything by default, so I ...
1
vote
2answers
253 views
Server Time is *WAY* Off
The time on my server is about 19 hours behind and I cannot for the life of me figure out how to synchronize it. I did follow the steps here, and this is the output:
[root@ip-72-167-39-231 ~]# ...
0
votes
1answer
479 views
How time is affected by the ntpd and /etc/localtime
Can anyone explain how ntpd and /etc/localtime and system clock interact with each other, in UNIX or more specific in freeBSD?
I'm giving the following long description of the concepts in case I ...
2
votes
4answers
663 views
Best way to say “sync all system clocks to this server, when and ONLY when I say so?” Mixed setup of Windows+Linux servers
Title pretty much explains it. Let's say there's 100 servers, various versions of Windows and Linux, and one Windows server is the "master clock." I did look at this question:
How do I synchronize ...
2
votes
2answers
220 views
ntpd Stratum Zero when nptd is started
I have noticed that when I start ntpd on a server, checks against that server reveal that it has a stratum of zero. If I understand this correctly, I believe this means that ntpd is currently only ...
2
votes
2answers
370 views
Synchronizing time with only one NTP server
I have a linux machine on a network where the machine only has access to exactly one NTP server. After the time synchronization the status looks like this:
[root@test ~]# ntpq -p
remote ...
1
vote
2answers
3k views
Setting up an NTP server for my LAN
I am trying to setup my Debian 6 (Squeeze) VM to act as a local time server for my network. I have it set to sync with tock.usno.navy.mil which is a stratum 1 server.
I am having some problems ...
5
votes
3answers
777 views
NTP fudge network source stratum
Is it possible to configure ntpd to fudge the stratum level of a network source?
Upon first glance, I thought the fudge directive could accomplish this, however after browsing the ntp.conf(5) man ...
0
votes
1answer
982 views
NTP standard configuration in Debian Squeeze misunderstood
The NTP standard configuration in Debian Squeeze is the following (with comments removed):
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats ...
0
votes
3answers
939 views
NTP time sync not working in a DOMU Centos 5.5 server
I have a Xen Centos 5.5 server with ntpd working in virtual server.
NTP time sync seems not working.
I have disabled any firewall.
my grep -i ntpd /var/log/messages output:
Apr 1 16:15:47 ...
1
vote
2answers
2k views
System clock drifting out of sync with hwclock and ntpd
My current system drifts from the hwclock and ntpd dramatically. I've looked at many forums and posts online and on SF, but haven't found a suitable solution.
Here is my ntpq -pn output:
remote ...
2
votes
2answers
6k views
Does NTPd have to listen on an interface or address for updating the server time?
NTPd listens on UDP port 123 (all IP addresses), by default. Is this necessary for just updating the server time?
If it's necessary to listen on an address, what single address should be used? The ...
3
votes
2answers
251 views
Configure ntpd to just measure, don' set the clock?
I have a PC directly connected to a GPS clock with PPS signal that sets the clock to an accuracy of 5 µs (!) or less (shows in NTP as a normal server).
Now I want to measure how bad the internal ...
2
votes
3answers
7k views
Where can I look up for the ntpd log?
I didn't find any ntpd log file in /var/log. I am wondering where can I find those log files, thanks!
1
vote
2answers
503 views
How often does openntpd update the time?
Neither the openntpd nor the ntpd.conf manpage have this information.
6
votes
7answers
2k views
Local or public NTP servers?
For a relatively large network (thousands of hosts) - what are the arguments for and against running a locally managed (pool of) NTP server(s) (perhaps periodically set via some public NTP server) and ...
3
votes
7answers
29k views
Why is ntpd not updating the time on my server?
I have ntpd running on my server. It's all the default settings, except I commented out its ability to be a server to other machines:
# restrict -4 default kod notrap nomodify nopeer noquery ...
3
votes
3answers
2k views
How can I compare an ntp server's time to my server's time?
I have ntpd running on a box. I want to see how the time on the box compares to the time retrieved from ntp.ubuntu.com. Is there an easy way to do this?
1
vote
3answers
618 views
Will NTP work in an isolated network ( in absence of a reliable time source)
I am investigatiing a typical NTP problem. The setup is as follows :-
FreeBSD is being compiled and run on Opensolaris. The config file on OpenSolaris has entry
of linux and another opensolaris ...
0
votes
1answer
166 views
Query NTPD's monlist remotely?
How do I query NTPD for monlist remotely? It would be nice to be able to keep track of what's happening with the time server!