1 |
Ok, I used to get notifications in the logs about ntp syncing |
2 |
occasionally, letting me know it is doing its thing, but I haven't seen |
3 |
one since the OpenRC migration... and because of the below error, I'm |
4 |
concerned that it may not be working properly... |
5 |
|
6 |
Anyone? Did ntp/sntp change how it logs things? Or is this possibly due |
7 |
to my /var partition not being mounted yet (its on an lvm partition) |
8 |
when sntp tries to start? |
9 |
|
10 |
It appears to be running, but like I said, I haven't seen anything in |
11 |
the logs about a time sync event since I rebooted yesterday after |
12 |
migrating to OpenRC: |
13 |
|
14 |
myhost : Sat Jun 04, 10:53:24 : ~ |
15 |
# ps aux | grep ntp |
16 |
root 457 0.0 0.0 8036 580 pts/3 R+ 10:53 0:00 grep |
17 |
--colour=auto ntp |
18 |
ntp 1802 0.0 0.0 36260 1600 ? Ss 09:34 0:00 |
19 |
/usr/sbin/ntpd -p /var/run/ntpd.pid -u ntp:ntp |
20 |
myhost : Sat Jun 04, 10:53:54 : ~ |
21 |
# |
22 |
|
23 |
myhost : Sat Jun 04, 15:18:57 : ~ |
24 |
# grep stratum /var/log/messages |
25 |
myhost : Sun Jun 05, 11:04:24 : ~ |
26 |
# |
27 |
|
28 |
On 2011-06-04 9:47 AM, Tanstaafl wrote: |
29 |
> Ok, finally took the plunge, and as everyone else said it was pretty |
30 |
> much anti-climactic... |
31 |
> |
32 |
> However, I'm getting the following error when starting sntp that I |
33 |
> wasn't before in rc.log: |
34 |
> |
35 |
> * Setting clock via the NTP client 'sntp' ... |
36 |
> 4 Jun 09:34:15 sntp[1626]: Started sntp |
37 |
> 4 Jun 09:34:15 sntp[1626]: kod_init_kod_db(): Cannot open KoD db file |
38 |
> /var/db/ntp-kod |
39 |
> 4 Jun 09:34:15 sntp[1626]: Error looking up (A) no: Name or service not |
40 |
> known |
41 |
> 4 Jun 09:34:15 sntp[1626]: Error looking up (A) -r: Name or service not |
42 |
> known |
43 |
> 2011-06-04 09:34:15.356315 (+0500) -0.010584 +/- 0.038147 secs |
44 |
> 2011-06-04 09:34:15.403387 (+0500) -0.0013 +/- 0.000488 secs |
45 |
> 2011-06-04 09:34:15.436536 (+0500) -0.006587 +/- 0.026062 secs |
46 |
> [ ok ] |
47 |
> |
48 |
> Googling the first line of the error: |
49 |
> |
50 |
> kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod |
51 |
> |
52 |
> did come up with this 6 month old bug: |
53 |
> |
54 |
> https://bugs.ntp.org/show_bug.cgi?id=1681 |
55 |
> |
56 |
> Is there something I need to do to fix this, or is this a |
57 |
> cosmetic/logging bug that will iron itself out with a later update? |
58 |
> |
59 |
> Thanks guys (and gals)... |
60 |
> |