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

learn more… | top users | synonyms

22
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 ...
0
votes
0answers
12 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. ...
2
votes
1answer
2k 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 ...
1
vote
1answer
32 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
69 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 ...
0
votes
3answers
185 views

How do I install ntpstat in Ubuntu? [duplicate]

I want to install ntpstat in Ubuntu for checking if NTP is working.
1
vote
1answer
26 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
0
votes
0answers
120 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
30 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
99 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
66 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
0answers
83 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
28 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
302 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
87 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
226 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
1answer
324 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
0answers
90 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
214 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” ...
0
votes
2answers
269 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 ...
1
vote
1answer
192 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 ...
0
votes
1answer
60 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
176 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
479 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 ...
1
vote
0answers
101 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
519 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
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
1answer
352 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
5
votes
1answer
5k 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
534 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 ...
1
vote
2answers
899 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: ...
2
votes
1answer
267 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
6k 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]: ...
1
vote
1answer
286 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. ...
22
votes
2answers
55k 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
2answers
177 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 ...
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 ...
0
votes
1answer
98 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
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 ...
2
votes
0answers
267 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] ...
2
votes
1answer
718 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 ...
4
votes
2answers
2k 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
1k 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
803 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 ...
1
vote
1answer
2k 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 ...
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; ...
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 ...
6
votes
2answers
17k 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 ...
8
votes
1answer
15k 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 ...