|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am trying to setup NTP client inside my network using public time server.
I used " ntpdate -ud 3.asia.pool.ntp.org " it gives the following error messaage.. # ntpdate -ud 3.asia.pool.ntp.org 16 Jun 15:20:21 ntpdate[5498]: ntpdate 4.2.0a@1.1190-r Mon Oct 11 09:10:21 EDT 2004 (1) Looking for host 3.asia.pool.ntp.org and service ntp host found : ntp.kiba.net transmit(202.234.64.222) transmit(202.234.64.222) transmit(202.234.64.222) transmit(202.234.64.222) transmit(202.234.64.222) 202.234.64.222: Server dropped: no data server 202.234.64.222, port 123 stratum 0, precision 0, leap 00, trust 000 refid [202.234.64.222], delay 0.00000, dispersion 64.00000 transmitted 4, in filter 4 reference time: 00000000.00000000 Thu, Feb 7 2036 11:58:16.000 originate timestamp: 00000000.00000000 Thu, Feb 7 2036 11:58:16.000 transmit timestamp: ca1e30e1.7a85b9e8 Sat, Jun 16 2007 15:20:25.478 filter delay: 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 filter offset: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 delay 0.00000, dispersion 64.00000 offset 0.000000 16 Jun 15:20:26 ntpdate[5498]: no server suitable for synchronization found Please in this regard Thanks in advance AB -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sat, Jun 16, 2007 at 03:29:33PM +0530, anup wrote:
> I am trying to setup NTP client inside my network using public time server. > I used " ntpdate -ud 3.asia.pool.ntp.org " it gives the following error > messaage.. > > 202.234.64.222: Server dropped: no data Can you try a specific server? Also, I found that ntpdate was less ful to me than full ntp (which now comes with a 'quick' option). The ntp docs say that they are hoping now that ntpdate dies a gracefull death as people switch to ntp. Doug. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 6/16/07, anup <anup.behare@einfochips.com> wrote:
> I am trying to setup NTP client inside my network using public time server. > I used " ntpdate -ud 3.asia.pool.ntp.org " it gives the following error > messaage.. [...] > 16 Jun 15:20:26 ntpdate[5498]: no server suitable for synchronization found > > Please in this regard I've had good luck with the command # ntpdate-debian which is also in the ntpdate package. You don't need to give it any arguments -- it will automatically look for one of the debian NTP servers: [0-3].debian.pool.ntp.org -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com http://36pints.blogspot.com -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 06/16/07 07:35, Michael Marsh wrote:
> On 6/16/07, anup <anup.behare@einfochips.com> wrote: >> I am trying to setup NTP client inside my network using public time >> server. >> I used " ntpdate -ud 3.asia.pool.ntp.org " it gives the following error >> messaage.. > [...] >> 16 Jun 15:20:26 ntpdate[5498]: no server suitable for synchronization >> found >> >> Please in this regard > > I've had good luck with the command > # ntpdate-debian > which is also in the ntpdate package. You don't need to give it any > arguments -- it will automatically look for one of the debian NTP > servers: [0-3].debian.pool.ntp.org Actually, it looks in /etc/default/ntpdate for whatever NTP servers you have defined. I changed it from the Debian pool to my ISP's ntp server. -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
I assume you are in Asia. If so, run the following script and examine the output. Pick three hosts that look best and use them in place of "3.asia.pool.ntp.org". Script: --------cut here--------------- for i in 0 1 2 3 do host $i.asia.pool.ntp.org done | while read x echo "" do y="$(echo $x | sed 's/^.*has address //')" ping -c10 -q $y host $y done --------cut here--------------- Criteria for a "good" host: no more than 10% packet loss. max round trip time is acceptably low deviation (mdev or stddev, depending on which version of ping) of round trip time is acceptably low. Enjoy! Rick -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|