Difference between revisions of "Troubleshoot ntp issues"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Ntp_server_configuration|Ntp server configuration</yambe:breadcrumb> =Troubleshoot ntp issues= ==ntpd process dies on VMs== ntpd process will die on VM if ...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb>Ntp_server_configuration|Ntp server configuration</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Time server configuration]] > [[Troubleshoot ntp issues]]
=Troubleshoot ntp issues=


==ntpd process dies on VMs==
==ntpd process dies on VMs==


ntpd process will die on VM if VM is suspended and later resumed.  This will cause serious problems as VM will not realize it was suspended and the time would be wrong.  Thus ensuring VMs have correct time after they are resumed requires special setup.  One simple option is to create a executable shell script which restarts ntpd and put it in /etc/cron.hourly to be run every hour.  This way in the worst case within an hour after resuming ntpd will start again and start correcting the clock.
ntpd process will die on VM if VM is suspended and later resumed.  This will cause serious problems as VM will not realize it was suspended and the time would be wrong.  Thus ensuring VMs have correct time after they are resumed requires special setup.  One simple option is to create a executable shell script which restarts ntpd and put it in /etc/cron.hourly to be run every hour.  This way in the worst case within an hour after resuming ntpd will start again and start correcting the clock.
==stratum always 16, no suitable server found==
This happens when ISP or local machine firewall blocks ntp (UDP port 1230).  The only solution is to add exception for the port in local firewall or ask ISP to allow the port.  Other option is to try and use other ISP for ntp time synchronization.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Time server configuration]] > [[Troubleshoot ntp issues]]

Latest revision as of 11:02, 14 July 2022

Home > CentOS > CentOS 6.x > Time server configuration > Troubleshoot ntp issues

ntpd process dies on VMs

ntpd process will die on VM if VM is suspended and later resumed. This will cause serious problems as VM will not realize it was suspended and the time would be wrong. Thus ensuring VMs have correct time after they are resumed requires special setup. One simple option is to create a executable shell script which restarts ntpd and put it in /etc/cron.hourly to be run every hour. This way in the worst case within an hour after resuming ntpd will start again and start correcting the clock.


stratum always 16, no suitable server found

This happens when ISP or local machine firewall blocks ntp (UDP port 1230). The only solution is to add exception for the port in local firewall or ask ISP to allow the port. Other option is to try and use other ISP for ntp time synchronization.



Home > CentOS > CentOS 6.x > Time server configuration > Troubleshoot ntp issues