force NTP update

First install ntp and ntpdate:

# apt-get install --yes ntp ntpdate 

Then stop ntp, force the update, and start it again:

# service ntp stop && ntpdate <timeserver ip> && service ntp start

Set the hardware clock to the system time:

# hwclock --systohc

Leave a Reply

Your email address will not be published. Required fields are marked *