Saturday, 8 September 2018

NTP SERVER TIME SYNC ISSUE

NTP  ISSUE

Q:-NTP server is not synchronizing with client server. What command we will use to re sync it?

Sol:- First check NTP service and check it is sync it with client server or not with the below command.
       
        [root@server/]#ntpq -pn

               remote           refid      st t when poll reach   delay   offset  jitter
========================================================================
198.168.200.3    .
.            16 u   53   64    0    0.000    0.000   0.000
198.168.200.4    .
.            16 u   52   64    0    0.000    0.000   0.000

          Then we need to update the ntpdate with the below command 

   [root@server/]#ntpdate -u 198.168.101.2  or 198.168.102.3


After the time got sync run below command to check the sync is happening or not.

[root@server /]#ntpq -pn

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*198.168.200.3    198.168.101.2      2 u  211  512  377    1.299    0.157   0.088
+198.168.200.4    198.168.102.3     2 u  212  512  377    1.266    0.096   1.904



0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home