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
2
votes
1 answer

NTP does not handle restrict on pool server correctly

If I am running ntp (via ntp.conf) heavily restricted, I cannot use a pool for a server. Why? Because the call to restrict (to allow access for the pool) seems to be another DNS Lookup, which returns another IP value than what was used to…
Jiminion
  • 5,080
  • 1
  • 31
  • 54
1
vote
1 answer

Amplify Init - InvalidSignatureException: Signature not yet current

Encountered and solved this problem. Posting for posterity since my situation differed from the usual. Important: I am running a derivative of Ubuntu in a VirtualBox VM on a freshly installed Windows host. The Problem When creating a new react…
trek
  • 21
  • 4
1
vote
0 answers

In OpenWRT, clock_gettime() with CLOCK_REALTIME and CLOCK_TAI always get the same results

CLOCK_TAI is basically designed as CLOCK_REALTIME(UTC) + tai_offset. I use the code to test the difference between TAI and REALTIME. But I got difference result on Raspberry pi and OpenWRT. #include #include #ifndef…
Andrew Lin
  • 45
  • 5
1
vote
1 answer

How to synchronized time between servers?

I tried to synchronize time between 2 machines, but unfortunately I failed to do so. I always got "12 Jan 01:09:55 ntpdate[2477]: no server suitable for synchronization found" error. I suspect that the resctict option is wrong. My current setting…
Coinnigh
  • 611
  • 10
  • 18
1
vote
1 answer

Syslog entries for local time update

There must be a syslog entry for ntpd daemon when it updates the local (client) time wrt server. Grepping on my beagonebone syslog, I found this below entry for ntpd with respect to server: proto: precision = 1.666 usec (-19) Any lead for the log…
PriyabD
  • 21
  • 4
1
vote
0 answers

Linux-NTP Leap Seconds : Decreasing time to apply leap file

Is there any way to make NTP process and apply the leap second file faster than it currently does? I am writing an application which is dependent on CLOCK_TAI. It would be a mistake to allow the application to execute if the tai_offset is unset.…
1
vote
1 answer

python flask server port deforced by ntpd

I have a rest server implemented by python with flask. And implement an api to restart ntpd. The code test_flask.py: from flask import Flask import subprocess import logging import sys app = Flask(__name__) def run_shell_cmd(cmd): …
qiuping
  • 11
  • 3
1
vote
4 answers

ntpdate - no server suitable for synchronization found

I am working on ntp. I have to connect to some external NTP server to get my system date updated. The issue is that ntpd Daemon is always using my local clock (127.127.1.0) and it is not using the NTP server that I have provided in ntp.conf. I am…
Madhusudhan
  • 103
  • 1
  • 1
  • 9
1
vote
1 answer

What is the error between NTP stratums?

I read that NTP syncs machines upto 100 ms accuracy on WAN (given in following links - http://www.ntp.org/ntpfaq/NTP-s-algo.htm and https://en.wikipedia.org/wiki/Network_Time_Protocol). Is the error of 100 ms (or sync difference) at each NTP…
Shehzan
  • 287
  • 4
  • 12
1
vote
0 answers

NTPClient not working even after Redpitaya OS Rebuild

I am trying to run NTPD service on redpitaya. I followed this blog (NTP client for redpitaya) and built the kernel from scratch using this link: http://wiki.redpitaya.com/index.php?title=Red_Pitaya_OS. But even after fresh build with config files…
1
vote
1 answer

NTPD on arm box version 4.2.6p5

i have managed to cross compile ntpd 4.2.6p5 for my arm box. I have a custom toolchain provided by the manufacturer. Box is running busybox + some variant of debian linux. So I have no installation of ntp and did a manual copy, created a conf file…
Lonko
  • 389
  • 9
  • 25
1
vote
1 answer

usb gps and gpsd vs. ntpd shared memory driver

I configured ntpd on my system like so: ~$ cat /etc/ntp.conf # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help driftfile /var/lib/ntp/ntp.drift logfile /var/log/ntp.log statsdir /var/log/ntpstats/ statistics loopstats peerstats…
Udo Klein
  • 6,784
  • 1
  • 36
  • 61
1
vote
1 answer

reducing jitter of serial ntp refclock

I am currently trying to connect my DIY DC77 clock to ntpd (using Ubuntu). I followed the instructions here: http://wiki.ubuntuusers.de/Systemzeit. With ntpq I can see the DCF77 clock ~$ ntpq -c peers remote refid st t when poll…
Udo Klein
  • 6,784
  • 1
  • 36
  • 61
1
vote
1 answer

Wait for system to sync time before performing another task

I'm using a Raspberry Pi, and upon startup it's sending an e-mail with the time and an IP address. The problem is that the time is not correct, it's the time from last time the system was shut down. When I log in through ssh and do a date command, I…
Paolo
  • 2,161
  • 5
  • 25
  • 32
1
vote
0 answers

Problems with memcached and ntpd on CentOS

We are having a problem with a virtual machine that's running our frontend website. Once it's running everything is fine, but after a reboot memcached is going bonkers. What happens is that we put items in there set to expire in 15 to 30 seconds,…
rpkamp
  • 811
  • 4
  • 14