1 |
A week or two back I reset my system clock temporarily to 2001 in order to |
2 |
install a package under wine with a time-limited installer, after which I set |
3 |
it back again. Since then I have been getting really weird and annoying |
4 |
clock behaviour. |
5 |
|
6 |
For instance I sometimes find that the kde clock tells me that I am on UTC |
7 |
rather than PST. At other times it tells me that I am on PST, but gives a |
8 |
time exactly 8 hours in the future. |
9 |
|
10 |
Now it is getting even weirder because I find that when I boot up and enter |
11 |
kde, the clock shows a time approximately, but not exactly, 10 days in the |
12 |
past. For instance the time now is 18 Nov 2005 10:03 am, but the clock |
13 |
thinks it is 8 nov 2005 7:13 am. Yesterday at the same time it thought it |
14 |
was 8 nov 7.xx pm. |
15 |
|
16 |
Sometimes I am able to correct the time using the kde control panel. |
17 |
Sometimes I am not and I have to use the other control panel I find in my K |
18 |
menu (which I believe to be the Gnome one, but I'm not sure). |
19 |
|
20 |
I have enabled ntpd in my default runlevel, and /etc/init.d/ntpd status |
21 |
returns "started". However, when I select "Set date and time automatically" |
22 |
in the kde control panel, I get the error "Unable to contact time server: |
23 |
http://www.pool.ntp.org/zone/north-america", and I get the same error no |
24 |
matter which server I select or type in. The (Gnome?) control panel does |
25 |
allow me to select "Synchronize clock with internet servers", but when I do |
26 |
so nothing happens, no matter how many servers I select. |
27 |
|
28 |
How can I get ntpd and/or ntp-client working properly? |
29 |
|
30 |
This is my current /etc/ntp.conf: |
31 |
|
32 |
restrict default noquery notrust nomodify |
33 |
restrict 127.0.0.1 |
34 |
restrict 192.168.1.0 mask 255.255.255.0 |
35 |
fudge 127.127.1.0 stratum 3 |
36 |
driftfile /var/lib/ntp/ntp.drift |
37 |
logfile /var/log/ntp.log |
38 |
server time.nrc.ca |
39 |
server ntp1.cmc.ec.gc.ca |
40 |
server ntp2.cmc.ec.gc.ca |
41 |
server clock.tricity.wsu.edu |
42 |
server wuarchive.wustl.edu |
43 |
server clock.psu.edu |
44 |
server gilbreth.ecn.purdue.edu |
45 |
server molecule.ecn.purdue.edu |
46 |
server libra.rice.edu |
47 |
server ntp.cox.smu.edu |
48 |
|
49 |
and this is my /var/log/ntp.log: |
50 |
|
51 |
13 Nov 15:38:34 ntpd[7996]: synchronized to LOCAL(0), stratum 5 |
52 |
13 Nov 15:53:30 ntpd[7996]: kernel time sync disabled 0041 |
53 |
13 Nov 15:54:34 ntpd[7996]: kernel time sync enabled 0001 |
54 |
14 Nov 05:44:27 ntpd[7996]: ntpd exiting on signal 15 |
55 |
7 Nov 05:47:11 ntpd[9980]: synchronized to LOCAL(0), stratum 5 |
56 |
7 Nov 05:47:11 ntpd[9980]: kernel time sync disabled 0041 |
57 |
7 Nov 05:48:17 ntpd[9980]: kernel time sync enabled 0001 |
58 |
7 Nov 05:56:50 ntpd[9980]: ntpd exiting on signal 15 |
59 |
7 Nov 05:59:57 ntpd[10925]: synchronized to LOCAL(0), stratum 5 |
60 |
7 Nov 05:59:57 ntpd[10925]: kernel time sync disabled 0041 |
61 |
7 Nov 06:01:01 ntpd[10925]: kernel time sync enabled 0001 |
62 |
7 Nov 06:16:23 ntpd[10925]: ntpd exiting on signal 15 |
63 |
14 Nov 20:29:38 ntpd[24699]: ntpd exiting on signal 15 |
64 |
16 Nov 21:45:26 ntpd[9972]: ntpd exiting on signal 15 |
65 |
16 Nov 21:45:26 ntpd[10536]: parent died before we finished, exiting |
66 |
17 Nov 20:35:43 ntpd[9948]: ntpd exiting on signal 15 |
67 |
|
68 |
Note that there is no entry in the log for today (18 nov) even though I have |
69 |
attempted today (18 nov according to both me and the computer) to disable and |
70 |
reenable synchronisation through the (Gnome?) control panel. |
71 |
|
72 |
Many thanks |
73 |
Robert |
74 |
-- |
75 |
Robert Persson |
76 |
|
77 |
"Don't use nuclear weapons to troubleshoot faults." |
78 |
(US Air Force Instruction 91-111, 1 Oct 1997) |
79 |
|
80 |
-- |
81 |
gentoo-user@g.o mailing list |