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

learn more… | top users | synonyms

1
vote
1answer
16 views

How to calculate NTP [on hold]

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
14 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
21 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 ...
1
vote
1answer
57 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 ...
-1
votes
0answers
32 views

Problems with NTP DATE

I have one PC with Ntpdate (pc1) installed and I want to ask ntpdate from other pc with this command: sudo ntpdate [name_pc1.domain] But I can't get a successful response from this pc1. I've ...
0
votes
0answers
59 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
51 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
22 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
195 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
62 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
93 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
140 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
71 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
164 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
159 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
143 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
54 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
22 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
140 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
328 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
88 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
420 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
999 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
246 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
4
votes
1answer
4k 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
443 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
667 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
203 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
5k 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
196 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. ...
19
votes
2answers
45k 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
166 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
3answers
4k 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
90 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
241 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
540 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
749 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
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 ...
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
15k 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 ...
5
votes
1answer
13k 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
0answers
231 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 ...
6
votes
2answers
3k views

Ubuntu inside virtual machine: ntpd or ntpdate or ??? to avoid clock drift

Problem: ntpd, when installed on a virtual machine running Ubuntu (I've had this on hosts with a variety of hypervisors such as KVM and VMware ESX) seem to be prone to severe clock drift. I haven't ...
2
votes
0answers
42 views

Clock issue in Ubuntu 12.10 [duplicate]

I could see that my clock does not work right. For example, now it's 15:49, and Ubuntu has 16:10. It takes the time from Internet and I don't know why change it when it wants. /etc/default/ntp it ...
81
votes
9answers
236k 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 ...
14
votes
2answers
23k 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 ...