Questions tagged [ntpd]

The Network Time Protocol Daemon is a [tag:daemon] that synchronises server time with servers running the [Network Time Protocol][1] (NTP).

The Network Time Protocol Daemon is a that synchronises server time with servers running the Network Time Protocol (NTP).

Originally written for , a port also exists.

60 questions
19
votes
6 answers

NTPD: use an unrestricted port for communication

When querying ntp servers with the command ntpdate, I can use the -u argument to make the source port an unrestricted port (port 1024 and above). With ntpd, which is meant to run in the background, I can't seem to find a way to turn this option on.…
Cetra
  • 2,593
  • 1
  • 21
  • 27
7
votes
3 answers

no server suitable for synchronization found For NTP Service

I had to build ntp packages from the source and install all of them on some hosts. After the installation, ntpdate 1.us.pool.ntp.org works for the synchronization. However, when I tried to do ntpdate it shows me the…
user3354832
  • 655
  • 3
  • 6
  • 13
5
votes
2 answers

Execute script after ntpd sync

I have raspberry pi with raspbian. I would like to execute a script right after time gets synced with ntpd, my script needs correct datetime. How can i do that?
davidovv
  • 80
  • 1
  • 7
4
votes
2 answers

What is the proper method to modify the autotools options of a Buildroot source package using BR2_EXTERNAL?

I want to change the _CONF_OPTS config options for a package included in Buildroot without altering the baseline .mk file. Based on what I'm reading, it shouldn't be necessary to completely override the package using the…
T S
  • 93
  • 8
4
votes
1 answer

NTP Audit - failed adjtimex syscall?

As part of a new PCI-DSS server deployment I am in the process of configuring a fully auditable NTP time change history. All is working as expected however I am now seeing audit logs written every single second relating to time change operations.…
puppyFlo
  • 445
  • 4
  • 16
4
votes
1 answer

How to do incremental time leap to avoid data loss

Background : Hi, I am currently working with an old Linux SBC system. It uses BusyBox v1.00-rc2 which is old and had limited functionality. (nope, upgrade is not an option). This SBC was hooked up with several sensor, record the value and time…
Mie
  • 41
  • 4
4
votes
3 answers

How accurate can I expect the time to be from a stratum 0 NTP server on the same subnet on ethernet?

I have an application that depends on gpsd and ntpd to accurately set the system time on a linux machine. gpsd is fed NMEA + PPS The application is punping ~25MB per second over the network and I think the loading on the system is causing jitter in…
JeffV
  • 52,985
  • 32
  • 103
  • 124
3
votes
2 answers

Can NTPD be stricter in correcting time?

NTP is doing it's best in syncing my local time with the various NTP servers. If my computer (which has no hardware clock) doesn't have Internet access for a long period of time, the time starts to drift. NTPD slowly corrects it when it's back…
Paolo
  • 2,161
  • 5
  • 25
  • 32
2
votes
1 answer

busybox ntpd does not resync date/time after changing it

I'm trying to figure out how ntpd (from busybox) works. I'm running the following scenario, for a test sake: set up date/time, using date -s, to any arbitrary date/time (e.g. 2000-01-01 00:00:00); run the command ntpd -N -p to…
Valmir
  • 401
  • 1
  • 5
  • 14
2
votes
0 answers

Will the GPSD supports the U-blox EVK-M8N and EVK-M8T that are based on LEA-M8 series

I read from the following links: http://www.catb.org/gpsd/gpsd-time-service-howto.html#_choice_of_hardware, and http://catb.org/gpsd/hardware.html, in which the U-blox EVK 6H is suggested to work with the open-source GPSD and NTPD for time…
coder
  • 71
  • 2
  • 7
2
votes
1 answer

ntpdate shows offset but does not synchronize

I am trying to time-synchronize 2 Centos VM with ntpdate command, but it won't work. When running the ntpdate command (ntpdate reference.time.machine), it shows an offset : step time server 10.0.0.116 offset 156.479697 sec But when I run the "date"…
SyG
  • 43
  • 3
2
votes
1 answer

What is the difference between ntpq -c rv and ntpdate -q?

I'm trying to debug an ntp issue, and these two commands return inconsistent results. For instance, in queries to the same server, here are a few fields that don't match. Specifically, the reference time doesn't match, the filter delay appears to be…
Robert Rapplean
  • 672
  • 1
  • 9
  • 30
2
votes
0 answers

What is the right alternative to ntpdate, wrt the below feature required?

Since ntpdate has been deprecated, ntpd -gq serves the same purpose in most cases. With ntpdate, one would receive an error no server suitable for synchronization found and exit if one provides a wrong hostname/ip. Is this feature not yet…
2
votes
1 answer

Will Linux servers running NTPD be affected by plans to add a leap second in 2015?

I have read that there are plans to add a leap second in June 2015. At work we are running a number of Linux (Ubuntu) servers with ntpd installed to keep the time in sync and correct across them. Does anybody know how this time change will affect…
peter-b
  • 4,073
  • 6
  • 31
  • 43
2
votes
2 answers

My Raspberry Pi:s clock is drifting, how do I keep it as accurate as possible?

The Raspberry Pi has no real clock to keep track of time. Instead it uses the NTP daemon to keep date and time as accurate as possible. This should work, I guess, but in my case it doesn't for some reason. Without going into too much detail, I use…
Paolo
  • 2,161
  • 5
  • 25
  • 32
1
2 3 4