How to make NTP work despite a high offset?

ujjain asked:

Recently I have kickstarted some servers that had their time off by a month in the bios. The time in the bios said it was a random time/date in May, while it was June.

This caused NTP not to work, because NTP doesn’t sync with such a high offset. How can I make sure that NTP syncs despite the offset, in this case a month, being too high?

My answer:


For EL5 and EL6:

Start ntpdate as well.

It should be sufficient to enable them in your kickstart.

%post
chkconfig ntpdate on
chkconfig ntpd on

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.