ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Di <denyago@rambler.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Openntpd и убегающее на сутки время
Date: Thu, 05 Nov 2009 22:24:08 +0200
Message-ID: <4AF33468.6010602@rambler.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 2549 bytes --]

Доброго времени суток.

У меня убегают часы на (приблизительно) сутки вперёд. Сегодня разбудил 
ноутбук, 2 раза перезагрузился и вот:

Nov  4 20:55:47 dhcppc2 ntpd[19413]: adjusting local clock by 61.765208s
Nov  5 10:51:36 dhcppc2 ntpd[19413]: dispatch_imsg in main: pipe closed
Nov  5 10:51:36 dhcppc2 ntpd[19413]: Terminating
Nov  5 10:51:36 dhcppc2 ntpd: ntpd shutdown succeeded
Nov  6 10:30:50 localhost ntpd: ntpd startup succeeded
Nov  6 10:34:01 localhost ntpd[6804]: dispatch_imsg in main: pipe closed
Nov  6 10:34:01 localhost ntpd[6804]: Terminating
Nov  6 10:34:01 localhost ntpd: ntpd shutdown succeeded
Nov  6 10:35:17 localhost ntpd: ntpd startup succeeded
Nov  6 10:56:50 localhost ntpd[6828]: adjusting local clock by 
-85014.138617s
Nov  6 10:56:50 localhost ntpd[6828]: adjtime failed: Invalid argument

Пофиксил так: # ntpd -d -s
ntp engine ready
reply from 62.149.0.30: offset -85014.092890 delay 0.023305, next query 7s
set local clock to Thu Nov  5 21:50:39 EET 2009 (offset -85014.092890s)
reply from 194.30.168.182: negative delay -85014.064278
reply from 82.193.126.233: negative delay -85014.061484
reply from 82.207.71.1: negative delay -85014.057379
reply from 213.179.228.16: negative delay -85014.056548
^Cntp engine exiting
dispatch_imsg in main: pipe closed
Lost child: child exited
Terminating

Проблема была и в среду....
Nov  5 13:03:21 dhcppc2 ntpd[7149]: adjusting local clock by -85040.375013s
Nov  5 13:03:21 dhcppc2 ntpd[7149]: adjtime failed: Invalid argument
Nov  5 13:06:16 dhcppc2 ntpd[19302]: ntp engine ready
Nov  5 13:06:23 dhcppc2 ntpd[19302]: ntp engine exiting
Nov  5 13:06:23 dhcppc2 ntpd[19301]: dispatch_imsg in main: pipe closed
Nov  5 13:06:23 dhcppc2 ntpd[19301]: Lost child: child exited
Nov  5 13:06:23 dhcppc2 ntpd[19301]: Terminating
Nov  5 13:06:23 dhcppc2 ntpd[7149]: dispatch_imsg in main: pipe closed
Nov  5 13:06:23 dhcppc2 ntpd[7149]: Terminating
Nov  5 13:06:23 dhcppc2 ntpd: ntpd shutdown succeeded
Nov  4 13:36:01 dhcppc2 ntpd: ntpd startup succeeded
Nov  4 13:37:02 dhcppc2 ntpd[19413]: adjusting local clock by 18.585747s
Nov  4 13:41:15 dhcppc2 ntpd[19413]: adjusting local clock by 42.864873s

Фиксил аналогично.... Добавил в конфиг нужную опцию, согласно багу в 
дебиане 2005-го 
года(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330587)

# cat /etc/sysconfig/ntpd
NTPD_ARGS="-s"

openntpd-3.9p1-alt10

В другом месте нашел что-то вроде "ntpd не умеет часы подкручивать на 
абсолютную дату, используйте ntpdate". Но openntpd идёт по умолчанию? 
Кто с таким сталкивался?

[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
tel;pager:diyago@jabber.te.ua
tel;home:80442434512
tel;cell:80662933760
note:diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


                 reply	other threads:[~2009-11-05 20:24 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=4AF33468.6010602@rambler.ru \
    --to=denyago@rambler.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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