From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QTFyz-0002w3-28 for garchives@archives.gentoo.org; Sun, 05 Jun 2011 16:15:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E6AC1C05A for ; Sun, 5 Jun 2011 16:15:20 +0000 (UTC) Received: from homiemail-a44.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 872A01C03C for ; Sun, 5 Jun 2011 15:16:35 +0000 (UTC) Received: from homiemail-a44.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a44.g.dreamhost.com (Postfix) with ESMTP id CF58311805C for ; Sun, 5 Jun 2011 08:16:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=libertytrek.org; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s= libertytrek.org; b=U4p0G04K2SMED7cksrtmpQ5Luf/MZetyXHY1W/orCp6wg DUvPAG87/j7ZW3XwDzRTrjhrXcZ9OVvv0ktHzNZWXJ1m2U1hwLbSu39x+wcck2SY hpBYs90cefY8FLUaNpCDpL18sVpZBUrZAq0Nce5V2LyhLoNDErPgwgX7Wil3vY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= libertytrek.org; bh=wWurQ/U/L7fzFy4B3pjmVAz5Kq0=; b=khyf4sSQyz9W bo1wmf9V6OSisrMNz2PXcS6EbclKsmegxNTyfRmE0Nt18MTx7pocpReFMKWKRo5I 0ennOqC0bFxOHLPKsMulEpFFlEG/vNSuM3Wd7Qdr/tHraxDS9tGUxj280dmlp9b9 /x7iUQxRPs0D3mt3/HfDAgqX0KdEhwc= Received: from [127.0.0.1] (smtp.media-brokers.com [70.43.81.99]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a44.g.dreamhost.com (Postfix) with ESMTPSA id 8D536118057 for ; Sun, 5 Jun 2011 08:16:34 -0700 (PDT) Message-ID: <4DEB9DD3.8030004@libertytrek.org> Date: Sun, 05 Jun 2011 11:16:35 -0400 From: Tanstaafl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sntp error in rc.log post OpenRC migration References: <4DEA3768.7060606@libertytrek.org> In-Reply-To: <4DEA3768.7060606@libertytrek.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 428a7a557fc7c6c157f0ad63efe62bb8 Ok, I used to get notifications in the logs about ntp syncing occasionally, letting me know it is doing its thing, but I haven't seen one since the OpenRC migration... and because of the below error, I'm concerned that it may not be working properly... Anyone? Did ntp/sntp change how it logs things? Or is this possibly due to my /var partition not being mounted yet (its on an lvm partition) when sntp tries to start? It appears to be running, but like I said, I haven't seen anything in the logs about a time sync event since I rebooted yesterday after migrating to OpenRC: myhost : Sat Jun 04, 10:53:24 : ~ # ps aux | grep ntp root 457 0.0 0.0 8036 580 pts/3 R+ 10:53 0:00 grep --colour=auto ntp ntp 1802 0.0 0.0 36260 1600 ? Ss 09:34 0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -u ntp:ntp myhost : Sat Jun 04, 10:53:54 : ~ # myhost : Sat Jun 04, 15:18:57 : ~ # grep stratum /var/log/messages myhost : Sun Jun 05, 11:04:24 : ~ # On 2011-06-04 9:47 AM, Tanstaafl wrote: > Ok, finally took the plunge, and as everyone else said it was pretty > much anti-climactic... > > However, I'm getting the following error when starting sntp that I > wasn't before in rc.log: > > * Setting clock via the NTP client 'sntp' ... > 4 Jun 09:34:15 sntp[1626]: Started sntp > 4 Jun 09:34:15 sntp[1626]: kod_init_kod_db(): Cannot open KoD db file > /var/db/ntp-kod > 4 Jun 09:34:15 sntp[1626]: Error looking up (A) no: Name or service not > known > 4 Jun 09:34:15 sntp[1626]: Error looking up (A) -r: Name or service not > known > 2011-06-04 09:34:15.356315 (+0500) -0.010584 +/- 0.038147 secs > 2011-06-04 09:34:15.403387 (+0500) -0.0013 +/- 0.000488 secs > 2011-06-04 09:34:15.436536 (+0500) -0.006587 +/- 0.026062 secs > [ ok ] > > Googling the first line of the error: > > kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod > > did come up with this 6 month old bug: > > https://bugs.ntp.org/show_bug.cgi?id=1681 > > Is there something I need to do to fix this, or is this a > cosmetic/logging bug that will iron itself out with a later update? > > Thanks guys (and gals)... >