Questions about the NTP protocol and applications that use it. NTP is an acronym for Network Time Protocol.
1
vote
1answer
23 views
What units does the ntp drift file use?
When the ntpd daemon is running, the file: /var/lib/ntp/ntp.drift gets updated periodically. Example:
17:20 hostname 118 ~> ls -l /var/lib/ntp/ntp.drift
-rw-r--r-- 1 ntp ntp 7 May 20 16:46 ...
1
vote
1answer
21 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 ...
1
vote
0answers
40 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 ...
2
votes
2answers
104 views
Ubuntu inside virtual machine: ntpd or ntpdate or ??? to avoid clock drift
Problem: ntpd, when installed on a virtual machine running Ubuntu (I've had this on hosts with a variety of hypervisors such as KVM and VMware ESX) seem to be prone to severe clock drift. I haven't ...
2
votes
0answers
40 views
Clock issue in Ubuntu 12.10 [duplicate]
I could see that my clock does not work right. For example, now it's 15:49, and Ubuntu has 16:10.
It takes the time from Internet and I don't know why change it when it wants.
/etc/default/ntp it ...
11
votes
4answers
1k 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 ...
2
votes
1answer
351 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 ...
2
votes
2answers
212 views
What is the package and background process for “network time”?
What is the background process of "network time" in gnome control center (gnome system settings)? Is there a package providing this feature?
I've noticed that neither ntp nor openntpd are installed ...
3
votes
3answers
1k views
Can I use NTP service through a proxy?
Can I use NTP service through proxy? how to do it?
I want NTP auto sync my clock through proxy.
2
votes
3answers
3k 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 ...
10
votes
2answers
4k 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?
0
votes
0answers
127 views
ntpd & libopts permission denied
My ntp daemon not starting. So what is wrong? I can't find any hints about it in google.
root@us1:~# /etc/init.d/ntp start
* Starting NTP server ntpd
/usr/sbin/ntpd: error while loading shared ...
0
votes
0answers
547 views
NTP issue - Temporary failure in name resolution [closed]
The date on my Ubuntu server is two hours ahead:
date
Tue Jul 3 15:10:55 SAST 2012
when in fact its 13:10:55 SAST
I've tried doing an ntpdate to update, but it keeps reporting:
Exiting, name server ...
8
votes
2answers
6k 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 ...
2
votes
2answers
6k views
Timezone appears to be set correctly, but time is 7 hours off
I'm installing ubuntu 12.04. On the time/date settings, I tried to click on Seattle (where I am), but it only registered Vancouver. I modified the ntp config files to use the north american pool, if ...
10
votes
4answers
3k views
Why is Ubuntu's clock getting slower or faster?
Ubuntu's clock is off by about a half hour:
Where do I even start troubleshooting this?
It's allegedly being set "automatically from the Internet". How can I verify that "the Internet" knows what ...
9
votes
7answers
2k views
How do I customize the NTP poll rate?
I'm setting up Ubuntu on an embedded machine that runs over a cellular connection, where we pay per byte. The machine also has no RTC battery, so it starts from a random time every boot.
I'd like to ...
3
votes
1answer
1k views
ntpd server always in 'INIT' mode
I'm running ntpd server in my ubuntu (10.04) machine. But it is always stays in the 'INIT' state as shown below.
lyra@ws07475:~$ ntpq -p
remote refid st t when poll reach delay ...
0
votes
0answers
206 views
Why does my time keep jumping forward randomly on a Xen virtual machine (domU)? [closed]
I have been having some weird problems with NTP for a while.
If I use ntpdate to set the time then it sets fine. ntpd then invariably fails to find a server (I have loads configured) and decides to ...
0
votes
1answer
210 views
Time problem causes IMAP server to fail
I've had a problem with my system time, when I execute the following:
date && touch test && stat test
I get this result:
Sun Jan 22 17:52:07 MSK 2012
File: test
Size: 0 ...
5
votes
4answers
6k views
What is the command to update time and date from internet
What is the command to update time and date from Internet. Is there any application that allows me to do so graphically?
0
votes
1answer
3k views
How to change time servers?
I'm behind NAT, so I can't access pool.ntp.org or Ubuntu's own time servers directly, and I'd like to change the time servers for my system. When googling, I find references to missing manpages like ...
1
vote
2answers
264 views
System time is 12 hours ahead [closed]
I use ntpd to set the time on my server to GMT and it works however it always sets the time 12 hours ahead.
It says it is GMT and it doesn't give any errors when I run ntpd.
Any ideas to fix this?
...
6
votes
3answers
15k 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 ...
6
votes
1answer
687 views
How do I add a specific time-server?
At work I can only connect to a specific ntp time-server. Under Ubuntu 10.10 I was able to add that server somewhere under time/date settings. Now under Ubuntu 11.04 I cannot find that option anymore. ...
1
vote
2answers
141 views
How do I set time for use on a server where microseconds are important?
Lets say you have a server that stores records, and the time stamp that goes into the mysql/postgres/text-file/whatever is vital to be accurate (lets pretend it's a physics experiment, or bank ...
1
vote
1answer
466 views
Show Time drift relative to a time Server
I want to monitor the time drift on my workstation. How can I compare my local time to a timeserver like pool.ntp.org and show the difference?
4
votes
4answers
2k 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
3answers
8k views
2
votes
1answer
287 views
How can I connect to a specific NTP server?
I have an NTP server I want to connect to. I know its IP address.
How can I connect to it through the command line?
7
votes
2answers
2k 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 ...
2
votes
1answer
188 views
Time server not being used
I have 4 PCs running 10.10 and they all are configured with the same time servers. However, one of them was 6 minutes wrong and it obviously wasn't getting its time synchronized via the defined ...
0
votes
1answer
8k 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 ...
5
votes
1answer
538 views
Clock stops ticking when inactive, causing drift
The clock applet drifts in time.
Clock is set to "synchronize with internet ..." so it is correct at startup, but then if I stay inactive for some time, may be 5 min as well as 1 hour, the clock stops ...
