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

learn more… | top users | synonyms

5
votes
2answers
12k views

Setting up a standalone NTP server on Ubuntu

I want to setup a standalone NTP server on Ubuntu. The problem is all the tutorials i see on the internet are about how to make the server to synchronize with another time server on the internet and ...
0
votes
0answers
25 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 ...
1
vote
0answers
45 views

How to use chrony to synchronize timestamp on two computers

I need to compare results which come from two different laptops. Each laptop has a different set of sensors and in order to correctly compare them I need to have the same timestamp on both laptops. ...
0
votes
1answer
489 views

How to force an immediate clock/time synchronization/ntp update in 16.04?

It seems like the documentation at the LTS server guide and and community wiki may not have been updated for 16.04 yet. A figure in in the community wiki page shows a 'synchronize now' button but I ...
0
votes
1answer
34 views

issue : USB-LIVE Lubuntu ntpdate time is not getting sync

I am trying to boot from USB and sync time using "ntpdate" command from a windows PC as ntp server. OS : Lubuntu live usb when i run the ntpdate command it is getting executed and the date is set ...
0
votes
0answers
15 views

How to delay ntp.service start?

My laptop has Ubuntu MATE 16.04 LTS installed. I mainly use the wifi connection; however I installed UM with an ethernet connection. Now during boot up there's a delay in resolving ntp servers. After ...
0
votes
1answer
53 views

NTP without DNS

I have a box running ubuntu 10.04 x86 & it's isolated by necessity from a lot of the network. It is blocked from DNS. I'd like it to keep accurate time, so I've configured NTP with several ...
5
votes
2answers
14k views

ntpd server always in 'INIT' mode

I'm running ntpd server in my ubuntu (10.04) machine. But it is always stays in the 'INIT' state as shown below. lyra@ws07475:~$ ntpq -p remote refid st t when poll reach delay ...
0
votes
1answer
18 views

I have a cluster of computers, how do I setup ntpd so they all have nearly the same clock?

I have 4 computers, one is considered the master (direct connection to the Internet) and the others are considered slaves (for those the master adds one extra hop to any external communication.) At ...
0
votes
1answer
228 views

NTP failed to synchronize time

I have Ubuntu Server 16.04 running on OpenVZ (VPS hosting provider), and I have difficulties running ntp for time synchronization. I just installed ntp (apt install ntp), but when I try it, I see ...
4
votes
1answer
5k views

How to change the time server in ubuntu 12.04 LTS without installing the `ntp` package

I am on Ubuntu 12.04 LTS, in the dialog "Time and Date settings" there is a set of radio buttons labeled as "Set the time", the two options are "Manually" and "Automatically from the Internet": My ...
0
votes
1answer
21 views

How change Address of NTP server for nodes by shell command?

UBUNTU 16.04 MAAS 2.0.0 Beta 3 It seems the MAAS web interface doesnot update Address of NTP server for nodes in setting page? How can I change this NTP address by shell command?
1
vote
1answer
25 views

What is the prefered method to adjust network time protocol?

When adjusting [speeding up] my boot time I discovered 2 methods to adjust NTP. https://help.ubuntu.com/lts/serverguide/NTP.html suggested /etc/ntp.conf; http://www.pool.ntp.org suggested /var/lib/ntp/...
45
votes
4answers
106k views

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com 4 ...
0
votes
0answers
27 views

MAAS NTP Address (Time Server)

UBUNTU 16.04 MAAS 2.0.0 Beta 3 I changed NTP server, on MAAS Setting Web UI "Address of NTP server for nodes". When I am looking in nodes commission log when it itries to commision it tries to get ...
0
votes
0answers
58 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
3answers
130 views

How to simplify the command : four same structures?

ntpdate 110.75.186.247 >> /var/log/ntpdate.log || ntpdate 110.75.186.247 >> /var/log/ntpdate.log || ntpdate 203.123.48.218 >> /var/log/ntpdate.log|| ntpdate 103.16.199.21 >> /...
0
votes
1answer
43 views

NTP is not working in ubuntu

I installed NTP on my server and client then I changed time in client. When I run the ntpd -dq command, it shows: Unable to bind to wild card address 0.0.0.0 , maybe another process is running
0
votes
1answer
33 views

Is there any reserved usersid in linux?

I am installing ntp latest package 4.2.8p6 by following this link http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/ntp.html creating user groupadd -g 87 ntp && useradd -c "Network Time ...
178
votes
13answers
549k views

How to force a clock update using ntp?

I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. The wake-up time is somewhere during 1970. Thus, I use the NTP service to update the time to the current time. I ...
0
votes
0answers
236 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 ...
7
votes
2answers
44k views

How do I disable ntpd?

I'm running Ubuntu in a VM. How do I disable ntpd?
-1
votes
2answers
170 views

How to edit /etc/default/ntpdate and prevent ntpdate from ever running without uninstalling

Since both ntpd and ntpdate rely on ntp servers, and since the Ubuntu repos have yet to complete an update of ntp to 4.2.8p4 (the version recommended by ntp researchers), I expect this means that both ...
0
votes
0answers
34 views

NTP question on ntpdc -c peers

I just started learning networking. I recently installed ntp on Ubuntu 14.04 running in Virtualbox on OS X. I was just trying to understand how it works. so when I executed ntpdc -c peers command in ...
5
votes
3answers
3k views

Should I run 'ntpdate' regularly or should I use the NTP service?

I think there are two solutions for keeping the time in sync on my machine. One is to run an NTP service, another is to run the ntpdate regularly by putting it in a crontab. This is how I understand ...
5
votes
2answers
985 views

How to configure UFW to allow ntp to work?

I've enabled UFW on one of production servers with configuration: Default: deny (incoming), deny (outgoing). For NTP synchronization, I've installed ntp and it's currently running. Can someone advise ...
4
votes
2answers
5k views

Disable daily anacron mail updates

Every day, I get the following mail delivered by postfix: From: Anacron <root@name.domain> To: root@name.domain Subject: Anacron job 'cron.daily' on name Content-Type: text/plain; charset=US-...
0
votes
0answers
22 views

How to change date in ntp server

I have local network in which I would like to setup a local ntp server with old date. Architecture looks like this: For now it works ok on PC1, PC2 - I get NTP packets from local server, but I ...
0
votes
1answer
509 views

How to update ntpd to the latest version to patch the latest vulnerability?

This week a new attack on the Network Time Protocol Daemon (ntpd) was demonstrated, see this paper. This could potentially wreak havoc with my HTTPS website or other time sensitive services I am ...
17
votes
3answers
34k views

Unable to synchronize time using NTP

When I try to synchronize time using NTP. Using the below command sudo ntpdate -b pool.ntp.org I get this error saying NTP socket is in use. How to fix this? 18 Jan 05:53:49 ntpdate[21340]: the ...
2
votes
2answers
1k views

Is there a program for analyzing NTP server statistics?

I'm running Ubuntu 12.04 and have the NTP server running, apparently OK. I run the Meinberg NTP server on my two Windows 7 boxes and use its associated server monitor to keep track of what it's up to. ...
26
votes
4answers
7k views

How does Ubuntu synchronize time without ntp?

By clicking "System settings -> Time & Date -> Automatically from the Internet" I can synchronize time from the Internet. However, I find that I don't have a ntpd daemon (It's not even installed)...
2
votes
3answers
11k views

Timezone appears to be set correctly, but time is 7 hours off

I'm installing ubuntu 12.04. On the time/date settings, I tried to click on Seattle (where I am), but it only registered Vancouver. I modified the ntp config files to use the north american pool, if ...
1
vote
1answer
470 views

Reduce ntpdate timeout when DNS settings invalid?

I have an issue where ntpdate times out after exactly 80 seconds in the event that DNS is invalid (or in this case, host is stuck behind a firewall). I would like to bring this timeout down to ...
0
votes
0answers
167 views

Cannot install ntp server

I install ntp server on ubuntu Code: aptitude update aptitude -y upgrade aptitude install ntp Get error ntp: depend libopts25 (>= 1:5.18) which is a virtual package Please help me.
1
vote
0answers
87 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
45 views

Commandline tz and ntp [duplicate]

What is the easiest way to set an incoming ntp server and then set the local tz so the ntp is syncing correctly?
0
votes
1answer
298 views

iptables set-mark doesn't work

My machine has two network interfaces, one is wired (eth0) and the other one is wireless (wlan0). The wired one cannot connect to any external NTP server because there is a firewall outside. The ...
0
votes
0answers
29 views

Is the difference between the system time of the Rumtime normal?

I have to questions regarding the System Clock. (# date) It is it normal hours during the Runtime System is getting faster or slower? I know it can be synchronized with the network time through the ...
1
vote
1answer
62 views

How to calculate NTP [closed]

I'm relatively new to this scene and I haven't got a clue how to figure out the output of this. I hope someone can assist as I really want to learn how. date -u +%F | sha1sum | head -c8; echo
12
votes
7answers
63k views

Unable to sync time using `ntpdate`, error: “no server suitable for synchronization found”

My ntp.conf file: user@pc[0][07:37:40]:/etc$ cat /etc/ntp.conf idriftfile /var/lib/ntp/ntp.drift server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server pool.ntp.org Command output:...
0
votes
1answer
637 views

ntpd does not sync clock automatically

Can anyone help me figure out why my clock isn't syncing? I can update my clock manually with $ sudo sntp -s golem.canonical.com 17 Aug 08:26:22 sntp[518]: Started sntp 2015-08-17 08:26:22.267847 (+...
0
votes
0answers
174 views

Is it safe to delete ntpdate from /etc/cron.daily?

As I understand ntpd effectively replaces ntpdate. I had an admin mail that showed: /etc/cron.daily/ntpdate: run-parts: failed to exec /etc/cron.daily/ntpdate: Exec format error run-parts: /etc/cron....
1
vote
1answer
91 views

Inconsistency between ntpd and ntpdate

I am trying to synchronize two computer in my local network. To do so I use NTP on one computer to synchronize with an ntp pool. Then I use ntp on the second computer and I tell it to synchronize with ...
20
votes
2answers
33k views

Where does ntpdate get its settings from and what is the “no servers can be used” error about?

When I run ntpdate on its own, I get the following output: 8 Jun 15:47:46 ntpdate[31251]: no servers can be used, exiting If I run it with the -q ntp.ubuntu.com switch, it seems to query just ...
0
votes
0answers
86 views

cannot able to get PPS signal from gpsd

i am new to gpsd. My Ublox-M8 GPS modem is connected to /dev/ttyACM0. My /etc/chrony.conf is as below. server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org server 3.us.pool.ntp....
2
votes
1answer
3k views

Will Leap Second 2015 affect our servers?

We are using Ubuntu 12.04 and ubuntu 14.04 servers. These servers using default time settings and we have not installed ntp in these servers. Ubuntu 14.04 root@ubuntu14:~# uname -a Linux ubuntu14 3....
1
vote
1answer
213 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 ...
3
votes
5answers
26k views

“no server suitable for synchronization found” error when trying to run `ntpdate`

I am trying to setup the NTP server on Ubuntu machine. Am breaking my head in this particular issue. Getting an error ntpdate[5005]: no server suitable for synchronization found when doing the ...
12
votes
1answer
22k views

ntpd vs ntpdate: pros and cons

In order to keep the time accurate on a Ubuntu system one can either: Run the ntpd (network time protocol daemon) which will run all the time and continuously adjust the system time when clocks ...