On occasion you may need to correct the system time manually instead of NTP correcting it over time. To sync the time manually on linux you can use the ntupdate command. Below is an example
/usr/sbin/ntpdate -s -b -p 8 -u your.timeserver.com
Be sure to enter the ntp server of your choice. One that isn’t too far away so that there is no latency issues.
Using the command above can usually resolve any clock skew error messages you may encounter when compiling applications in linux as well.
Leave a Reply
You must be logged in to post a comment.