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
15 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
27 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
19 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 ...
4
votes
2answers
219 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
20 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
221 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
198 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
84 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
39 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
34 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
146 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
25 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
183 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
103 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: ...
1
vote
1answer
63 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
59 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 ...
25
votes
4answers
4k 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
38 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
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 ...
1
vote
1answer
147 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
400 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
2k 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
54 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
538 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
73 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
312 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
91 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
172 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
37 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
656 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
1answer
958 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
640 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
1answer
468 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
695 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
287 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
70 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
1k 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
138 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
785 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 ...
1
vote
1answer
728 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
9k 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
870 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
2k 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
502 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]: ...
2
votes
2answers
632 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. ...
34
votes
3answers
85k 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
203 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 ...
4
votes
4answers
7k 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 ...