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

learn more… | top users | synonyms

2
votes
1answer
83 views

How can I be sure that I'm using NTP version 4.2.8p1 or equivalent?

I've recently read about the vulnerabilities within ntp, here which can be closed by installing ntp version 4.2.8p1. However, I've used apt-get to install the latest version of ntp, on an Ubuntu ...
70
votes
9answers
203k 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
29 views

Hyper-v / Ubuntu has incorrect time

I am using ubuntu desktop under Hyper-V on a Windows 8.1 machine and most of the time the machine is in sleep mode. This means that when I try to use the Ubuntu machine the time is off - by a lot ...
0
votes
1answer
32 views

NTP over a local network

I have one server: 192.168.0.40 and 4 clients: 192.168.0.61-192.168.0.64. The clients are Raspberry Pis and so have no real time clock. Therefore the time is always wrong. I have followed ...
6
votes
2answers
13k views

What units does the ntp drift file use?

When the ntpd daemon is running, the file: /var/lib/ntp/ntp.drift gets updated periodically. Example: 17:20 hostname 118 ~> ls -l /var/lib/ntp/ntp.drift -rw-r--r-- 1 ntp ntp 7 May 20 16:46 ...
0
votes
1answer
42 views

ntp possible on ad hoc network in ubuntu ? 12.04 onwards

I am doing a research project on Vehicular Ad hoc networks.. I am using C programming language for socket programming, with four laptops installed with Ubuntu 12.04 and 14.04 versions. All the laptops ...
1
vote
1answer
474 views

Synchronise clocks on ubuntu running in EC2?

I've got three servers running on AWS EC2 using official Ubuntu AMIs using paravirtualisation. I have noticed their clocks are out of sync by about a minute. NTP is not installed by default in the ...
1
vote
1answer
135 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. ...
0
votes
1answer
65 views

leapseconds file: Permission denied

my server log has several entries like this: leapseconds file /etc/ntp.leapseconds: Permission denied [1195225.016830] type=1400 audit(1420833186.419:25): apparmor="DENIED" operation="open" ...
0
votes
2answers
82 views

ntpd not adjusting the time

In my Ubuntu 14.10 ntp doesn't seem to work. If I call: ntpd -g -q This is the output in syslog: Dec 12 20:33:26 nebelhaufen ntpd[28659]: ntpd 4.2.6p5@1.2349-o Wed Oct 9 18:56:59 UTC 2013 (1) Dec ...
2
votes
1answer
348 views

NTP: Use unprivileged ports

I have had some trouble with ntdpate on EC2, which was solved by using the -u argument for unprivileged ports: $ sudo ntpdate -u ntp.nasa.gov time-b.nist.gov I know that ntpd is better than a ...
0
votes
0answers
48 views

NTP clients are not continuously sync with Master NTP server in Ubuntu

I created Master NTP server on one first Ubuntu server and one NTP client on second Ubuntu server. My main problem is NTP client not continuously sync with Master NTP server, I have to restart the ...
0
votes
1answer
128 views

NTP not working in ubuntu 14.0.4 LTS

Is there any other way to sync my server close with external server. Some how NTP is not working in my Ubuntu server. sudo ntpdate -u pool.ntp.org no server suitable for synchronization found” ...
13
votes
8answers
13k views

How do I customize the NTP poll rate?

I'm setting up Ubuntu on an embedded machine that runs over a cellular connection, where we pay per byte. The machine also has no RTC battery, so it starts from a random time every boot. I'd like to ...
1
vote
1answer
83 views

Openntpd cannot be uninstalled

I have openntpd installed when I was trying to install Cloudstack on my Ubuntu 14.10. I no longer needs openntpd but now I cannot uninstall it. I tried sudo apt-get autoremove and purge but I always ...
1
vote
3answers
3k views

“ntpd unable to bind to wildcard address 0.0.0.0 - another process may be running”

On my Ubuntu 13.04 (using AWS). When I start a new machine or when I reboot my machine ntp does not start and I see the following in the syslog: Jan 10 02:56:49 ntpd: unable to bind to wildcard ...
16
votes
4answers
33k views

What is the command to update time and date from internet

What is the command to update time and date from Internet. Is there any application that allows me to do so graphically?
0
votes
0answers
19 views

How does the ntpd -N work?

I read on the ntpd man page that ntpd -N runs the ntpd at the highest priority to the extent permitted by the operating system. I want to know how this works? Which are the kernel processes which ...
4
votes
1answer
3k 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; ...
1
vote
2answers
462 views

Can't run ntpdate on EC2

I have had some serious issues with time accuracy on my Ubuntu EC2 machines, with drifts of more than 60 seconds. A possible solution is running ntpdate or ntp, but I can't get them to work on EC2: ...
0
votes
0answers
99 views

How to configure NTP time sync on a controller node

In a new installation of ICEhouse on Window8.1 Host and VMware VMs - 3 node configuration, I don't know how to configure ntp all nodes. Ther are 3 node Controller Node , Network Node and Compute ...
2
votes
1answer
221 views

Is there a way to make ntpd -gq run faster

This question is related to this question and this earlier question I asked on serverfault. Per my previous question, I'm interested in synchronizing the time on my machine in a fast (ideally less ...
0
votes
0answers
73 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 ...
-1
votes
1answer
339 views

How do I make my laptop act as an NTP server in LAN without connecting to the internet?

I need to set my laptop as an NTP server within my own local area network. From what I notice, I am able to sync the client to my NTP server in a local area network ONLY when a.) There is an ...
1
vote
0answers
927 views

server time drift not fixed by ntp.conf

This question was asked a lot in the past, but since ntpdate has been depricated, I'm having issues finding answers that work via ntp.conf. I've read a lot about setting a cron job for ntpdate is a ...
0
votes
1answer
185 views

Check if NTP Client Daemon is Working properly Using NTPDC

How can i check if a NTP client is working properly solely by using ntpdc command? Thanks
3
votes
1answer
3k 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 ...
2
votes
1answer
154 views

Force ntpd to have offset from time server

Is it possible to force ntpd to have a fixed time offset, e.g. 10 minutes, to another server? To be able to test that our devices do nicely sync with a single ntp source, we would like enable/disable ...
2
votes
1answer
4k views

ntpdate “ no server suitable for synchronization found”

I have tried to disable the firewall and allow the port 123 as explained in other questions, but it didnt help me, it keeps telling me $ sudo ntpdate -u pool.ntp.org 5 May 05:41:40 ntpdate[3614]: ...
5
votes
2answers
7k 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 ...
1
vote
0answers
55 views

start ntpd -qg after network connection

I am trying to synchronise two machines that connected over ad-hoc network. None of the computers are connected to the internet. One computer doesn't have a Real Time Clock, so everytime I reset it, ...
16
votes
2answers
25k 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 ...
12
votes
6answers
43k 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 ...
14
votes
4answers
6k views

Why is Ubuntu's clock getting slower or faster?

Ubuntu's clock is off by about a half hour: Where do I even start troubleshooting this? It's allegedly being set "automatically from the Internet". How can I verify that "the Internet" knows what ...
14
votes
2answers
22k 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 ...
15
votes
2answers
37k 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 ...
3
votes
4answers
21k 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 ...
1
vote
1answer
1k views

ntp date not showing the correct time [duplicate]

I was having an issue in which the time my ubuntu machine was showing is 5 hours ahead of my standard time. So I installed ntpd for that using apt-get install ntp after that I restarted ntp but ...
3
votes
2answers
31k views

How do I setup a local NTP server?

I installed NTP server on Ubuntu Server 10.04 using: sudo apt-get install ntp The NTP daemon seems working and listening on the 123 port. However, I was not able to get the time from another ...
0
votes
2answers
148 views

How to sync time ubuntu desktop 13.10 client with Centos6.4 server using ntp

I have NTP server setup on my CentOS6.4 server and am trying to sync my Ubuntu 13.10 Desktop (AMD) client with it. I figured this would be easy having heard positive things about Ubuntu but it's not ...
12
votes
3answers
23k views

How to set Ubuntu to synchronize my clock with a time server?

I would like Ubuntu to automatically synchronize my system clock with a timeserver at startup. However, my PC isn't connected to the Internet until after I've logged in (plus 5 - 10 seconds for good ...
3
votes
1answer
4k 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
80 views

How to time sync two systems in same network?

I want my laptop to derive it's clock time from another system which is located in another building.Both the systems use Ubuntu 12.04
2
votes
3answers
9k 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 ...
3
votes
2answers
3k views

Time sync between ubuntu and windows

Iam working as a linux admin. In our company we are using a ubuntu server with windows clients. The time in each clients are not same. Is it possible to sync time from ubuntu server with the windows ...
2
votes
0answers
230 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
1answer
4k views

How to change time servers?

I'm behind a firewall, so I can't access pool.ntp.org or Ubuntu's own time servers directly, and I'd like to change the time servers for my system. When googling, I find references to missing manpages ...
4
votes
2answers
1k 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 ...
1
vote
1answer
956 views

Unable to locate ntpd package

I am trying to install ntp for my server. However, on running sudo apt-get install ntpd i get the response Unable to locate package ntpd. I have run sudo apt-get update and the problem still remains
0
votes
1answer
696 views

enable/disabling NTP server

Our application runs on ubuntu 12.04 precise. On this server, we have both ntpdate and ntp. How to enable and disable NTP service on-demand? I tried 'sudo update-rc.d -f ntp remove/default' and 'sudo ...