Questions tagged [ntpd]

The Network Time Protocol Daemon is a [tag:daemon] that synchronises server time with servers running the [Network Time Protocol][1] (NTP).

The Network Time Protocol Daemon is a that synchronises server time with servers running the Network Time Protocol (NTP).

Originally written for , a port also exists.

60 questions
1
vote
1 answer

How to use nagios's check_udp for Monitoring ntpd?

I want monitor my ntpd services and ntpd service is used udp protocol。nagios have a method that is named check_udp,As follows: [root@localhost]# ./check_udp -H 127.0.0.1 -p 123 With UDP checks, a send/expect string must be specified. I want to know…
baozailove
  • 159
  • 2
  • 14
0
votes
0 answers

InvalidSignatureException when calling EKS cluster

I am using ubuntu app on windows. Using this ubuntu app, I was connecting to EKS cluster till yesterday. Suddenly, it stopped working due to below error. I searched lot and found many answers related to ntpd and system clock but not sure why this…
user2315104
  • 2,378
  • 7
  • 35
  • 54
0
votes
1 answer

How to link the gpsd and the pps in the ntp.conf file?

I'm working on the AM335x custom board with yocto where "u-blox LEA-M8F" is used as a gps module. Basically I wanted to use the "ntpd deamon" so while going through the internet i found that i suppose to link the gpsd and the pps to do so, i have…
Omkar Dixit
  • 71
  • 1
  • 7
0
votes
1 answer

How to put `0.pool.ntp.org` in `/etc/nftables.conf` without any error?

In /etc/nftables.conf,I have define ntp_server={ 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org }, 0.pool.ntp.org start with number,then I meet error when nft -f. $ sudo nft -v $ nftables v0.9.0 (Fearless Fosdick) $ sudo nft -f…
kittygirl
  • 2,255
  • 5
  • 24
  • 52
0
votes
1 answer

NTP - chronyd - unable to read socket on port 123 (worked when used ntpd)

I'm trying to read the NTP status on red hat linux server, but I'm getting socket timeout receive error java.net.SocketTimeoutException: Receive timed out This code works when run against a system using ntpd but not for chronyd? I expect it's a…
NottmTony
  • 447
  • 1
  • 6
  • 28
0
votes
0 answers

How we can run local ntp server using ntplib library in Python

Can someone help me regarding the Local NTP server in Python. The python code is below: import ntplib from time import ctime while True: try: c = ntplib.NTPClient() response = c.request(host='192.168...',port=2947) print(response) …
0
votes
0 answers

NTPD: How to use another port than 123 for communication

As per my understanding, ntp service will always bind with port 123. I have tried ntpport option mentioned in https://docs.ntpsec.org/latest/ntp_conf.html. But, its not working. Is there any option available in ntp.conf to bind another port with…
0
votes
1 answer

interpret ntpd configuration used on raspberry pi

I am still very new to the nptd program so my question should be relatively general. I understand that the program slowly adjusts device's clock rate and syncs to the server time through polling. In the following result, IP address that has a * in…
Yihan Hu
  • 103
  • 7
0
votes
1 answer

Disable chrony NTP server when unsync

I have a OpenWRT router running chrony (chronyd). The hardware doesn't have RTC, so after a power loss, the system clock goes crazy. I want to have a LAN NTP server, but if somehow have no internet connection and the clock is wrong because a power…
TNT
  • 819
  • 1
  • 8
  • 28
0
votes
3 answers

How to check ntpd is still running and synced

I'm calling ntp_gettime() and it is performing as expected however if I kill ntpd I'm still getting the correct behaviour with my return value showing no issues. This suggests ntp_gettime() does not call through to ntpd, which is what I believe was…
Aazarus
  • 125
  • 1
  • 12
0
votes
1 answer

Set chrony.conf file to "server" instead of "pool"

I'm working with RHEL 8 and the ntp package is no longer supported and it is implemented by the chronyd daemon which is provided in the chrony package. The file is set up to use public servers from the pool.ntp.org project (pool 2.rhel.pool.ntp.org…
Keith
  • 51
  • 2
  • 9
0
votes
0 answers

Preferred NTP server was rejected despite having better offset and jitter

We have a NTP client configured on one of our system. The client has a set of servers available with whom it can synch with. However the preferred server that we chose is our internal master server with IP 169.254.1.51. The contents of ntp.conf for…
ananTgarg
  • 1
  • 1
0
votes
1 answer

ntpd refuses to sync with upstream servers

I am running ntpd on a CentOS 6.9 server and my configuration for ntpd had been working without issue previously. Typically, it takes a little time but it will sync up with an higher stratum server after a period of time. However, after I performed…
Eroji
  • 339
  • 1
  • 7
  • 20
0
votes
1 answer

ntpd service in a docker container is dead, cannot restart

I'm trying to mount a local hadoop cluster using docker and ambari, the problem im having is that ambari install check shows NTP is not running, and it is needed to know if the services installed with ambari are working. I checked ntpd in the…
sgaseretto
  • 421
  • 5
  • 13
0
votes
1 answer

How do I remove and change ntpd configurations using ntpq?

Assume ntpd reads the following configuration when started: keys /etc/ntp.keys trustedkey 1 2 3 requestkey 2 server key 1 server As describd in the ntpq documentation, its possible to send configuration commands to the…
claudiu
  • 75
  • 1
  • 7