Enviado em 20/01/2010 - 15:16h
instalei o serviço ntp no red hat 5.3, configurei o arquivo /etc/ntp.conf está sincronizando normal neste pc... só que as estaçoes nao conseguem atualizar a hora por este servidor ntp, aparece erro de sincronizaçao. eu percebi que tem um diretório /etc/ntp/ com os arquivos ntpservers, keys, step-tickers, é necessário configurar estes arquivos também..??
Meu ntp.conf
driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
restrict default nomodify notrap noquery
restrict 127.0.0.1
restrict 192.168.255.0 mask 255.255.255.0 nomodify notrap
# Servidores de Sincronizacao do relogio do ntp
server pcdsh05.on.br
server ntp.cais.rnp.br
server ntp.puc-rio.br
Observaçao: usando ntpdate no PC onde instalei o serviço:/ ntpdate -d 192.168.255.152
20 Jan 15:14:06 ntpdate[3043]: adjust time server 192.168.255.152 offset 0.000001 sec
Meu ntp.conf
driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
restrict default nomodify notrap noquery
restrict 127.0.0.1
restrict 192.168.255.0 mask 255.255.255.0 nomodify notrap
# Servidores de Sincronizacao do relogio do ntp
server pcdsh05.on.br
server ntp.cais.rnp.br
server ntp.puc-rio.br
Observaçao: usando ntpdate no PC onde instalei o serviço:/ ntpdate -d 192.168.255.152
20 Jan 15:14:06 ntpdate[3043]: adjust time server 192.168.255.152 offset 0.000001 sec