1 |
Is the clock almost in sync? - if its too far out ntp will silently fail |
2 |
to sync (by design - large scale time steps can be destructive for |
3 |
heavily active databases for instance) |
4 |
|
5 |
Check out the -g option to ntpd in 'man ntpd' |
6 |
|
7 |
or 'tinker panic 0' in ntp.conf |
8 |
|
9 |
Also, has ntp.conf specified a writable frift file in a directory that |
10 |
exists? |
11 |
|
12 |
ntp can be VERY complex when it doesnt "just work" :) |
13 |
|
14 |
BillK |
15 |
|
16 |
|
17 |
|
18 |
On Mon, 2011-01-03 at 19:31 -0600, Dale wrote: |
19 |
> Hi, |
20 |
> |
21 |
> I been watching my clock here for a while. On my old rig, ntp kept the |
22 |
> clock set very, very well. This rig seems to have issues. I tried the |
23 |
> stable version of ntp and it just seems to keep resetting the time but |
24 |
> not adjusting the drift file at all. I even adjusted manually once and |
25 |
> my entry was better than the one it made. |
26 |
> |
27 |
> I then decided to try the latest unstable ntp to see if maybe it would |
28 |
> work better. I emerged ntp, renamed the drift file and started the |
29 |
> service. That was several hours ago and it has yet to even create the |
30 |
> drift file. It also puts nothing in the log file except that it started |
31 |
> and is using ports and the normal stuff. No syncing or anything like |
32 |
> the older version. |
33 |
> |
34 |
> Also, I copied the ntp.conf file over from the old rig. I would think |
35 |
> they would work pretty much the same. Same program, same config and |
36 |
> hopefully same results. |
37 |
> |
38 |
> First version tried: net-misc/ntp-4.2.4_p7-r1 |
39 |
> Current unstable version: net-misc/ntp-4.2.6_p2-r1 |
40 |
> |
41 |
> When I looked at the ntp website, it said it should sync much faster |
42 |
> than the old one. Basically it is minutes instead of hours. So far |
43 |
> this is not the case. |
44 |
> |
45 |
> Anybody else ran into this? Am I missing something that is different on |
46 |
> a 64 bit rig? |
47 |
> |
48 |
> Thanks. |
49 |
> |
50 |
> Dale |
51 |
> |
52 |
> :-) :-) |
53 |
> |
54 |
|
55 |
-- |
56 |
William Kenworthy <billk@×××××××××.au> |
57 |
Home in Perth! |