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
17 views

The NTP “ntpdc” shell command “peers” returns “localhost: timed out, nothing received”

I'm running Ubuntu MATE 16.04 (Xenial Xerus) - 64-bit "Desktop" version - in a HP laptop computer. I have a question regarding NTP (Network Time Protocol): if i run the command "ntpq -p", I then get ...
0
votes
0answers
9 views

how can I reduce NTPD poll frequency?

If don't configure minpoll and maxpoll in /etc/ntp.conf file. It takes 64s and 1024s respectively. I have changed my system time (forwarded to 10 mins) for NTP updating my time within minpoll maxpoll ...
0
votes
1answer
29 views

At what time intervals does ntpd update the time?

I'm running the latest ntpd. When I start ntpd my system time synchronizes with ntp server's ntp. After synchronizing I changed my system time manually using date command date -s '1997-02-22 12:00:...
0
votes
0answers
15 views

ntpdate is not updating system time

I have manually installed the ntp package on my Ubuntu. When I manually changes the date & time (for example, move the time forward by about 10 minutes) my ntpd is not synchronizing the correct ...
3
votes
1answer
47 views

Can you help me troubleshoot (and rectify) a time drift issue?

I'm using Ubuntu Mate 15.10 on a F.Siemens laptop. I'm facing a time drift issue that I'd need some help with. The time drifts by as much as 15 minutes in a 2-3 hour span. Forcing an update (with ...
1
vote
0answers
20 views

When changing the date & time, ntp time is auto updating to the correct time

I have manually install the latest ntpd 4.2.8p6 package, not used apt-get install command. All ntp binaries have installed properly. When I set an incorrect date using the date command, my machine is ...
0
votes
0answers
21 views

NTP synchronisation in Ubuntu Core 10

How can i configure a proper NTP synchronization in ubuntu core 10. I am running the following version ubuntu-core 2016-05-24 10 ubuntu I tried using root@localhost:/home/...
0
votes
0answers
28 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
59 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
40 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
20 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
69 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
20 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
23 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
347 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
26 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
31 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
2answers
584 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 ...
1
vote
1answer
73 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
132 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
48 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
35 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
279 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
193 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
36 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
1k 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
568 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
513 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
175 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
94 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
316 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
30 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
736 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
179 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
97 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 ...
26
votes
4answers
8k 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
216 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
625 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
64 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
116 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
458 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
955 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
2k 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
845 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
728 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 ...