ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: cornet <cornet@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: I: new ntp-4.1.1-alt2 available for testing
Date: Fri, 05 Apr 2002 18:16:31 +0400
Message-ID: <3CADB1BF.3CD70CE2@altlinux.ru> (raw)
In-Reply-To: <20020406050652.6698342e.kosha@kp.ru>

Korshunov Ilya wrote:
> 
> Fri, 05 Apr 2002 17:52:10 +0400
> cornet <cornet@altlinux.ru> Писал:
> 
> > Korshunov Ilya wrote:
> > >
> > > Fri, 05 Apr 2002 17:31:39 +0400
> > > cornet <cornet@altlinux.ru> Писал:
> > >
> > > > Korshunov Ilya wrote:
> > > > >
> > > > > > Ага, не засинхронизирован но жив.
> > > > > > А сколько времени он уже запущен??
> > > > > > Подождите после запуска часа 2-3, и не трогайте его никакими
> > > > > > тулзами. Через 2 часа повторте команду
> > > > > > ntpdate -d localhost
> > > > > > и вышлите вывод.
> > > > > > Ему надо отстояться сначала ;-)
> > > > > >
> > > > > Прошло два часа...время вообще как-то чумово съехало)))..
> > > > >
> > > > >  6 Apr 04:24:26 ntpdate[5899]: ntpdate 4.1.1@1.786 Mon Apr  1 19:41:57 MSD 2002 (1)
> > > > > transmit(127.0.0.1)
> > > > > transmit(127.0.0.1)
> > > > > transmit(127.0.0.1)
> > > > > transmit(127.0.0.1)
> > > > > transmit(127.0.0.1)
> > > > ^^^^^^^^^^^^^^^^^^^^^
> > > > Хммм. А он же не ответил Вам
> > > > Диалога с сервером НЕ произошло. Он вообще жив?
> > >
> > > Похоже да..
> > Что значит "похоже" ??
> > :-))
> > ps -ax | grep ntp
> > ???
> О...что-то в голову не приходило...нетуть его блин).
> Такое впечатление что он через некоторое время отваливается.
> 
> [kosha@kosha kosha]$ ps aux |grep ntp
> kosha     7156  0.0  0.2  1720  584 pts/4    S    05:02   0:00 grep ntp
> [kosha@kosha kosha]$ sudo service ntpd start
> Starting ntpd:                                                         [  OK  ]
> [kosha@kosha kosha]$ ps aux |grep ntp
> ntpd      7191  2.5  0.7  2044 2036 ?        SL   05:03   0:00 /usr/sbin/ntpd -U
> kosha     7196  0.0  0.2  1720  584 pts/4    S    05:03   0:00 grep ntp
> [kosha@kosha kosha]$
> Стартанул...опять 2 часа ждать ?

Угу :-((

> > А в /var/log/messages чего за истекшее с момента запуска время?
> 
> А вот messages
> 
> Apr  6 02:49:49 kosha ntpd[1045]: ntpd 4.1.1@1.786 Mon Apr  1 19:41:56 MSD 2002 (1)
> Apr  6 02:49:49 kosha ntpd: ntpd startup succeeded
> Apr  6 02:49:49 kosha ntpd[1045]: precision = 16 usec
> Apr  6 02:49:49 kosha ntpd[1045]: kernel time discipline status 0040
> Apr  6 02:49:49 kosha ntpd[1045]: frequency initialized 243.981 from /etc/ntp/drift
> Apr  6 02:49:49 kosha ntpd[1045]: getnetnum: "ntp1.zenon.net" invalid host number, line ignored
> Apr  6 02:49:49 kosha ntpd[1045]: getnetnum: "ntp0.zenon.net" invalid host number, line ignored

ИМХО, все прозрачно - проверьте резольв имен. А еще лучше для
начала замените в конфиге имена на адреса.
Ну и рестартаните опять.

> Apr  6 02:49:49 kosha ntpd_initres[1065]: running as uid(109)/gid(429) euid(109)/egid(429)
> Apr  6 02:49:49 kosha ntpd[1045]: running as uid(109)/gid(429) euid(109)/egid(429)
> Apr  6 03:01:04 kosha ntpd[1045]: ntpd exiting on signal 15
> Apr  6 03:01:04 kosha ntpd: ntpd shutdown succeeded
> Apr  6 03:01:06 kosha ntpd[2097]: ntpd 4.1.1@1.786 Mon Apr  1 19:41:56 MSD 2002 (1)
> Apr  6 03:01:06 kosha ntpd: ntpd startup succeeded
> Apr  6 03:01:06 kosha ntpd[2097]: precision = 15 usec
> Apr  6 03:01:06 kosha ntpd[2097]: kernel time discipline status 0040
> Apr  6 03:01:06 kosha ntpd[2097]: frequency initialized 243.981 from /etc/ntp/drift
> Apr  6 03:01:06 kosha ntpd[2097]: running as uid(109)/gid(429) euid(109)/egid(429)
> Apr  6 04:09:26 kosha ntpd[2097]: time correction of -39621 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time.

Проследите за обменом с внешним серваком через 
tcpdump -i <имя внешнего интерфейса> hosh <IP внешнего сервера>
причем запустить tcpdump желательно ДО запуска ntpd.

-- 
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru



  parent reply	other threads:[~2002-04-05 14:16 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 10:35 [sisyphus] " Dmitry V. Levin
2002-04-05  9:53 ` [sisyphus] " Mikhail Zabaluev
2002-04-05  8:55   ` Korshunov Ilya
2002-04-05 10:00     ` cornet
2002-04-05  9:06       ` Korshunov Ilya
2002-04-05 10:23         ` cornet
2002-04-05  9:28           ` Korshunov Ilya
2002-04-05 10:39             ` cornet
2002-04-05  9:46               ` Korshunov Ilya
2002-04-05 11:13                 ` cornet
2002-04-05 10:17                   ` Korshunov Ilya
2002-04-05 11:23                     ` cornet
2002-04-05 10:29                       ` Korshunov Ilya
2002-04-06  0:25                       ` Korshunov Ilya
2002-04-05 13:31                         ` cornet
2002-04-06  0:38                           ` Korshunov Ilya
2002-04-05 13:52                             ` cornet
2002-04-06  1:06                               ` Korshunov Ilya
2002-04-05 14:15                                 ` AVL
2002-04-06  1:25                                   ` Korshunov Ilya
2002-04-05 14:36                                     ` cornet
2002-04-05 15:41                                     ` AVL
2002-04-05 19:29                                       ` cornet
2002-04-08  6:02                                         ` Korshunov Ilya
2002-04-08  8:34                                           ` cornet
2002-04-08  9:05                                             ` Korshunov Ilya
2002-04-08  9:37                                               ` AVL
2002-04-08  9:16                                           ` cornet
2002-04-06  2:43                                       ` Korshunov Ilya
2002-04-05 14:16                                 ` cornet [this message]
2002-04-06  1:24                                   ` Korshunov Ilya
2002-04-05 14:33                                     ` cornet
2002-04-06  1:42                                       ` Korshunov Ilya
2002-04-05 14:50                                         ` cornet
2002-04-06  2:40                                           ` Korshunov Ilya
2002-04-05 19:33                                             ` cornet
2002-04-05 20:35                                               ` Любимов А.В.
2002-04-05  9:59   ` Dmitry V. Levin
2002-04-05 10:02   ` cornet

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=3CADB1BF.3CD70CE2@altlinux.ru \
    --to=cornet@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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