Просмотр Исходного

Запишите в /etc/sysconfig/clock правильную timezone, если вы в Москве:

{code}
ZONE="Europe/Moscow"
UTC=true
ARC=false
{code}
обновите tzdata

{code}
yum -y install tzdata
{code}
установите ntpdate

{code}
yum -y install ntp ntpdate
chkconfig --level 345 ntpdate on

service ntpdate restart
{code}
если restart происходит долго (больше 4 секунд), попробуйте выполнить следующую команду:

{code}
cat /etc/ntp/step-tickers
{code}

если вывод выглядит так:
{code}
server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
{code}

то выполните:
{code}
cp -v /etc/ntp/step-tickers /etc/ntp/step-tickers.bk
echo "0.centos.pool.ntp.org
1.centos.pool.ntp.org
2.centos.pool.ntp.org
3.centos.pool.ntp.org" > /etc/ntp/step-tickers
{code}

и повторите

{code}
service ntpdate restart
{code}
Скорее всего здесь имеет место небольшая ошибка в пакете. В случае, если в step-tickers нет ни одной записи, они, скорее всего перечислены в /etc/ntp.conf. Там убирать слова server и iburst не надо, они обрабатываются нормально.