The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [ntp]

Questions about the NTP protocol and applications that use it. NTP is an acronym for Network Time Protocol.

Filter by
Sorted by
Tagged with
0
votes
1answer
51 views

NTP configuration for setting past time

Try to set the time to earlier than the current time - we changed the time to 14:00 (GMT + 2) when the local time was 17:00 (gmt+2) and it didn't work but when we changed to 19:00 (gmt+2) it worked. ...
2
votes
1answer
57 views

Get ntp offset between local machine and ntp-server

Using Ubuntu 18.04.3 I am unable to get information about the NTP offset using timedatectl timesync-status as I get a Unknown operation timesync-status prompt. Checking the service state with ...
0
votes
1answer
145 views

systemd-timesyncd.service won't start

● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) ...
1
vote
1answer
78 views

Ubuntu 18.04 Desktop - date and time synchronization issue

I did a clean install of Ubuntu 18.04 LTS on my laptop a couple of days back. During installation, I chose the timezone to be my local time zone i.e., Kolkata, India (Indian Standard Time). However, ...
4
votes
1answer
292 views

How often does Ubuntu 19.04 and later sync time?

In a default Ubuntu 19.04 - how often is computer time synchronized with time servers? Once every hour? Once every day? Something else entirely?
0
votes
1answer
55 views

NTP will not update time for clients

I am running a Ubuntu 18.04 server with ntp installed. I need NTP to synchronize time in ordet to let a Munge-service to work correctly. My firewall is not enabled, however I have added rules to ...
0
votes
0answers
21 views

Set up a NTP server which can be queried globally

I want to set up a server (hosted on aws/or a running system in some part of the world) as an NTP server that can be queried globally. Currently, I have modified the ntp.conf file on the node to be ...
0
votes
1answer
372 views

Why is NTP Clock not syncing with NTP Server in another continent?

My Ubuntu 16.04.5 PC is located in Delhi, India. I am trying to sync my system clock with USA NTP Server. In my system's /etc/ntp.conf file, I have used the following configuration: # Use servers ...
0
votes
1answer
115 views

Ubuntu NTP servers stratum 1?

Does anyone know if the [0-3].ubuntu.pool.ntp.org records ever pointed to stratum 1 servers. I've been looking around but I couldn't find an answer.
0
votes
0answers
225 views

Why can't I set ntp source server to an ip address?

I've recently upgraded my PC to Ubuntu 16.04 from Ubuntu 11.04. What I used to do was go into /etc/ntp.conf and add the specific server that I wanted to use as a source. For example: server 192.168.1....
2
votes
0answers
739 views

NTP service is unable to connect to ntp.ubuntu.com on ubuntu 18.04

I've been finding that my device recently has been unable to connect to ntp.ubuntu.com with its systemd-timesyncd service. Is ntp.ubuntu.com a viable ntp site to use for this or should I be using ...
0
votes
0answers
205 views

Local Time for Ubuntu 18.10 but still need hardware clock synchronized

I asked this question in general StackOverflow but, the question belongs on this forum. Hoping for a resolution, thank you for helping: Dual booting Ubuntu 18.10 and Windows. To prevent hardware ...
1
vote
0answers
68 views

How do I use a specific port when connecting to a time server with timedatectl

I'm trying to connect to a time server with timedatectl. I have enabled ntp with timedatectl. I can ping ntp.ubuntu.com. I then attempted timedatectl -H ntp.ubuntu.com but got a message saying that ...
1
vote
1answer
198 views

how to update to latest ntp patch 4.2.8p12 on ubuntu 18.04 [duplicate]

I tried the method here How to update ntpd to the latest version to patch the latest vulnerability? But it failed. Patch 12 has been out for a while now. Does ubuntu plan to have it included in the ...
0
votes
1answer
230 views

ntp offset can't be reduced

we have a (windows) ntp server to witch we pull for time service. Connection en rights are oke. When we restart our virtual ubuntu 14.04 server the offset is within 20ms but after 60 sec the offset ...
0
votes
0answers
1k views

systemd-timesyncd service is running in idle and doesn't synchronize time

I'm trying to synchronize time on my Intel NUC that is running Ubuntu 16.04.3 LTS with an NTP server that is running on a Windows PC. I already checked that the NTP server is running correctly. It ...
0
votes
0answers
297 views

Disable warning messages about ntpd in syslog

I start my computer with internet disable and noticed that syslog is full of warning messages about ntpd ntpd[1123]: error resolving pool 0.ubuntu.pool.ntp.org: Temporary failure in name resolution (-...
0
votes
0answers
96 views

Is anyone tried ntp with restrict default nopeer command

NTP version installed: ntp-4.2.6p5-5 I'm trying to understand the usage of below ntp restrict command : ----> restrict default nopeer Below is the reference info shared in ntp documentation: http://...
0
votes
0answers
86 views

Chronyc doesn't show as unsynced when manually changing time

Chronyc appears to be functioning normally (for the most part). I have added makestep 1 -1 to the config to allow large deltas, and minpoll 6 to checking every 64 seconds. Chronyc will sync the time ...
1
vote
1answer
332 views

How to get logging on ntpd changing the clock

While debugging a client device using ntp client to get it's time from our ntp server, it was shown that the server sometimes 'hickups' it's clock with an offset of 20 seconds or such. The ntpd ...
0
votes
1answer
316 views

Permission denied in opening device file at service in boot time

I change the ntp.conf file to read time from a device: server 127.127.8.0 mode 2 # standard time from device server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 12 The device file is /dev/...
0
votes
1answer
367 views

Configure systemd NTP to set TAI offset

"New" kernel versions (since Linux 2.6.26) support TAI clock, but systemd implementation on Ubuntu (18.04 LTS in my case) seems to ignore it. How can I configure systemd NTP to mantain TAI offset ...
2
votes
0answers
168 views

NTP info with timesyncd

Starting with 16.04 it is recommended that systemd-timesyncd is used over nptd however it appears there is not a suitable replacement for ntpq -p. What is the recommended way to get the server and ...
1
vote
1answer
425 views

NTP summer date in Brazil is incorrect

I have a problem with an Ubuntu server hosted in Amazon services. NTP summer date is incorrect for Brazil, I followed all instructions in the documentation of Ubuntu Server and followed this guide, ...
3
votes
2answers
151 views

Are there any commands I can use to ensure that the NTP service is running and is also responsive?

Are there any commands I can use to ensure that the NTP service is running and is also responsive? What I am planning to do it have some monitory & remediation scrip to ensure that a couple of ...
1
vote
1answer
4k views

Setting multiple NTP servers in /etc/systemd/timesyncd.conf

The man page for timesyncd.conf(5) indicates that the setting for NTP is a space-separated list of NTP server host names or IP addresses. We have two internal NTP servers in our network, both on the ...
0
votes
0answers
367 views

Stop NTP Synchronization

I need to permanently sync my servers NTP with that of Amazon's AWS servers so my request to their servers don't go Awry. i've been able to (temporarily) do so by making the following edits to my ntp....
2
votes
1answer
1k views

How to eliminate the delay in NTP synchronization?

Currently, I am doing a NTP time synchronization between two ubuntu pcs connected by a LAN cable. After I finish the setup, I find that the delay is around 0.170s (170ms), which is not acceptable ...
1
vote
0answers
462 views

NTP client are not syncing correctly from same local NTP server

I am working on Solr cluster setup in Azure VM. I created an NTP server on a zookeeper node which is perfectly syncing from STARTUM-1 NTP server. I configured NTP service on all of my 4-node solr ...
4
votes
1answer
1k views

Why is Chrony taking over network time sync responsibilities?

I am wondering why is Chrony replacing NTPd as the default component for network time sync. What is the advantage, and ideally, was there a discussion of pros-and-cons somewhere I can read for my ...
1
vote
1answer
510 views

Preferred NTP server was rejected despite having better offset and jitter

We have a NTP client configured on one of our system. The client has a set of servers available with whom it can synch with. However the preferred server that we chose is our internal master server ...
4
votes
2answers
8k views

I wish to configure Time Synchronisation on Ubuntu 16.04.4 but timedatectl give Failed to create bus connection: No such file or directory

When I look at https://help.ubuntu.com/lts/serverguide/NTP.html I can see the current time configuration with timedatectl but I always get an error. $ timedatectl status Failed to create bus ...
0
votes
0answers
410 views

Ubuntu Mate time synchronisation issue

I can't manage to fix the time on the Ubuntu Mate I have installed on a Raspberry Pi3. "timedatectl" reports Local time: Tue 2018-02-20 15:30:22 GMT Universal time: Tue 2018-02-20 15:30:...
0
votes
2answers
19k views

Unable to start ntpd.service

First, I installed the ntp package through sudo apt-get install ntp I accessed /etc/ntp.conf to change the servers to a few local ones based on country, then I saved and restarted it using sudo ...
0
votes
1answer
568 views

ntp server is not working correct at startup

I use Ubuntu server 16.04 and I set up local NTP server with the following configs in /etc/ntp.conf file: # this is the IP or name of the local networks NTP ser$ # should be commented out on the ...
2
votes
0answers
2k views

How to setup a fake ntp server?

How can I setup a local ntp server with "fake" time? For testing purposes, any machine B that I configure to have A as ntp server should receive times at an offset to true time (e.g., one week in the ...
3
votes
0answers
977 views

Set the system clock to GPS time

My computer running Ubuntu 16.04 has a GPS receiver connected to a USB port. gpsmon shows that the GPS receiver is locked and running. sudo gpsmon /dev/ttyUSB0 works great! BTW, why do I have to ...
1
vote
0answers
52 views

How to manage Ubuntu time?

I am running Ubuntu 16.04. I was reading about Ubuntu Time Management. Instructions on that page describe the need to go into the Administration sub-menu and click on Time and Date. The Time and ...
0
votes
1answer
196 views

Should ntpd must listen on 192.168.1.255 interface?

ntpd configured for listen only on local interface: interface ignore 0.0.0.0 interface ignore 192.168.1.255 interface listen br-enp3s0 interface listen 127.0.0.1 but netstat reports another: ...
-1
votes
2answers
3k views

How do I set Ubuntu to use the primary time server time.nist.gov? [duplicate]

FileZilla is spending way too much time copying files that are already there because the clocks on my systems vary too much. I want to set them all to the Master Clock (like WWV) According to the ...
2
votes
2answers
768 views

Ubuntu Core timedatectl setting incorrect time, config missing servers, cannot be modified and reverts to UCT after a few minutes

Ubuntu core instance starts up with date: Sun Aug 21 01:31:59 2016 (and after trying to correct settings with NTP disabled and reboot, date is: Wed Nov 2 16:59:29 (LocalTime) 2016), whereas the ...
3
votes
0answers
884 views

timedatectl Failed to query server

I am working on a Business Gateway and I have a problem with the TimeZone not working. Earlier, the output of timedatectl used to give the below output root@BusinessGateway:/# timedatectl Warning: ...
3
votes
1answer
737 views

What is preventing Ubuntu 16.04 to set the time correctly

I have a Dell SC1430 running XUbuntu 16.04 acting as a Mythtv backend server. It's been running fine for many years but now after upgrading from 12.04, via 14.04 to 16.04 (using do-release-upgrade) ...
1
vote
2answers
7k views

ntp.service not getting started on bootup

I am upgrading my system from 14.04 to 16.04, I am facing this issue of ntp.service not getting started on bootup. $ sudo systemctl status ntp.service ● ntp.service - LSB: Start NTP daemon Loaded:...
1
vote
0answers
342 views

how to delaty NTPD startup or otherwise fix NTP not starting on boot

My NTPD does not start properly on boot in that none of my clients can get time from it but when I logon and type systemctl restart ntp it starts working If I re-boot and logon then attempt to use ...
3
votes
2answers
6k views

Unable to sync with ntp servers

Server is 14.04 My timedatectl status www-data@Mercury:$ timedatectl status Local time: Fri 2017-08-04 14:34:31 SGT Universal time: Fri 2017-08-04 06:34:31 UTC Timezone: Asia/...
0
votes
0answers
363 views

NTP service does not seen in ps aux

On a linux based system I install ntp service to sync the date/time and I do not see a sync. I check if the service was running with "systemctl status ntp" and then "ps aux" systemctl status ntp ● ...
0
votes
0answers
282 views

Different versions of ntp used by apt-get install

I've set up a microsoft azure's arm template that creates virtual machine on Ubuntu 16.04-LTS and then runs a shell script to install additional packages, in particular ntp. One of my users ...
0
votes
1answer
114 views

Upstart job exiting unexpectedly

I'm running Ubuntu 14.04 on an Nvidia Jetson TX1. For some reason the clock is not staying synchronized properly, and the simplest solution seems to me to use upstart to call ntpdate on a regular ...
1
vote
1answer
422 views

Is there anything I can do to stop NTP DDoS

Is there anything I can do to stop this DDoS attack (besides getting 1-5 Gb per second internet line or ordering DDoS protection)?