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

learn more… | top users | synonyms

0
votes
1answer
20 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
16 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
38 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
51k 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 ...
0
votes
1answer
18 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
24 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: ...
16
votes
2answers
27k 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 ...
1
vote
1answer
26 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 ...
27
votes
3answers
64k 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 ...
1
vote
1answer
84 views

how to create my own ntp server [closed]

Ok here is my setup. I have 2 virtual machine both have ubuntu 32bit 12.04. I connect them with inet(internal network). I want to make one of them for ntp server and the other one for ntp client. ...
18
votes
2answers
28k 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
19 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 ...
23
votes
4answers
2k 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 ...
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 ...
0
votes
0answers
27 views

Time PM/AM setting incorrect in spite of correct time zone, latest ntpdate etc

My time is incorrectly set as PM when it's AM and vice versa. The timezone is set correctly to the location where I am and I've followed the instructions elsewhere for installing ntpdate and tzdata. ...
1
vote
1answer
68 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 ...
106
votes
10answers
323k 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 ...
3
votes
5answers
23k 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 ...
11
votes
1answer
16k 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 ...
1
vote
3answers
622 views

How do I install ntpstat in Ubuntu? [duplicate]

I want to install ntpstat in Ubuntu for checking if NTP is working.
1
vote
0answers
143 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 ...
2
votes
4answers
5k 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 ...
1
vote
1answer
1k 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
0answers
249 views

Proxy Network setting for NTP servers in Ubuntu

As debug check list on my host machine is configured to accept UDP packets on the NTP port 123. As I am working PROXY server and trinying to get connected through NTP, but everytime it was sysnced ...
0
votes
1answer
42 views

Is NTPD secure enough for production?

I am running Ubuntu Server. I want to make an application which uses an timestamp. For this I thought it was an good idea to make sure the time is correct on the system. I found this Time ...
2
votes
1answer
170 views

What is messing up my system clock?

Ubuntu 14.04 desktop, 64-bit I came in to work this morning and noticed that the clock on my system was off by approximately 3 minutes, as compared to the clock on my phone. That seems odd, since my ...
0
votes
0answers
78 views

Time is changing abnormaly on Ubuntu server

I have a problem with the time of my server. I did install ntp. I added a cron job: * * * * * root ntpdate -u 0.pool.ntp.org > /dev/null but every time the job is executed why my date goes up ...
0
votes
1answer
250 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” ...
-1
votes
1answer
593 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 ...
0
votes
1answer
403 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 ...
0
votes
0answers
104 views

How to make udp port 123 to listen for ntp in ubuntu

I am doing time synchronization between two Ubuntu computer. I had one server synchronized time with GPS using gpsd and ntpd. But I want my client computer to synchronized with the server time as ...
0
votes
0answers
34 views

Disabling NTP causes error prompt on splash screen

For a project, I need to disable NTP (time-synch) however when I disable NTP, the next time at boot-up, I get a message at Splash Screen that states Press F to attempt to fix errors, I to ignore, S to ...
2
votes
1answer
384 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 ...
0
votes
0answers
107 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 ...
10
votes
2answers
18k 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
63 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 ...
2
votes
1answer
879 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
365 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
429 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
397 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
621 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
96 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 ...
15
votes
8answers
16k 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
223 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 ...
24
votes
4answers
47k 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
35 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
4k 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
1k 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
201 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 ...
3
votes
1answer
692 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 ...