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
2 answers

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 software clock is. Therefore I am searching for an…
hugh
  • 43
  • 4
3
votes
1 answer

what is the easiest way to test the impact of NTP step changes on other software?

During testing of our configuration of Red Hat Cluster System, NTP stepped the time by 16 seconds, and soon afterwards the cluster software locked up. ntpd[30917]: time reset -16.332117 s I need to repeat the failure to ensure that it was not just a…
Martin
  • 516
  • 2
  • 4
  • 14
3
votes
2 answers

ntpd fails to sync TIME_ERROR: 0x41: Clock Unsynchronized

On Debian 10, ntpd 4.2.8p12@1.3728-o fails to sync with following error: kernel reports TIME_ERROR: 0x41: Clock Unsynchronize here's ntp.conf: disable monitor statsdir /var/log/ntpstats restrict -4 default kod nomodify notrap nopeer…
Tombart
  • 2,143
  • 3
  • 27
  • 48
2
votes
0 answers

Local GPS clock is marked as falseticker by ntpd — why?

I have a Linux NTP server with a ublox M8Q GPS module connected via GPIO (UART @ 9600bps and PPS). What I observe is that the local GPS source — SHM(0) — gets marked as falseticker and I'd like to understand why. clock@clock:~ $ ntpq -p remote …
NPE
  • 679
  • 3
  • 10
  • 20
2
votes
0 answers

SOLVED NTP No Server Suitable For Synchronization Found Centos

I'm trying to set up an ntp server, and I can't query it. Whenever I try, I get this message: 6 Mar 18:57:01 ntpdate[27050]: no server suitable for synchronization found Here is my ntpd.conf file # For more information about this file, see the man…
Nate Powe
  • 21
  • 1
  • 1
  • 3
2
votes
2 answers

NTP Stratum Won't "Fudge"

I have two servers, blue and green. I want blue to pull time from green but it won't because the stratum on green is too high. Green has a regular internet connection. Blue does not. In googling the topic, I should be able to "fudge" the stratum…
user3242295
  • 19
  • 1
  • 3
2
votes
1 answer

standalone NTP config

I am trying to setup local NTP server for some testing. I have installed NTP on Ubuntu 18.04 and commented server-pool block in the config file Here is the full config : driftfile /var/lib/ntp/ntp.drift leapfile…
roy
  • 119
  • 1
  • 2
  • 15
2
votes
3 answers

Does ntpd need to be enabled on Ubuntu 16.04

I recently noticed people attempting to ntpd reflection attacks on my server. So my questions are, how necessary is it that ntpd stays enabled, and how can I enable and disable it?
2
votes
2 answers

Keeping server time in sync using ntpd

I understand ntpd has a -g option to allow a one time immediate clock set for large skews. Then the daemon runs and continuously adjusts. In the event of the skew becoming too large, the daemon exits with an error. With this understanding, is it…
Elliot
  • 121
  • 3
2
votes
4 answers

ntp.conf: Is it reasonable to rely on default server list, exposed in CentOS?

Every time I setup a new Linux host (CentOS, lately), expecially when such an host will have some roles within our small datacenter (around 100 hosts), I take care to: install the ntp package; add, on top of the server list, a new server instance…
Damiano Verzulli
  • 4,078
  • 1
  • 21
  • 33
2
votes
1 answer

Enable NTP with clock slewing on RHEL6

I have a RHEL6 server running an Oracle database. When the server was built, NTP wasn't enabled or configured. My task is to do that without impacting the database. After doing some research, I was under the assumption that, when enabling NTP on…
bzinger
  • 23
  • 6
2
votes
1 answer

SSHD, NTPD slow to respond

My server has been responding very slowly ever since I put it into production, however it's not slow how you might think. When I SSH to the physical virtualization server I receive the typical login as: prompt. When I type my UN in, it takes and…
Alex Manley
  • 121
  • 11
2
votes
1 answer

How can I synchronize system time with a NTP server continuously?

Is there a linux service that can synchronize system time with a NTP server with a given interval, such as 1 minute, 1 hour or 1 day ? Is it a good practice to run utpdate in a cron tab? e.g. */10 * * * * /usr/sbin/ntpdate us.pool.ntp.org UPDATE In…
auntyellow
  • 167
  • 1
  • 3
  • 9
2
votes
3 answers

Is it ok to run the `ntp` cronjob hourly?

I have several servers in Amazon EC2. Having noticed time difference on the instances I have installed ntp. I see /etc/cron.daily/ntp Cron job was added. Still I notice that, for some reason, the time drifts quite fast. I am planning to make a…
warvariuc
  • 358
  • 1
  • 5
  • 14
2
votes
2 answers

How accurate can we get computer clocks synchronized in a local network of any number of computers?

In the past, I have seen that most of my computer on my local network don't really have the same time within up to 1 second or so. So I wanted to make sure that it would be possible for a stack of servers (say 48 1U computers) to all have the exact…
Alexis Wilke
  • 2,210
  • 1
  • 20
  • 37