Skip to main content
Kewal
Silver ⭐️
July 1, 2014
Solved

How to Fix : "The host's NTP service did not respond to a request for the clock offset"

I get following health issue.

 

The host's NTP service did not respond to a request for the clock offset.

 

How do I resolve it?

 

Thanks,

Kewal

anton_85
anton_85Answer
Gold ⭐️
June 17, 2015

Yes, the problem was at the Firewall , one of the rules was changes ;

after the problem was fix the NTP was updated.

 

Thanks so much for your help

19 replies

battlesysadmin
Gold ⭐️
July 2, 2014

I just saw this after an office move. The servers were offline for a while.

 

This is what I did for our CentOS Linux servers (similar, but not the same, steps would work for Ubuntu/Debian):

 

* verified/updated the /etc/ntp.conf file to be the same across the cluster

* stopped the ntp daemon: /etc/init.d/ntpd stop

* connected to the ntp server named in the ntp.conf file: ntpupdate <ntp_server>

* started the ntp daemon: /etc/init.d/ntpd start

* added ntpd to the startup manager: chkconfig add ntpd

* set ntpd to start in default reunlevels: chkconfig ntpd on

 

This cleared the offset issue. If this doesn't do it for you, you might also have to look into drift, or dig deeper into the time synchronization.

 

 

Translate
Kewal
KewalAuthor
Silver ⭐️
July 2, 2014

Thanks a lot for you detailed answer. 

 

I deleted the cluster and rebuilt it from scratch. Now, it is working fine.(Fingers crossed)

 

But, It seems, your procedure would definitely solve the problem.

Translate
nauseous
Gold ⭐️
March 17, 2015
Andor
Gold ⭐️
August 29, 2016

I had to restart Cloudera SCM Agent to fix this alert after NTP reconfiguration:

service cloudera-scm-agent restart

 

Translate
nauseous
Gold ⭐️
August 29, 2016
I use puppet and foreman to configure each system the same for all ntp
clients to a central ntp server.

Great information here
http://www.linuxsecrets.com/blog/4tutorial-and-install-howto/2014/06/26/906-how-to-install-and-configure-linux-ntp-server-and-client
Translate
Bittu1371
Silver ⭐️
November 29, 2021

If you are facing issue Clock offset issue then there will be problem with your ntp is not in sync.

 

To resolve follow some commands

 

Check in which host it is giving problem go under that host through CLI and

 

1. systemctl status ntpd.service (For checking the status, if its not working the it showing Inactive message)

 

2. route -n copy the ntp server ip address (You will find under Destination column) 

 

3. ntpdate <ntp server ip address>

 

4. systemctl start ntpd.service (for starting & syncing your host, after firing wait for sometime)

 

5. ntpstat (for checking whether it is synchronized or not it should be in synchronized)

 

after performing above steps your Clock offset issue will get resolved.

 

Regard,

 

Translate