ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew <andy@ust.msk.rsnet.ru>
To: community@altlinux.ru
Subject: [Comm] ntpdate - получение времени от локального W2K
Date: Tue, 26 Apr 2005 13:25:15 -0700
Message-ID: <1466359761.20050426132515@ust.msk.rsnet.ru> (raw)

Здравствуйте.
В локальной сетке имеется сервер W2K с настроенным сервером времени.
Стоит локально, сам ни с кем не синхронизируется. Как я понимаю - stratum
2.
На клиентских машинах время устанавливается без проблем командой
net time /setsntp:192.168.1.1


ntpdate не хочет брать от него время.
serv:/tmp # ntpdate -d 192.168.1.1
26 Apr 13:14:33 ntpdate[26265]: ntpdate 4.2.0a@1.1190-r Sat Oct  2 01:41:26 UTC 

2004 (1)
Looking for host 192.168.1.1 and service ntp
host found : 192.168.1.1
transmit(192.168.1.1)
receive(192.168.1.1)
transmit(192.168.1.1)
receive(192.168.1.1)
transmit(192.168.1.1)
receive(192.168.1.1)
transmit(192.168.1.1)
receive(192.168.1.1)
transmit(192.168.1.1)
192.168.1.1: Server dropped: Server has gone too long without sync
server 192.168.1.1, port 123
stratum 2, precision -7, leap 00, trust 000
refid [192.168.1.1], delay 0.03357, dispersion 0.00024
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  9:28:16.000
originate timestamp: c6188561.37ced916  Tue, Apr 26 2005 13:16:17.218
transmit timestamp:  c61884f9.2e34fc61  Tue, Apr 26 2005 13:14:33.180
filter delay:  0.03380  0.03358  0.03358  0.03357
         0.00000  0.00000  0.00000  0.00000
filter offset: 104.0381 104.0377 104.0376 104.0374
         0.000000 0.000000 0.000000 0.000000
delay 0.03357, dispersion 0.00024
offset 104.037429

26 Apr 13:14:33 ntpdate[26265]: no server suitable for synchronization found
--------------------------------------------------------------------------

Аналогичная ситуация с поднятым ntpd:
------ntp.conf:---------------
server 192.168.1.1 prefer
driftfile /var/lib/ntp/drift/ntp.drift # path for drift file
logfile   /var/log/ntp          # alternate log file
------end of ntp.conf---------

Также не хочет брать время от W2K. При запуске пишет:
Ty to get initial date and time via NTP from 192.168.1.1 failed

serv:/etc # xntpdc -c sysinfo -n
system peer:          0.0.0.0
system peer mode:     unspec
leap indicator:       11
stratum:              16
precision:            -18
root distance:        0.00000 s
root dispersion:      0.00003 s
reference ID:         [73.78.73.84]
reference time:       00000000.00000000  Thu, Feb  7 2036  9:28:16.000
system flags:         auth monitor ntp kernel stats
jitter:               0.000000 s
stability:            0.000 ppm
broadcastdelay:       0.003998 s
authdelay:            0.000000 s


serv:/etc # ntpq -c peers -n
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 192.168.1.1 0.0.0.0          2 u   15   64    0    0.000    0.000 4000.00

 Как можно решить проблему?

 Андрей



                 reply	other threads:[~2005-04-26 20:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466359761.20050426132515@ust.msk.rsnet.ru \
    --to=andy@ust.msk.rsnet.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git