Questions tagged [ntpd]

The Network Time Protocol daemon (NTPd) is a daemon program that synchronizes the system time with time servers using the Network Time Protocol (NTP).

The Network Time Protocol daemon () is a daemon that synchronizes the system time with time servers using the Network Time Protocol ().

Website: http://www.ntp.org

Man page: http://linux.die.net/man/8/ntpd

Wikipedia: http://en.wikipedia.org/wiki/Ntpd

236 questions
1
vote
2 answers

Troubleshooting NTP sync in VirtualBox Linux server

I have a rather simple setup where I have two computers: Computer A. has a normal NTP setup and uses the standard Internet sources (As per Ubuntu) to determine time. It also allows for query on IP 10.0.2.0/24: restrict 10.0.2.0 mask 255.255.255.0…
Alexis Wilke
  • 2,210
  • 1
  • 20
  • 37
1
vote
0 answers

Is it possible to configure chrony to have different time sources with different priority?

Currently I have a number of Ubuntu 18.04 machines on a local network without internet access configured on chrony to refer to look up to one of them as the "master" as synchronize to it. What I would also like to achieve though is that if these…
Otter_warrior
  • 21
  • 1
  • 2
1
vote
1 answer

Sudden system time jumps on VM

for the second day in a row the system time on a VM I'm in charge of jumped forward by exactly 90026 seconds. In the afternoon or evening, not connectable to any cron maintenance job which typically run 3-5 am. I don't know where to begin looking.…
musbur
  • 193
  • 12
1
vote
1 answer

NTP - After how much delay would NTP select a remote server in the pool?

A selected server will be indicated by *. But how much time will this take to select a peer from the pool if ntp service is restarted? I'm trying to monitoring NTP server offset but every time i restart the service the selection process takes a…
user630702
  • 495
  • 10
  • 32
0
votes
2 answers

CentOS sending out NTP packets while NTP service is stopped

NTP service is stopped, still my CentOS machine is sending out NTP packets to a NTP server: # service ntpd status ntpd is stopped
0
votes
1 answer

centos 7 NTP configuration

I am trying to configure ntp.conf with a stratum 1 server and also a peer VM on the same network. Config file is attached below. The problem is server with the IP address 10.6.11.171 does not seem to reach : 10.6.11.170. All firewall rules are in…
Mus
  • 21
  • 1
  • 5
0
votes
0 answers

querying data from NTP in ubuntu using socket

I have configured ntp to use gpsd as reference server on my machine. I am querying data from ntp directly, using udp socket. For ip address I use localhost and port_number = 123. Packet structure I use is: typedef struct { uint8_t li_vn_mode; //…
debonair
  • 101
  • 3
0
votes
2 answers

Can you configure a specific interface to reach the NTP server?

I have to configure NTP on a CentOS server. I have 7 interfaces and I can reach the NTP server through one interface. Also the server doesn't have access to internet. When I try ping: ping 10.0.10.12 connect: Network is unreachable But when I ping…
ananetworking
  • 33
  • 1
  • 6
0
votes
0 answers

ntp + ntp loose synchronize each time in 5:00 morning

we have a very strange behavior we have 12 Linux redhat machines - redhat 7.x two of these VM servers are loosing the time synchronize each day at 5:00 in the morning after we restart the chronyd , then sync return to normal but what could be the…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

Set up a NTP server which can be queried globally

I want to set up a server (hosted on aws/or a running system in some part of the world) as an NTP server that can be queried globally. Currently, I have modified the ntp.conf file on the node to be made the server as server . But the problem is, on…
0
votes
1 answer

Query on NTP current time source

I have a query regarding ntpd options and the ntpq command. I have set up a local NTP Server in Ubuntu 14.04 PC and NTP Client is a custom development platform based on Renesas RZ/G1H. I have started NTP on my NTP Server and ntpd is running on then…
0
votes
4 answers

ntp offset with stratum 1 , when using stratum 2

I was searching for a solution but didn't find clear answer. In my company, all our servers are syncing time with one of our private ntp servers (which are stratum 3 if I'm correct). These stratum 3 servers are of course configured to get time of…
vercetty92
  • 11
  • 5
0
votes
2 answers

Time is going too fast on FreeBSD 12 on compute engine

I have created a FreeBSD VM on Google cloud engine. The image is installed with ntpd configured and is running: $service ntpd status ntpd is running as pid 4950. But date is in the future, the time goes too fast on the server. $date Mon Feb 25…
DNRN
  • 101
  • 3
0
votes
1 answer

Deny NTP servers with stratum more than specific level

How can I deny in my /etc/ntp/ntp.conf to sync with the NTP server with specific stratum level (e.g. more than 5 )? I have a bad NTP server in my local network and sometimes is going really wrong after starting offline. I don't have internet and I…
Jaime
  • 1
  • 2
0
votes
2 answers

Is ntp working or not?

I do not understand the output of ntpd. My question: Is the server foohost able to get the time from 30.251.32.1? Here is my config: foohost:/var/log # cat /etc/ntp.conf tinker panic 0 disable monitor restrict default kod nomodify notrap nopeer…
guettli
  • 3,591
  • 17
  • 72
  • 123