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.

learn more… | top users | synonyms

11
votes
2answers
15k views

ntpdate -d seems successful, but ntpdate returns no server suitable

I've got a system that is not running ntpd on which I'm attempting to update the clock using ntpdate. The system is an appliance that appears to be CentOS 6 based. When I run ntpdate 0.pool.ntp.org, ...
0
votes
0answers
20 views

ntpq shows my NTP version as 4.2.6p5@1.2349-o

ntpq shows my NTP version as 4.2.6p5@1.2349-o Can someone explain what the suffix of @1.2349-o (especially the -o) means? $ ntpq -c rv associd=0 status=4615 leap_add_sec, sync_ntp, 1 event, ...
0
votes
0answers
10 views

Ubuntu as a Yun ntp server: broadcast issues

I have an Ubuntu server to use as an ntp server for Yuns. I am having issues broadcasting with my linksys (BEFW11S4) router to my Yuns. Optimally: I need this to provide ntp service to Yuns ...
0
votes
0answers
6 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
17 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. ...
4
votes
2answers
114 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. ...
1
vote
1answer
45 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 ...
1
vote
3answers
119 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
26 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
82 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
74 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 ...
0
votes
0answers
173 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
53 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
72 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
103 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
60 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
100 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
79 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
86 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
28 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
0answers
26 views

Suddenly ntpdate is synchronized that long time interval and no servers reachable

I set the ntpdate the local ntp server. Sometimes ntpd has "no servers reachable" in message logs than ntpdate is synchronized long time interval("time reset +17.412149 s"). Help me! How do i solve ...
4
votes
2answers
398 views

RTC time synchronization not working (CONFIG_RTC_SYSTOHC)

I have the option CONFIG_RTC_SYSTOHC enabled in my kernel: Device Drivers ---> [*] Real Time Clock ---> [*] Set the RTC time based on NTP synchronization The help says: ...
0
votes
2answers
37 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 ...
4
votes
1answer
5k views

Why am I getting apparmor error messages in the syslog about NTP and LDAP?

On my newly installed Ubuntu 12.04 machine, with ntp and slapd installed, the following messages appear in /var/log/syslog at regular intervals: Feb 23 18:54:07 my-host kernel: [ 24.610703] ...
3
votes
2answers
123 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 ...
1
vote
1answer
51 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 ...
0
votes
1answer
106 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 ...
3
votes
1answer
1k views

Chrony 506 Cannot talk to daemon

I'm having trouble configuring chrony to sync the time between my raspberry pi and a desktop computer in an isolated network. My raspberry pi's chrony.config file looks like this: server master ...
1
vote
0answers
111 views

Difference between chronyd and ntpd

What is the difference between chronyd and ntpd? I know that ntpd can gradually adjust the time so that it can converge gradually to the the reference clock. Can this be done with chrony?
2
votes
1answer
101 views

Which NTP server should I use?

I want to set up the NTP server in my servers that are located in Frankfurt, using UTC as timezone. But I don't know which NTP server should I use. This is the result from the ubuntu ntp server: ...
8
votes
4answers
12k views

timed out, nothing received

I tried all and googled a lot! But I can't make work NTP on my server. This post is last hope! I have installed ntp on debian server with this configuration (/etc/ntp.conf): driftfile ...
1
vote
2answers
324 views

Best practice for setting time on local network using NTP

I have 13 computers in the office that I want to make sure the time is in sync. I thought of configuring a virtual server to be the NTP server of the local network. That NTP server will sync with the ...
0
votes
1answer
90 views

Unable to start NTP [closed]

Last week it works correctly, but now, my virtual machine inside virtualbox out of sync by 5 minutes $ systemctl status systemd-timesyncd ● systemd-timesyncd.service - Network Time Synchronization ...
0
votes
2answers
102 views

Does ntpd have a default driftfile?

I have an embedded Linux with busybox's ntpd. My ntpd.conf is tinker panic 0 server pool.ntp.org iburst server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst restrict default kod nomodify notrap ...
1
vote
1answer
336 views

How to solve the problem of ntp “Unable to contact time server” from KDE?

I want to set date and time automatically but this error appears when I try to .. I'm using openSUSE, I tried different servers but it didn't work either, help please! It doesn't seem to be a ...
1
vote
0answers
100 views

ntpd socket problem

Currently I have a C# program that queries my NTP server (CentOS 7) public static DateTime GetNetworkTime() { const string ntpServer = "192.168.10.48"; var ntpData = new byte[48]; ...
2
votes
2answers
248 views

Use default gateway as ntp server

I have a lot of servers running debian and they all must synchronize clock to NTP server running on their respective default gateway. Since there is many servers on many different network segments, I ...
0
votes
1answer
89 views

Troubleshooting GSS-API error on one client authenticating to Kerberos

When authenticating to kadmin with one client of many, it fails with kadmin: GSS-API (or Kerberos) error while initializing kadmin interface. The Kerberos host is specified with its subnet ...
0
votes
2answers
216 views

How to update NTP without shutting down the NTP daemon?

I would like to have a one-liner for updating the date via NTP getting the NTP-servers from the /etc/ntp.conf file. Especially because a manual command does not always work, because of firewall rules, ...
0
votes
1answer
272 views

How to set NTP tinker step (which unit)? and how to query?

One of the workaround for old CentOS/CentOS kernel (6.1-6.3) which may "Systems hang due to leap-second livelock." (quoting redhat), is to set tinker step in /etc/ntp.conf. Bug the documentation is ...
0
votes
0answers
95 views

Do I need to stop NTP service for client or only the server for leap second bug in linux

I have a server with suse 11 sp1 which are connected to NTP server that is also of same version. How can prevent leap second bug from effecting the servers? Can stoping the NTP service prevent effects ...
0
votes
1answer
82 views

ntpdate timeout ambiguity

Does the ntpdate option -t set the timeout in whole seconds or fractions? The man page isn't entire clear. It says -t timeout Specify the maximum time waiting for a server response as the ...
1
vote
1answer
49 views

dhcp3-server and strange DNS/NTP servers

I have problem with dhcp3-server 3.1.1-6+lenny4. My dhcp-server sends "strange" IPs for DNS and NTP servers in DHCP ACK despite configuration which doesn't have those IPs. In ACK packet we can see the ...
7
votes
1answer
193 views

NTP and NTPD Nanokernel

I had a couple of questions about the NTP Nanokernel as explained here: http://www.eecis.udel.edu/~mills/database/brief/nano/nano.pdf The big question is how does this Nanokernel manage to deliver an ...
5
votes
5answers
4k views

How to get system time with microsecond Resolution

I want to know current system time with microsecond Resolution. date +%s returns Time in seconds since epoch(1-1-1970). How can I get time in microseconds Resolution. How much delay is in querying ...
2
votes
1answer
314 views

NTPd Not Syncing on RaspberryPi

Since my hardware (RasberryPi) does not have a hardware-clock, each bootup warps us back to the 1970's, so I use NTP. The gateway on the network I am on provides an NTP-Server service. my ...
4
votes
2answers
94 views

Force time to stay put

The time on my Linux machine will not stay put. I need to test an issue with our server that only occurs on Saturdays. CentOS 6.5 64-bit I have NTPD off. (service ntpd stop and chkconfig ntpd off) ...
3
votes
0answers
73 views

Linux Mint system clock is days ahead after an overnight laptop suspend

I'm a long-time Ubuntu user, who recently started trying out Linux Mint on a laptop. This is not a dual-boot setup, Mint is the only OS on the machine. When I suspend the laptop (i.e. close the ...
1
vote
0answers
64 views

How can I consistently tell OpenSUSE to refresh the clock / current time?

I use OpenSUSE in a VM and sometimes want to save the machine and get back to work later. I haven't had much success with hibernate or suspend, so I simply save the state of the machine and resume ...
0
votes
1answer
41 views

What ntpq command or configuration setting would show output from a statum 1 server?

How can I tell ntpq to output servers other than stratum 2? Currently ntpq -p prints this. But what I need is at least one stratum 1 server in the output. I've read here and here. I've also tried ...