FC1.
Не удаеться получить время с использованием ntpd.
Сразу скажу, что все рекомендации которые были в форуме я выполнял.ntp.conf:
restrict default ignore
restrict 127.0.0.1
restrict ntp.lucky.net mask 255.255.255.255 noquery nomodify notrap
restrict ntp2.belbone.be mask 255.255.255.255 noquery nomodify notrap
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
restrict 192.168.2.0 mask 255.255.255.0 nomodify notrap
disable auth
server ua.pool.ntp.org
server ntp.lucky.net
server ntp2.belbone.be
server ntp.tuxfamily.net
server time.flygplats.net
server 127.127.1.0 # local clock
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
keys /etc/ntp/keysЗапустил демон:
h# chkconfig --level 2345 ntpd onПрождал 2-ое суток и :
[root@omega etc]# ntpq -c peers -n
remote refid st t when poll reach delay offset jitter
==============================================================================
*127.127.1.0 127.127.1.0 5 l 12 64 377 0.000 0.000 0.015
212.90.124.5 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
193.193.193.107 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
195.13.1.153 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
212.85.158.10 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00
213.112.52.107 0.0.0.0 16 u - 1024 0 0.000 0.000 4000.00Что еще посмотреть или донастроить?
Уверен, что те сервера живые и отдают время?
Вот работающий конфиг:
server 127.127.1.0 # local clock
server 195.2.64.5 prefer
server 198.60.22.240
restrict default notrust nomodify
restrict 127.0.0.1
restrict 10.131.2.14 # мой сервак - локал ip
restrict 195.2.64.5 noquery notrap
restrict 198.60.22.240 noquery notrap
restrict 10.0.0.0 mask 255.0.0.0 nomodify
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
broadcastdelay 0.008
authenticate no
enable stats
enable monitor
statistics peerstatsp.s надеюсь на firewall открыл 123 порт ?
>p.s надеюсь на firewall открыл 123 порт ?+10
>Уверен, что те сервера живые и отдают время?ntpdate - обновлял время с тех серверов.
>Вот работающий конфиг:
>server 127.127.1.0 # local clock
>server 195.2.64.5 prefer
>server 198.60.22.240Большое спасибо. С этими серверами все в порядке.
>p.s надеюсь на firewall открыл 123 порт ?
Да.
>>p.s надеюсь на firewall открыл 123 порт ?
>
>Да.Проверьте еще раз.
Вы посылаете запросы, но не получаете ответов.
попробуйте перед запуском сервиса сделать ntpdate ntp.nasa.gov