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

learn more… | top users | synonyms

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 ...
2
votes
1answer
637 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 ...
1
vote
1answer
202 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 ...
0
votes
1answer
116 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 ...
0
votes
1answer
36 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
246 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
1answer
105 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 ...
0
votes
1answer
76 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
1answer
163 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
0
votes
1answer
1k 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 ...
2
votes
0answers
338 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
0answers
77 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
0answers
553 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 ...
1
vote
0answers
155 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
vote
0answers
295 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 ...
0
votes
0answers
20 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
0answers
277 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
45 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 ...
0
votes
0answers
159 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 ...
0
votes
0answers
32 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 ...
0
votes
0answers
21 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
0answers
146 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.
0
votes
0answers
27 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
0answers
157 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: ...
0
votes
0answers
76 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 ...
0
votes
0answers
39 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. ...