The Network Time Protocol, is used to synchronize system clocks to precision time servers on the internet or locally connected devices such as a GPS.
0
votes
1answer
8 views
ntpd 4.2.2 select itself and sync failed intermittently,Is this a bug?
Issue
Hello, I got an ntp problem. It is always occurred with ntpd version 4.2.2, rhel6. rhel7 now uses ntpd-4.2.6, but some system also use ntpd-4.2.2. I have hundreds of machines running ntpd-4.2....
1
vote
1answer
48 views
I have an ntp related mystery to solve
Today, whilst at work, I tried to SSH back home and couldn't get a response.
My initial suspicion was that it was one of two things:
1) Home internet down
2) Power outage causing things to reset
I ...
2
votes
0answers
51 views
How to enable NTP sync on boot on debian wheezy
I've installed ntp, which put the ntp script in /etc/init.d. On boot, I see that ntp is running:
root@unassigned-hostname:~# ps -ef | grep ntpd
ntp 4142 1 0 21:08 ? 00:00:00 /usr/...
1
vote
1answer
79 views
When will ntp update the time
I have two debian wheezy machines on the same LAN that have clocks synchronized using NTP. Using date I see that the times are synchronized. I then set the time back about 30 seconds using date --set ...
2
votes
0answers
37 views
NTPD fails to find valid peers [closed]
I have a couple of Ubuntu servers that time and time again only receive peers with a stratum of 16. If I restart the ntp daemon a couple of times, eventually I will get one or two usable peers (with ...
0
votes
1answer
312 views
Leap second Bug 31st Dec 2016
I just wanted to understand in a better way regarding the leap second bug.
Our Linux servers receive time from the windows PDC services, As per the update from the Microsoft regarding the leap second,...
1
vote
0answers
27 views
VM and host time drift during suspend
I am running Ubuntu 16.04 on my laptop, with Ubuntu 14.04 in a Vagrant VM in VirtualBox. My laptop is running SystemD and network time is enabled:
naftuli@reprisal:~$ sudo timedatectl status
...
14
votes
2answers
243 views
Ghost NTP server on Debian 8.6
So the university IT security team and I have been going around and around on this with no breaks... anyone have any thoughts on this:
I recently set up a small file server for my lab running Debian ...
1
vote
2answers
57 views
Why disable xntpd slew?
Until Dec 31, we have to set:
chssys -s xntpd -a "-x"
Question: but why disable it in January? Why could it cause problems if we leave the "-x"?
0
votes
1answer
69 views
Unable to synchronize ntp with servers
I have gone through several tutorials regarding NTP and synchronizing the system clock, but I am still not able to get my system's time right. I followed the following steps on a machine running ...
5
votes
0answers
74 views
how do you set up a linux client to use ntp information provided through dhcp?
there are so many tutorials out there explaining how to setup dhcpd server, in relation to providing ntp suggestions to dhcp clients, that I had always thought that ntp configuration was carried out ...
4
votes
3answers
137 views
OpenBSD 6.0 ntpctl says “clocked synced” but is ~26 seconds behind
My OpenBSD host is running NTPD but is 26 seconds slow, despite it saying "clock synced":
user@host:~# ntpctl -sa
4/4 peers valid, clock synced, stratum 3
peer
wt tl st next poll ...
1
vote
1answer
32 views
why is NTPD constantly trying to update?
I have this weird issue which I can not track down to anything, I'm pretty unexperienced though so it could be likely I've been missing something obvious.
I'm struggling to understand why the ntpd ...
3
votes
2answers
66 views
RedHat server updates its time every minute
RedHat release 7.3 This is a development machine, so I do not know its installation history. It was noticed that it did not keep its time synced very well, although ntpd is running.
My investigations ...
1
vote
1answer
239 views
NTP client not synchronizing from a private NTP server
We have a private network that we wish to implement an NTP server inside. Both the NTP server and client have been configure like this. On the server running ntpstat gives me:
synchronised to local ...
0
votes
0answers
133 views
NTP clock drifting out of sync frequently. Offset too high
I am having some problem with a local NTP server time synchronization. The clock drifts out of synchronization again and again.
I initially tried stopping the ntpd daemon. Then ran ntpdate to ...
0
votes
0answers
20 views
NTP minpoll and maxpoll only communication but not really synchronize,isn't it?
MY QUESTION,minpoll and maxpoll only communication but not really synchronize
Hello my friends,I have a problem want to know,why ntp syncorized from uppper stratum NTP server so slowly??
minpoll ,...
5
votes
1answer
48 views
Changing NTP server based on available connections
Please refer to the illustration.
I have two machines on a LAN, only one of them has an Internet connection (through a different interface).
Server 1 has a garbage hardware clock.
Server 2 has a good ...
0
votes
1answer
162 views
NTP Not Enabled according to TimeDateCTL - CentOS 7
I'm wondering how I can get timedatectl to show that NTP is enabled, everything
root@voip:~ $ timedatectl
Local time: Tue 2016-10-18 20:58:23 EDT
Universal time: Wed 2016-10-19 00:58:23 UTC
...
1
vote
1answer
82 views
How can I stop NTP from updating my system clock?
Please bear with me on this slightly odd request!
I have a Debian Jessie Linux system with an internal RTC clock which the user can adjust or change. It may or may not be connected to external IP and ...
0
votes
0answers
30 views
NTP client get LOCAL(0), stratum 10 and then time offset 1-3 seconds on virtual machine
I got an issue at my virtual machine which is running on KVM ,sometimes, part of my virtual machine's time drifts about 1-3 s, and I got the log message below:
Sep 26 17:03:48 localhost.example.com ...
2
votes
0answers
571 views
How do I set the correct time on Centos 7?
I have the minimal install of Centos 7 on my PC (not virtual box). I have spent the last few hours trying to figure out how to set up the correct time. I am still fast by one hour. After spending ...
2
votes
1answer
109 views
NTP Servers not Sync with other machines
I'm using Linux Debian Wheezy.I have problem to sync time & date between my server & PC,and the ntp servers looks like pointing at itself not internet.
In this case,Fig is my NTP server.
...
1
vote
1answer
2k views
ntpd vs. systemd-timesyncd - How to achieve reliable NTP syncing?
When I query the status of the NTP daemon with ntpdc -c sysinfo I get the following output:
system peer: 0.0.0.0
system peer mode: unspec
leap indicator: 11
stratum: ...
2
votes
2answers
85 views
Fetch ntpdate offset value in a variable in python
I wish to check if the offset timing is greater than 0.5 seconds and do some action.
I am running the command ntpdate -q <Server ip address>
Can someone tell me how should I capture the offset ...
1
vote
2answers
126 views
Where is the ntpd package on Ubuntu Wily (15.10)
I am looking for/trying to install ntpd
I am using the following Ubuntu distribution:
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
sudo apt-get install ...
0
votes
1answer
268 views
how to forward ntp traffic to default gateway instead of vpn tunnel
I have a small Raspberry Pi server connected to an openvpn provider, used as a VPN gateway. Almost everything works fine with the following iptables rules:
iptables -t nat -A POSTROUTING -o tun0 -j ...
4
votes
1answer
51 views
PC with short-lived RTC battery - how to immediately time-sync on boot and avoid time jumps
I've got a 64-bit Intel PC running Debian 8 with a capacitor-based clock, which means after 3 days without power the time is lost from the hardware clock. To help work-around this, I was thinking we ...
1
vote
2answers
387 views
Time changes suddenly even though NTP is configured
If have SLES 11 SP2 and this is the problem:
I have configured the NTP service and when I restart it then it is synchronizing correctly the time.
Then, suddenly after around 7-8 minutes the time ...
0
votes
0answers
64 views
ntpd -gq exiting with exit code 124
When I execute timeout ntpd -gq on ntp client machine, I got exit code 124.
I executed using strace also
#strace timeout 30 ntpd -gq
it is getting stuck at the following point.
Only few lines:
...
0
votes
0answers
50 views
ntpd and authentication why doens't work?
I want to try ntpd authentication using ssl and GQ scheme but failed (IFF also failed).
I did those steps
server is called slackware32,and client slack64
port 123 udp and tcp opened on both machines.
...
1
vote
1answer
99 views
Get the process start time irrespective of NTP updates
I'm trying to record the start time of a process kicked off by an @reboot cronjob. I'm using ps -p $$ -o ltime= presently, but I've run into a catch.
My machine (a Raspberry Pi) connects to the ...
4
votes
2answers
282 views
Failure of ntpdate if the system is set to a date beyond 2038
The correct current date is .Fri Mar 25 12:11:07 CST 2016.
When I change the date to "2018/01/01", ntpdate works properly.
When I change the date to "2099/01/01", ntpdate does not work properly.
Ok:...
1
vote
3answers
985 views
NTP synchronization in CentOS 7
I configured an NTP server on a CentOS 7 machine (a virtual one) and also configured the ntp.conf file of the clients (which also are virtual and run CentOS 7). The NTP synchronization works perfectly ...
1
vote
0answers
58 views
UTC Incorrect while RTC Okay
I have installed Debian 8 standard edition on my mini-pc, and usually found the following kernel message
[146262.743546] INFO: rcu-sched detected stalls on CPUs/tasks: {} (detected by 0, t 15227 ...
1
vote
1answer
1k views
Script to check ntp status and system time sync
Looking for a script to (1) check status of ntp and (2) if it is within +/- 1 second of a given time server (eg 123.456.789.10). (3) In addition, system time should be checked to see if the timezone ...
1
vote
1answer
285 views
How to update NTP (Network Time Protocol) on Solaris 11? Fighting with DDoS attacks
At the moment lots of servers suffers from denial of service attacks targeting NTP protocol on port 123 by issuing MONLIST requests to victims computers. Victims computers answer with large list of ...
2
votes
1answer
1k views
systemd-timesyncd on Debian 8 (fails silently?)
I'm having troubles on a Debian 8 installation to get systemd to synchronise time properly. NTP has been enabled with timedatectl set-ntp true and systemctl status systemd-timesyncd reports:
● ...
0
votes
0answers
133 views
How do I install and configure NTP on CentOS 7 from source? (include/ntp_crypt.h errors)
I unpacked the .tar.gz file for the newest NTP. I installed the gcc compiler and libcap devel. I ran the ./configure command with various flags and options. I ran make check and found an error. The ...
0
votes
1answer
483 views
How do I install NTP from source on CentOS v7? (/bin/ld: cannot find -lcap)
I unpacked the .tar.gz file. I installed the gcc compiler. I ran the ./configure command with various flags and options. I ran make check and found an error. The exit status is 2. Only 0 is ...
2
votes
3answers
772 views
Where to check ntp related logs on Sun Solaris?
Can you please guide, where on solaris i can check NTP related logs? If there is any issue related to NTP on solaris, which is the right place to check for the root cause? Thanks
0
votes
1answer
782 views
Setting time and date without using NTP
I have a "windriver" linux based Wimax ASN, and when ever I login, I find the date and time is wrong (example: "15 jul 2010").
Whenever I set both the date and time with the date command, or the ...
3
votes
2answers
376 views
NTP works but clock is not the same
I'm trying to sync multiple machines (9 machines that are cloned from one machine so they have exactly same config) on a LAN using NTP.
All machines are running FreeBSD 10.2 on VirtualBox with Ubuntu ...
2
votes
1answer
150 views
Time synchronization, use NTP or just socket?
I am using a PC and a raspberry pi(both run Linux) to gather sensor data, raspberry pi gathers laser scan data, PC gathers image captured by camera. I must synchronize time for these two machines. I ...
1
vote
1answer
52 views
How to install an NTP-server that is vulnerable to NTP-amplification
I'm trying to install an NTP-server that is vulnerable to NTP-amplification for a demo. I'm using this script to perform the demo: https://www.exploit-db.com/exploits/37562/
But I can't find any ...
0
votes
2answers
45 views
Display the most accurate time possible
I want to set the time on my watch as closest as possible to the actual, synchronized, current time.
Is there a command which will repeatedly display the current time down to the second, calibrated ...
1
vote
1answer
438 views
Multicast NTP server/client
what I have here is an NTP server (on Linux Mint) and a client (likewise). Server is configured to send a multicast message across the LAN which clients receive and update their clocks - it was ...
1
vote
1answer
221 views
Set the “-x” slewing option for NTP startup
On RedHat it can be set in /etc/sysconfig/ntpd but despite much searching on web and also reading man page for ntpd, I cannot find how you do this on Ubuntu (set -x option on ntpd).
I can manually ...
3
votes
2answers
250 views
sntp replacement for -P (prompt) argument
I'm maintaining some cronjobs on machines that are set to be patched to the service pack of SLES11sp4, it appears that the service pack is upgrading sntp from version 4.2.4p8 to 4.2.8p2 and somewhere ...
0
votes
1answer
336 views
NTP server quality: low delay or low jitter?
I got two NTP servers I could use, one is Stratum two NTP, having low jitter and high delay; Second one is Stratum three NTP, having low delay but higher jitter.
For the sake of accuracy, which one ...