Show which NTP servers the machine is contacting. * symbol before the server means the local machine is currently syncing on this server.
Code:
ntpdate ntp_server_IPaddress
If the time difference from an NTP server to your local machine is too great (e.i. more than 30 mins) ntp service can take a long time to synchronize their times.
To synchronize quickly, use ntpdate.
Stop the ntp service, because you can't use ntpdate while ntp service is running.
Code:
sudo service ntp stop
Run ntpdate at least 3 times and you'll see that time adjustment it made.
Code:
ntpdate ntp_server_IPaddress
Run the ntp service again
Code:
sudo service ntp start
After a few minutes, try checking the ntp peer on which your machine is synced.
Bookmarks