From: Tanstaafl <tanstaafl@libertytrek.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] sntp error in rc.log post OpenRC migration
Date: Sun, 05 Jun 2011 11:16:35 -0400 [thread overview]
Message-ID: <4DEB9DD3.8030004@libertytrek.org> (raw)
In-Reply-To: <4DEA3768.7060606@libertytrek.org>
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)...
>
prev parent reply other threads:[~2011-06-05 16:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-04 13:47 [gentoo-user] sntp error in rc.log post OpenRC migration Tanstaafl
2011-06-04 14:02 ` Indi
2011-06-04 14:39 ` Tanstaafl
2011-06-05 15:16 ` Tanstaafl [this message]
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=4DEB9DD3.8030004@libertytrek.org \
--to=tanstaafl@libertytrek.org \
--cc=gentoo-user@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox