NTP Failed
Hi,
my NTP service is failed with below logs in messages, can anybody please help.
ntpd[25634]: ntpd 4.2.6p5@1.2349-o Tue May 3 14:57:03 UTC 2016 (1)
ntpd[25635]: proto: precision = 0.044 usec
ntpd[25635]: 0.0.0.0 c01d 0d kern kernel time sync enabled
ntpd[25635]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
ntpd[25635]: Listen and drop on 1 v6wildcard :: UDP 123
ntpd[25635]: Listen normally on 2 lo 127.0.0.1 UDP 123
ntpd[25635]: Listen normally on 3 bond0 10.184.22.65 UDP 123
ntpd[25635]: Listen normally on 4 bond0:0 10.184.22.85 UDP 123
ntpd[25635]: Listen normally on 5 lo ::1 UDP 123
ntpd[25635]: Listen normally on 6 bond0 fe80::210:e0ff:fe22:584c UDP 123
ntpd[25635]: Listen normally on 7 ens1f0 fe80::a236:9fff:fe16:cb20 UDP 123
ntpd[25635]: Listen normally on 8 ens1f1 fe80::a236:9fff:fe16:cb21 UDP 123
ntpd[25635]: Listening on routing socket on fd #25 for interface updates
ntpd[25635]: Deferring DNS for 0.africa.pool.ntp.org 1
ntpd[25635]: Deferring DNS for 1.africa.pool.ntp.org 1
ntpd[25635]: Deferring DNS for 2.africa.pool.ntp.org 1
ntpd[25635]: Deferring DNS for 3.africa.pool.ntp.org 1
ntpd[25635]: 0.0.0.0 c016 06 restart
ntpd[25635]: 0.0.0.0 c012 02 freq_set kernel 0.000 PPM
ntpd[25635]: 0.0.0.0 c011 01 freq_not_set
ntpd[25635]: 0.0.0.0 c514 04 freq_mode
ntpd_intres[25636]: host name not found: 0.africa.pool.ntp.org
ntpd_intres[25636]: host name not found: 1.africa.pool.ntp.org
ntpd_intres[25636]: host name not found: 2.africa.pool.ntp.org
ntpd_intres[25636]: host name not found: 3.africa.pool.ntp.org
ntpd[25635]: 0.0.0.0 0617 07 panic_stop -3564 s; set clock manually within 1000 s.
systemd: ntpd.service: main process exited, code=exited, status=255/n/a
ntpd_intres[25636]: ntpd exiting on signal 15
systemd: Unit ntpd.service entered failed state.
systemd: ntpd.service failed.
Responses
Ramanuj,
The clue seems to be the lines that include "host name not found:". It looks like your DNS server cannot resolve the host name to IP address for the list of ntp servers listed in your ntp.conf file. If your server does not have access to those ntp servers, you need to change your ntp.conf file to include ntp servers that can be accessed. If you should be able to access those servers, you may need to look into DNS or networking to find out why it can't see those servers.
Frank
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
