Questions tagged [ntpd]

The Network Time Protocol daemon (NTPd) is a daemon program that synchronizes the system time with time servers using the Network Time Protocol (NTP).

The Network Time Protocol daemon () is a daemon that synchronizes the system time with time servers using the Network Time Protocol ().

Website: http://www.ntp.org

Man page: http://linux.die.net/man/8/ntpd

Wikipedia: http://en.wikipedia.org/wiki/Ntpd

236 questions
3
votes
1 answer

NTP using GPS and PPS as clock, PPS is marked as falseticker

I am attempting to add a GPS-based clock source to my network, using a GPS which emits a 1-PPS clock pulse. This is connected to a GPIO pin. After allowing ntpd to run for 30 minutes or so, the PPS clock is still not used, and marked as bad, but I…
Michael Graff
  • 6,668
  • 1
  • 24
  • 36
3
votes
1 answer

NTP not syncing automatically with my internal NTP server

I installed ntp on a centos server. I modified /etc/ntp.conf replacing the default server entries with one entry to my internal NTP server's IP (1.2.3.4 is the IP of the NTP server): server 1.2.3.4 iburst When I reboot the server and run ntpstat…
red888
  • 4,183
  • 18
  • 64
  • 111
3
votes
0 answers

Leap second addition in linux - how to make sure kernel detects it correctly

For the upcoming leap second addition on June 30 I have been working on making sure the Red Hat Linux detects the time smoothly. I have installed the updated tzdata and ntpd package on all RHEL5 and RHEL6 Servers. I have then ran the leap second…
sandeep.s85
  • 2,119
  • 1
  • 18
  • 27
3
votes
2 answers

ntpd daemon doesn't start automatically in FreeBSD

I wanted to setup ntpd the right way - so not with a crontab entry. I followed the guide in the FreeBSD docs: create an entry with ntpd_enable="YES" in /etc/rc.conf checked that everything works fine when service ntpd start is executed restart the…
Mr.Gosh
  • 323
  • 1
  • 6
  • 16
3
votes
1 answer

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 showed the following: remote refid …
Hawmps
  • 33
  • 1
  • 3
3
votes
3 answers

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 from my subnet (A.B.C.x) to be able to sync to…
ndemou
  • 1,315
  • 3
  • 17
  • 28
3
votes
2 answers

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 -p remote refid st t when poll…
wenzul
  • 225
  • 1
  • 4
  • 11
3
votes
2 answers

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 implement my own timeout mechanism?
Thomas Bratt
  • 355
  • 2
  • 6
  • 16
3
votes
1 answer

NTP stopped working after update to CentOS 6.5

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 updated from CentOS 6.4 -> 6.5 and now all of the…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
3
votes
3 answers

How do I stop the clock running fast on a virtualbox client running ubuntu 8.04?

I'm having a problem with the clock running fast in Ubuntu 8.04 server (2.6.24-24-generic kernel) running in VirtualBox 3.04. It's drifting quickly, something like 5 minutes per hour. I think it was working fine until I upgraded to VirtualBox 3.04…
Tom
  • 2,652
  • 1
  • 20
  • 12
3
votes
1 answer

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 files.tickzoom.com or ntpq -p 50.57.65.92 Those…
Wayne
  • 428
  • 4
  • 7
  • 15
3
votes
2 answers

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 selected? The offset just keep increasing. I tried…
David
  • 31
  • 1
  • 1
  • 3
3
votes
2 answers

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 20-30s... By default the conf file has this: #…
CppLearner
  • 787
  • 3
  • 10
  • 24
3
votes
3 answers

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 configured it as follows: listen on 192.168.0.1 server…
Etienne Dechamps
  • 2,194
  • 8
  • 24
  • 28
3
votes
2 answers

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 refid st t when poll reach delay offset…
Zizzencs
  • 947
  • 1
  • 10
  • 22