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

learn more… | top users | synonyms

14
votes
2answers
18k 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 ...
12
votes
6answers
39k views

Unable to sync time using `ntpdate`, error: “no server suitable for synchronization found”

My ntp.conf file: user@pc[0][07:37:40]:/etc$ cat /etc/ntp.conf idriftfile /var/lib/ntp/ntp.drift server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server pool.ntp.org Command ...
53
votes
7answers
142k 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 ...
11
votes
3answers
20k views

How to set Ubuntu to synchronize my clock with a time server?

I would like Ubuntu to automatically synchronize my system clock with a timeserver at startup. However, my PC isn't connected to the Internet until after I've logged in (plus 5 - 10 seconds for good ...
19
votes
2answers
25k views

How to configure NTP time synchronization on a server?

I would like to configure my Ubuntu 12.04 server to synchronize its clock with a specific NTP server. Where to set this up?
7
votes
2answers
5k views

Clock drift even though NTPD running

I'm having a problem with the clock drifting on my PC. I'M running Ubuntu 10.10 on an somewhat crusty IBM e-server (1.5GB RAM, 2.4GHz CPU) ntpd is running (started at run level 2) servers are ...
5
votes
3answers
22k views

how do I disable ntpd?

I'm running Ubuntu in a VM. How do I disable ntpd?
3
votes
1answer
8k 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 ...
3
votes
2answers
26k views

How do I setup a local NTP server?

I installed NTP server on Ubuntu Server 10.04 using: sudo apt-get install ntp The NTP daemon seems working and listening on the 123 port. However, I was not able to get the time from another ...
15
votes
2answers
22k views

Where does ntpdate get its settings from and what is the “no servers can be used” error about?

When I run ntpdate on its own, I get the following output: 8 Jun 15:47:46 ntpdate[31251]: no servers can be used, exiting If I run it with the -q ntp.ubuntu.com switch, it seems to query just ...
6
votes
3answers
3k views

How can I force Ubuntu to use the BIOS internal clock instead of NTP or whatever its being used?

My clock starts running out of sync in Ubuntu which doesn't happen in Windows. The problem is that it just starts losing time after a moment of syncing it with an NTP server, that means the clock is ...
3
votes
1answer
3k 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 ...
3
votes
4answers
19k views

“no server suitable for synchronization found” error when trying to run `ntpdate`

I am trying to setup the NTP server on Ubuntu machine. Am breaking my head in this particular issue. Getting an error ntpdate[5005]: no server suitable for synchronization found when doing the ...
0
votes
2answers
157 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: ...