RE: Problema Sincronizar la Hora del Servidor
> -----Mensaje original-----
> De: jmramirez (mas_ke_na) [mailto:mas_ke_na@hotmail.com]
> Enviado el: jueves, 14 de abril de 2011 13:30
> Para: debian-user-spanish@lists.debian.org
> Asunto: Re: Problema Sincronizar la Hora del Servidor
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gorka escribió:
> > Buenas, trato de actualizar la hora automáticamente.
> >
> > Tras instalar ‘ntpdate’ y configurar /etc/default/ntpdate con …
> > NTPSERVERS=”150.214.94.5”
> > … donde esta IP es la de ‘hora.roa.es’ … ejecuto lo siguiente y me da
> > un error …
> >
> > # ntpdate -du 150.214.94.5
>
> Buenas.....
>
> Ami no me ha dado problemas. Supongo que llegas por ping al
> servidor, ¿verdad?
>
> root@jmramirez:/home/jmramirez# cat /etc/default/ntpdate | grep NTPOP
> NTPOPTIONS=""
>
>
> root@jmramirez:/home/jmramirez# ntpdate -du 150.214.94.5
> 14 Apr 13:27:09 ntpdate[21651]: ntpdate 4.2.6p2@1.2194-o Sun Oct 17
> 13:45:14 UTC 2010 (1)
> transmit(150.214.94.5)
> receive(150.214.94.5)
> transmit(150.214.94.5)
> receive(150.214.94.5)
> transmit(150.214.94.5)
> receive(150.214.94.5)
> transmit(150.214.94.5)
> receive(150.214.94.5)
> transmit(150.214.94.5)
> server 150.214.94.5, port 123
> stratum 1, precision -20, leap 00, trust 000 refid [GPS], delay 0.08722,
> dispersion 0.00084 transmitted 4, in filter 4
> reference time: d151586b.368930f0 Thu, Apr 14 2011 13:26:35.213
> originate timestamp: d1515871.d5645baa Thu, Apr 14 2011 13:26:41.833
> transmit timestamp: d1515893.93cc5b5a Thu, Apr 14 2011 13:27:15.577 filter
> delay: 0.09015 0.08803 0.08734 0.08722
> 0.00000 0.00000 0.00000 0.00000 filter offset: -33.7722 -33.7736 -33.7739
> -33.7746
> 0.000000 0.000000 0.000000 0.000000 delay 0.08722, dispersion 0.00084
> offset -33.774608
>
> 14 Apr 13:27:17 ntpdate[21651]: step time server 150.214.94.5 offset
> - -33.774608 sec
>
>
> Un saludo
Así es:
# ping 150.214.94.5
PING 150.214.94.5 (150.214.94.5) 56(84) bytes of data.
64 bytes from 150.214.94.5: icmp_seq=1 ttl=49 time=1558 ms
64 bytes from 150.214.94.5: icmp_seq=2 ttl=49 time=1375 ms
64 bytes from 150.214.94.5: icmp_seq=3 ttl=49 time=1585 ms
64 bytes from 150.214.94.5: icmp_seq=4 ttl=49 time=1533 ms
64 bytes from 150.214.94.5: icmp_seq=5 ttl=49 time=1565 ms
64 bytes from 150.214.94.5: icmp_seq=6 ttl=49 time=2011 ms
64 bytes from 150.214.94.5: icmp_seq=7 ttl=49 time=1752 ms
64 bytes from 150.214.94.5: icmp_seq=8 ttl=49 time=2199 ms
¿Tú tienes habilitado el puerto 123? Tengo entendido que con el parámetro -u no es necesario, pero ahora dudo.
Reply to: