Linux time synchronization (resync system time)
by admin on Dec.06, 2011, under Linux (Ubuntu)
I recently noticed the system time on one of my servers was completely wrong. It turned out I had to re-synchronize the system time. In order to accomplish that simple task I installed a package called ntpdate, as I was going to synchronize the time via NTP (Network Time Protocol).
apt-get install ntpdate
After installing the ntpdate package I forced a sync by typing the command:
sudo ntpdate pool.ntp.org
And comfirmed it was working by entering date. That’s it.
Update (2012-06-10):
A useful list containing alternative ntp servers can be found here: http://timeserver.verschdl.de/
I was using this one today: ntpdate 212-82-32-15.ip.14v.de