* [gentoo-user] sntp error in rc.log post OpenRC migration
@ 2011-06-04 13:47 Tanstaafl
2011-06-04 14:02 ` Indi
2011-06-05 15:16 ` Tanstaafl
0 siblings, 2 replies; 4+ messages in thread
From: Tanstaafl @ 2011-06-04 13:47 UTC (permalink / raw
To: gentoo-user
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)...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] sntp error in rc.log post OpenRC migration
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
1 sibling, 1 reply; 4+ messages in thread
From: Indi @ 2011-06-04 14:02 UTC (permalink / raw
To: gentoo-user
On Sat, Jun 04, 2011 at 09:47:20AM -0400, 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)...
>
Using ntp-client here, works just fine.
--
caveat utilitor
♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] sntp error in rc.log post OpenRC migration
2011-06-04 14:02 ` Indi
@ 2011-06-04 14:39 ` Tanstaafl
0 siblings, 0 replies; 4+ messages in thread
From: Tanstaafl @ 2011-06-04 14:39 UTC (permalink / raw
To: gentoo-user
On 2011-06-04 10:02 AM, Indi wrote:
> Using ntp-client here, works just fine.
Hmmm... what runlevel do you have ntdp set to? Mine is 'default'...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] sntp error in rc.log post OpenRC migration
2011-06-04 13:47 [gentoo-user] sntp error in rc.log post OpenRC migration Tanstaafl
2011-06-04 14:02 ` Indi
@ 2011-06-05 15:16 ` Tanstaafl
1 sibling, 0 replies; 4+ messages in thread
From: Tanstaafl @ 2011-06-05 15:16 UTC (permalink / raw
To: gentoo-user
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)...
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-05 16:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox