Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

In order to sync time using NTP in centos server normally you will have to have these basic settings in /etc/ntp.conf

server ntp1.server.net #Public server
server ntp2.server.net #Public Server
server 192.168.1.58 #Optionally you can choose one of yours as central
server ntp.central.server.net #Optional (assuming one of the local server)

restrict 172.30.39.0 mask 255.255.255.128 # restrict from making changes
restrict 172.30.38.0 mask 255.255.255.128 # restrict any server making changes

/etc/init.d/ntp stop && ntpdate 84.83.82.81 # Assuming 84.X… is ntp server
or
service ntpd stop && ntpdate 84.83.82.81 # Assuming 84.X… is ntp server

In order to ensure things are working well firewall port should be opened if there is any firewall inbetween. (NTP port is 123)