Questions tagged [ntp]
NTP stands for Network Time Protocol, and it is an Internet protocol used to synchronize the clocks of computers to some time reference.
75
questions
3
votes
1
answer
6k
views
Chronyc equivalent for ntpdate -q
According to ntpdate and chronyd man pages
In ntpdate -q : Query only - don't set the clock.
chronyd -q : When run in this mode, chronyd will set the system clock once and exit. It will not detach ...
3
votes
2
answers
8k
views
Synchronizing time with only one NTP server
I have a linux machine on a network where the machine only has access to exactly one NTP server. After the time synchronization the status looks like this:
[root@test ~]# ntpq -p
remote ...
3
votes
2
answers
12k
views
Fake SNTP server for testing
I want to setup an SNTP server for testing purposes that
can be set to any arbitrary value (for example testing DST behaviour of the device under test)
serve only on eth1 on my RedHat Enterprise ...
3
votes
3
answers
8k
views
How to have ntpd serve only my local subnet
I have a few servers with public Internet IP addresses like A.B.C.x. One of my hosts (A.B.C.10) runs ntpd and I have it syncing it's time from europe.pool.ntp.org.
Now I only want to allow hosts ...
3
votes
1
answer
3k
views
Nagios NTP, discarding peer
We're using nagios check_ntp_time for monitoring time on our servers. Unfortunately the service is flapping. And reporting a lot of false-positives. It happens everytime for random server in random ...
3
votes
1
answer
16k
views
NTP can't synchronise or find a suitable server
The problem I'm trying to solve is that NTP won't synchronize:
$ sudo ntpstat
unsynchronised
time server re-starting
polling server every 64 s
Edit: Here's some ntpq output:
$ sudo ntpq -c ...
3
votes
2
answers
40k
views
Time not propagating to machines on Windows domain
We have a two-domain Active Directory forest: ourcompany.com at the root, and prod.ourcompany.com for production servers. Time is propagating properly through the root domain, but servers in the child ...
2
votes
2
answers
21k
views
Both my ntp servers are marked as falsetickers in the status [closed]
I have a linux box, set up with two ntp servers to sync.
This box in case, was extremely out of sync (61 seconds) before it was forced sync.
The following outputs are 1 hour after this sync.
When ...
2
votes
2
answers
3k
views
How often does openntpd update the time?
Neither the openntpd nor the ntpd.conf manpage have this information.
2
votes
2
answers
10k
views
Cisco ASA5505 won't sync with NTP
Today I noticed that the clock my Cisco ASA 5505 firewall was running about 15 minutes late, which surprised me since I've set up the NTP client.
My two NTP servers 10.10.0.1 and 10.10.0.2 are ...
2
votes
5
answers
5k
views
Does CentOS 5.4 properly handle leap seconds?
Apparently the IERS have announced a leap second due at midnight, June 30th this year.
Is CentOS/RHEL 5.4 properly updated to support/transition along with updated NTP systems? I was under the ...
2
votes
1
answer
1k
views
How can I synchronize system time with a NTP server continuously?
Is there a linux service that can synchronize system time with a NTP server with a given interval, such as 1 minute, 1 hour or 1 day ?
Is it a good practice to run utpdate in a cron tab? e.g.
*/10 * ...
2
votes
1
answer
2k
views
Time issues on the Network -- How to find the Root Cause
A number of application servers started erroring out in my domain. Troubleshooting led me to a missconfiguration of NTP. I fixed the issue, but I don't know how the issue arose in the first place.
...
1
vote
2
answers
3k
views
centOs : system time getting reset back to UTC after changing it using timedatectl
I have a Centos machine with version 7. I am trying to change the system time using the timedatectl command. The time gets changed but after a few seconds it gets reset back to it's original time.
[...
1
vote
2
answers
6k
views
Getting NTP to work on AWS without opening inbound port in security group
I have a private server on AWS that has no publicly open inbound ports. The only open port is SSH, and it's only accessible from other machines in the same subnet.
This machine reads files from S3 ...
1
vote
2
answers
9k
views
How to force locally isolated ntpd update time
Objective
I had locally isolated hosts. I'd like them all have the same time. One takes role of the time server, other syncs with it as clients.
All machines has sporadic uptime. They are powered ...
1
vote
1
answer
6k
views
Where can I see ntpd working status (log or message)
In my server the ntpd service is started but it does not seem to work.
I can find nothing according to this ( Where are the ntpd log file located, and how can we configure the ntpd log file path? ) ...
1
vote
2
answers
5k
views
ntpdate wrong date
Hi all I have an ubuntu8 server where I have problems with date.
My current date (Europe/Rome) is 9:35
If I do date print me 11:12:34
I have seen my ntp.conf is:
server 0.ubuntu.pool.ntp.org
...
1
vote
2
answers
2k
views
RHEL 5 Hyper-V Guest - Cannot sync with NTP after kernel upgrade
I'm running a RHEL 5 (64 bit) guest on Microsoft Hyper-V.
I've always had trouble with the clock getting way ahead of itself, which I was able to solve previously by adding
divider=10 clocksource=...
1
vote
1
answer
275
views
Setting up NTP on 2 Linux boxes and one OpenBSD box
I have been tasked with getting an NTP client working on two Linux machines and an OpenBSD machine.
The machines are arranged like this:
NTPServer
/ \
/ \
L1 L2
...
1
vote
3
answers
1k
views
Building a local time server
I am trying to install a time server on a local Ubuntu machine, so other servers in my network would sync with it. We have decided to install our own time server, rather than letting each server ...
0
votes
1
answer
5k
views
Using NTPD on OpenBSD to get time from Linux using portforwarding
This is a rehash of another question, now that I understand things a bit better.
I have the following network set up:
NTP
10.21.3.169
| \______________
| \
10....
0
votes
3
answers
2k
views
NTP time sync not working in a DOMU Centos 5.5 server
I have a Xen Centos 5.5 server with ntpd working in virtual server.
NTP time sync seems not working.
I have disabled any firewall.
my grep -i ntpd /var/log/messages output:
Apr 1 16:15:47 ...
0
votes
3
answers
9k
views
How to synchronize clocks on servers with no internet access?
I would like to synchronize the clocks on 10 Ubuntu 16.04 servers all with no internet access. Based on my internet searches, ntp does not seem to be designed for this. What is the easiest way to do ...
0
votes
1
answer
526
views
Disconnect Local Clock from Domain Controller Clock
How can I disconnect my workstation clock from the domain controller?
In other words, I do not want them synchronized.