ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@zmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Setting up ntpd
Date: Mon Oct 15 11:16:02 2001
Message-ID: <3BCA8E00.59AC4C7@zmail.ru> (raw)
In-Reply-To: <20011013172346.A12292@hb.ant-on.net>

Henri Bourbon wrote:

Докладаю:
ntp-4.0.99k-ipl2mdk
и на сервере и на рабочих местах.

на локальном сервере /etc/ntp.conf
server  news-zero.demos.su minpoll 10 maxpoll 12
driftfile /etc/ntp/drift

и больше ничего.

Демон на локальном сервере взведен, порт по udp прослушает.
Обмен с внешним таймсервером происходит - это видно по tcpdump.

В имеющейся документайии приведенную Вами цитату не обнаружил, и
вообще, качество документации по ntp повергает меня в уныние,
очень много воды а чо надо не найдешь :-((

skip.
> Покажите полностью вывод:
> a) `ntpq -c rv` локально на сервере;
> b) `ntpq -c pe` локально на сервере;
> c) `ntpdate -dp 8 your-ntp-server-hostname` на клиенте.

[root@back ntp]# ntpq -c rv
status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
version="ntpd 4.0.99k Tue Jan 23 03:50:13 MSK 2001 (1)",
processor="i686", system="Linux2.2.19-alt4-smp", leap=11,
stratum=16,
precision=-18, rootdelay=0.000, rootdispersion=13.965, peer=0,
refid=0.0.0.0, reftime=00000000.00000000  Thu, Feb  7 2036 
9:28:16.000,
poll=6, clock=bf750995.d9158b82  Mon, Oct 15 2001 11:07:01.847,
state=1,
phase=0.000, frequency=0.000, jitter=0.000, stability=0.000

[root@back ntp]# ntpq -c pe
     remote           refid      st t when poll reach   delay  
offset  jitter
==============================================================================
 news-zero.demos hora.cs.tu-berl  2 u  868 1024    1  530.119 
-186.20   0.000

[root@smart /root]# ntpdate -dp 8 back
15 Oct 11:11:35 ntpdate[1806]: ntpdate 4.0.99k Tue Jan 23
03:50:16 MSK 2001 (1)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
receive(192.168.254.7)
transmit(192.168.254.7)
server 192.168.254.7, port 123
stratum 16, precision -18, leap 11, trust 000
refid [0.0.0.0], delay 0.02591, dispersion 0.00000
transmitted 8, in filter 8
reference time:    00000000.00000000  Thu, Feb  7 2036 
9:28:16.000
originate timestamp: bf750a65.a371da37  Mon, Oct 15 2001
11:10:29.638
transmit timestamp:  bf750aa8.0381f969  Mon, Oct 15 2001
11:11:36.013
filter delay:  0.02597  0.02591  0.02591  0.02591
         0.02591  0.02591  0.02591  0.02591
filter offset: -66.3754 -66.3754 -66.3754 -66.3754
         -66.3754 -66.3754 -66.3754 -66.3754
delay 0.02591, dispersion 0.00000
offset -66.375409
 
15 Oct 11:11:36 ntpdate[1806]: no server suitable for
synchronization found

> Каков uptime программы ntpd? Не компьютера, а именно ntpd, что-то
> типа колонки STIME из "ps -f `pidof ntpd`"

Только что перестартовал после правки конфига.

-- 
******** FIRE & STEEL ********



  parent reply	other threads:[~2001-10-15 11:16 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-12 16:36 [mdk-re] ntp.conf Andrew Nazarkin
2001-10-12 16:58 ` cornet
2001-10-12 17:58   ` Re[2]: " Dmitry
2001-10-12 18:23     ` Re[3]: " Andrew Nazarkin
2001-10-12 18:35       ` Re[4]: " Dmitry
2001-10-12 18:41         ` Re[5]: " Andrew Nazarkin
2001-10-12 19:06     ` cornet
2001-10-12 20:50       ` Michael Shigorin
2001-10-13  0:19         ` cornet
2001-10-13 17:22           ` [mdk-re] Setting up ntpd Henri Bourbon
2001-10-13 17:26             ` [mdk-re] galeon vs. skipstone Michael Bykov
2001-10-13 18:30               ` Ivan Zenkov
2001-10-13 23:05                 ` Michael Shigorin
2001-10-15 13:45               ` Aleksey Novodvorsky
2001-10-13 17:42             ` [mdk-re] Setting up ntpd cornet
2001-10-14 21:05               ` Henri Bourbon
2001-10-14 22:05                 ` cornet
2001-10-15 11:16             ` cornet [this message]
2001-10-15 12:49             ` mutt default colors (was Re: [mdk-re] Setting up ntpd) Dmitry V. Levin
2001-10-15 15:15               ` Michael Shigorin
2001-10-16 13:54                 ` [mdk-re] mutt default colors Henri Bourbon
2001-10-16 21:58                   ` Michael Shigorin
2001-10-17 13:02                     ` Henri Bourbon
2001-10-17 14:02                       ` Vyt
2001-10-18  8:43                         ` [mdk-re] [JT] " Michael Shigorin
2001-10-15 16:41               ` [mdk-re] " Henri Bourbon
2001-10-15 16:57                 ` Dmitry V. Levin
2001-10-16 10:29                   ` Michael Shigorin
2001-10-15 18:12             ` [mdk-re] Setting up ntpd => Thanks to Henri Bourbon :-)) cornet
2001-10-16 17:21               ` [mdk-re] Setting up ntpd Henri Bourbon
2001-10-16 17:56                 ` Michael Bykov
2001-10-17 16:32                   ` Henri Bourbon
2001-10-16 18:00                 ` cornet
2001-10-16 18:38                   ` Dmitry V. Levin
2001-10-17 10:43                     ` [mdk-re] [JT] Setting up ntpd=>BTS cornet
2001-10-17 16:05                   ` [mdk-re] Setting up ntpd Henri Bourbon
2001-10-17 16:40                     ` cornet
2001-10-18 10:58                     ` [mdk-re] Setting up ntpd &2 maintainer cornet
2001-10-18 13:04                       ` Dmitry V. Levin
2001-10-18 13:22                         ` cornet
2001-10-18 13:34                           ` Dmitry V. Levin
2001-10-18 13:46                             ` [mdk-re] read-only /etc (Was: Setting up ntpd &2 maintainer) Andrey Astafiev
2001-10-18 14:03                               ` Korshunov Ilya
2001-10-18 14:16                                 ` Andrey Astafiev
2001-10-18 14:34                                   ` Dmitry V. Levin
2001-10-18 16:14                                     ` Igor Fadin
2001-10-19 11:21                                       ` Volkov Serge
2001-10-19 11:35                                         ` cornet
2001-10-19 12:15                                           ` Volkov Serge
2001-10-19 12:24                                             ` Re[2]: " Andrew Nazarkin
2001-10-19 12:34                                               ` cornet
2001-10-19 16:18                                                 ` Andrey Astafiev
2001-10-19 16:44                                                   ` AVL
2001-10-19 16:51                                                     ` cornet
2001-10-19 16:58                                                     ` Andrey Astafiev
2001-10-20  9:01                                                       ` Alexey Voinov
2001-10-18 14:09                             ` [mdk-re] Setting up ntpd &2 maintainer cornet
2001-10-16 18:51                 ` [mdk-re] Setting up ntpd Yura Zotov
2001-10-16 19:33                   ` Sergey S. Skulachenko
2001-10-17 13:32                   ` [mdk-re] " Mikhail Zabaluev
2001-10-17 19:07                     ` [mdk-re] " Sergey S. Skulachenko
2001-10-16 19:30                 ` Sergey S. Skulachenko

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=3BCA8E00.59AC4C7@zmail.ru \
    --to=cornet@zmail.ru \
    --cc=mandrake-russian@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