Questions tagged [ntp]

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

55 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k 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 ...
3
votes
0answers
1k 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
0answers
1k views

When even ntpd doesn't sync time

I have already tried the top 2 of most-voted answers to How to force a clock update using ntp? but none has worked. Using ntpdate doesn't show any logs, and exits just fine, while ntpd gives the ...
2
votes
1answer
205 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 ...
2
votes
0answers
178 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 ...
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 ...
2
votes
0answers
1k views

timesyncd switching NTP servers

Running Ubuntu 16.04 Desktop. Anyone have an idea why timesyncd keeps switching from the NTP server I set with DHCP to ntp.ubuntu.com after a few minutes? -- Logs begin at Sun 2016-08-21 00:17:02 EDT,...
2
votes
1answer
868 views

Ubuntu NTP time wrong after reboot

Running 12.04LTS for a while now. When we reboot, the server comes on with the time 46 minutes slow. nearly every reboot. We installed ntp (apt-get install ntp) so the time does auto-correct after 4-5 ...
2
votes
0answers
395 views

NTPD segfaults on 12.04 LTS (64-bit)

Fresh install of Ubuntu 12.04 LTS. Installed ntp, but starting the service only results in the following error: grsec: Segmentation fault occurred at 0000000000000008 in /usr/sbin/ntpd[ntpd:28951] ...
1
vote
0answers
55 views

Find the process that is setting time

I am running Ubuntu 18.04 LTS in a VirtualBox VM. I need the system time to not be synchronized with NTP because I have another process that gets time updates from a non-NTP source, setting RTC in ...
1
vote
0answers
99 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
0answers
507 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 ...
1
vote
0answers
53 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 ...
1
vote
0answers
427 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 ...
1
vote
0answers
1k views

16.04 - Use NTP server assigned by DHCP

I'm trying to have Ubuntu use the NTP server IP's that my local firewall provides it via DHCP, but timedatectl seems insistent on using its own [alphyn/chilipepper/golem].canonical.com servers. No way ...
1
vote
1answer
956 views

Date always resets to 11 Feb 2016 on Odroid XU4, running Ubuntu MATE 16.04

Every time I start my odroid XU4, the date seems to be 11th Feb 2016 for some reason. timedatectl command shows the below result: Network time on: yes NTP synchronized: yes RTC in local TZ: no
1
vote
0answers
595 views

How to get Ubuntu system with ntpd receiving data from GPS through USB and set clock accuracy?

I have a hardware which is Ublox EVK-M8T kit, with the GPS antenna. I also install the gpsd and ntp in the Ubuntu system. I check to make sure all are working probably, such as: turn of daemon os: ...
1
vote
1answer
562 views

Ubuntu 16.04 NTP server cannot read the key file

I've read this forum guide and a number of answers to do with NTP servers. I need to use authentication, but when I restart the ntp service I get an error in the log saying "ntpd[1710]: ...
1
vote
1answer
719 views

Setting up ntp server

I have a few Jetson-TK1 boards that do not have a real-time clock and consequently loses their time whenever it is powered off. I would like to set each one so when they power on, their clock gets set....
1
vote
0answers
297 views

Set up NTP server that does DST too?

I have several devices (routers and webcams) that do not support DST automatically. But they do support NTP servers. So I thought, would it be possible to set up my own NTP server that also adjusts ...
1
vote
1answer
2k views

Why ntpd needs an open port?

On my Ubuntu system I have activated the 'Time Synchronization via Internet'. Because of that the ntp daemon gets started. What I don't understand: Why needs ntpd an open UDP port 123? Actually, I ...
1
vote
0answers
2k views

NTP can't sync with servers?

I am fairly new to NTP an Linux in general, but here is the question ;) I installed Ubuntu 14.04 LTS and then tried to install NTP, but when I use tail -f /var/log/syslog I get the following: May ...
1
vote
0answers
399 views

system clock is 5.5 ahead although ntp

time zone here is Asia/Tehran, but the ubuntu time is 5H30M ahead of local time. I've checked configs and even installed ntp server, nothing seem to fix this, sudo dpkg-reconfigure tzdata Current ...
1
vote
1answer
514 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 ...
1
vote
1answer
5k views

ntp.conf error. unexpected T_String, expecting T_EOC

Having a problem with my NTP server. It is an Ubuntu 14.04 VM. It seems to hang after a day or so of running. When it's up, it's working fine. I'm seeing these errors in syslog: ntpd[901]: syntax ...
0
votes
1answer
18 views

NTP - No system peer entry (“*”) found

I have NTP setup on two Ubuntu 18.04 VM's but my monitoring solution has alerted me only one is getting proper NTP. They are on two different networks, so that may have something to do with it, but ...
0
votes
0answers
68 views

Issues with NTP

Recently I have found myself trying to setup a new NTP server for our company as the server running NTP currently needs to be decommissioned. The old server and the new one both run on 18.04 LTS. ...
0
votes
0answers
47 views

I can’t configure NTP to work with the GPS module as a synchronization source (NMEA + PPS)

I can not configure NTP on Ubuntu 18.04.3 LTS (Linux 4.15.0-74-generic). As a source of synchronization I want to use NMEA + PPS from GPS module. GPS module is connected via USB using the SILABS ...
0
votes
0answers
27 views

Chrony - on ubuntu 18.04, location “palladion_chrony_healthcheck” file?

from here on CentOS, chrony gives option to check healthcheck on path /usr/sbin/palladion_chrony_healthcheck I can't find it on Ubuntu. Solution?
0
votes
1answer
133 views

How to check programmatically if systemd-timesyncd has synced successfully

Is it possible to programmatically know if systemd-timesyncd; Can access to the NTP servers? Has synced the system time with the server? The reason is I have an application depends on precise time ...
0
votes
1answer
630 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) ...
0
votes
0answers
22 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
257 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
358 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....
0
votes
1answer
343 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
488 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
1answer
563 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 ...
0
votes
0answers
412 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....
0
votes
0answers
462 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
1answer
851 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 ...
0
votes
0answers
439 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
302 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
0answers
287 views

Compile ntpsec with refclock support

I'm trying to use ntpd for accurate time sync with a ublox gps module using this tutorial on Ubuntu 16.04. However, I'm stuck setting up ntpd to listen to the shm driver. In the /var/log/ntp.log, I ...
0
votes
0answers
825 views

Timezone incorrect

I've freshly installed a 16.04 instance in VMWare, which sadly automatically configures the installation process for me. Now I try to repair what it has broken. One of the steps is to get ntp to work ...
0
votes
0answers
67 views

how the gpsd client recognize server without using internet connection?

I have 2 laptop with a IP address, for example: **Receiver: 192.168.21.168** **Transmitter: 192.168.11.186** usually,on the Receiver computer, I use the comment sudo ntpdate -d 192.168.21.168 ...
0
votes
1answer
454 views

standalone ntpd does not step time

The ntpdate program was deprecated years ago. I am trying to transition old code from ntpdate to standalone ntpd. The goal is to rely on the ntp service (run with -g) to discipline the clock, but to ...
0
votes
0answers
2k views

NTP Synchronization issue & it turned off automatically

Due to Time Synchronization Issue, We manually tried to sync the time by, sudo ntpdate pool.ntp.org It works. But instead of running this command everytime maually, I setup NTP by installing sudo ...
0
votes
2answers
830 views

NTP synchronisation in Ubuntu Core

How can I configure a proper NTP synchronization in Ubuntu Core (version 10). I am running the following version: ubuntu-core 2016-05-24 10 ubuntu I tried using: root@...
0
votes
0answers
371 views

How to synch time between ubuntu laptops in a local network

I'd like to synch time on all my laptops inside my local network which use a router but it has no access to public internet so I can't use remote time servers. I would like to use a laptop to act ...