When I try to run ntpdate in a workstation in my network, my server fails to
send the answer.
What is wrong?
Tks in advance.
My configuration:
In a client:
Command: ntpdate -u -q -p 2 200.220.81.9 2>&1
Looking for host 200.220.81.9 and service ntp
host found : cheetah.unisys.com.br
server 200.220.81.9, stratum 16, offset 66.466697, delay 0.03835
14 Jun 09:58:03 ntpdate[14772]: no server suitable for synchronization found
My Server Configuration:
# ps -ef | grep ntp
root 8398 1 0 09:35:31 pts/2 0:01 /usr/local/bin/ntpd -c
/etc/ntp.conf -l /var/log/ntpd.log -d
# ntpq -pcrv
remote refid st t when poll reach delay offset
disp
============================================================================
==
ntp-nasa.arc.na .INIT. 16 u 201 256 0 0.00 0.000
15937.5
titan.cais.rnp. .RMOT. 16 u 188 256 0 0.00 0.000
15937.5
ntp.pucpr.br .INIT. 16 u 194 256 0 0.00 0.000
15937.5
clock1.redhat.c .INIT. 16 u 213 256 0 0.00 0.000
15937.5
ntp1.pop-df.rnp .INIT. 16 u - 256 0 0.00 0.000
15937.5
zibbi.meraka.cs .INIT. 16 u 221 256 0 0.00 0.000
15937.5
ntp1.us.grundcl .INIT. 16 u 212 256 0 0.00 0.000
15937.5
ima.cipsga.org. .INIT. 16 u 236 256 0 0.00 0.000
15937.5
goat.de.20six.n .INIT. 16 u 228 256 0 0.00 0.000
15937.5
trubadurix.chow .INIT. 16 u 232 256 0 0.00 0.000
15937.5
status=c011 sync_alarm, sync_unspec, 1 event, event_restart
version="ntpd [EMAIL PROTECTED] Tue Jun 13 11:33:28 EST 2006 (1)",
processor="sun4u", system="SunOS/5.8", leap=11, stratum=16,
precision=-19, rootdelay=0.00, rootdispersion=27.96, peer=0, refid=INIT,
reftime=00000000.00000000 Thu, Feb 7 2036 4:28:16.000, poll=6,
clock=c83a886b.cf7bd52f Wed, Jun 14 2006 10:06:51.810, state=1,
offset=0.000, frequency=0.000, jitter=0.002, noise=0.002,
stability=0.000, tai=0
# more /etc/ntp.conf
#Se nao colocar ele loga no syslog
logfile /var/log/ntpd
logconfig =all
driftfile /etc/ntp/ntp.drift
statsdir /etc/ntp/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
#Lista de servidores
server ntp.nasa.gov prefer
server ntp.cais.rnp.br
server ntp1.pucpr.br
server clock.redhat.com
server titan.cais.rnp.br
server ntp1.rnp.br
server ntp1.icomtek.csir.co.za
# Pool de servidores NTP do ntp.org. Podem ser colocadas mais linhas iguais
server 0.south-america.pool.ntp.org
server 1.south-america.pool.ntp.org
server 2.south-america.pool.ntp.org
server pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
#Se todo mundo falhar o proprio servidor vira ntp principal
fudge 127.127.1.0 stratum 10
broadcastdelay 0.008
restrict default notrust nomodify
#restrict 200.220.0.0 mask 255.255.255.0 nomodify
restrict 200.220.0.0 mask 255.255.128.0 nomodify
#restrict 200.220.0.0 mask 255.255.0.0 nomodify
#restrict 200.220.64.0 mask 255.255.255.0 nomodify
#restrict 200.220.81.0 mask 255.255.255.0 nomodify
#restrict 200.220.74.0 mask 255.255.255.0 nomodify
#restrict 200.220.5.0 mask 255.255.255.0 nomodify
#restrict 200.220.6.10 mask 255.255.255.255 nomodify
#restrict 200.220.13.0 mask 255.255.255.0 nomodify
#restrict 200.220.14.0 mask 255.255.255.0 nomodify
#restrict 200.220.31.0 mask 255.255.255.0 nomodify
#restrict 200.220.0.0 mask 255.255.255.0 nomodify
restrict 129.222.50.21 mask 255.255.255.255 nomodify
restrict 129.222.43.21 mask 255.255.255.255 nomodify
#restrict 200.220.104.0 mask 255.255.255.240 nomodify
restrict 127.0.0.1 nomodify
#Desabilita a autenticação pra rede local
disable auth
broadcastclient
_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions