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
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
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 ...
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
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?
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 ...
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/...
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
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
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 ...
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 ...
-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
2answers
979 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 ...
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 ...
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 ...
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 ...
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....
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
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 ...
1
vote
0answers
597 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
3answers
3k 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
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
0
votes
1answer
112 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
439 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 ...
2
votes
1answer
903 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 14....
0
votes
1answer
1k 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
820 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" profile="/...
0
votes
1answer
709 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
1k 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
329 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
78 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 ...
3
votes
1answer
2k 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
161 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
974 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 ...