Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Hardware clock, software clock and ntpd
Date: Mon, 12 Jun 2006 17:18:10
Message-Id: 200606121624.48824.uwix@iway.na
In Reply to: [gentoo-user] Hardware clock, software clock and ntpd by "John J. Foster"
1 On 12 June 2006 15:32, John J. Foster wrote:
2 > Good morning all,
3 >
4 > About 10 days ago we had a lightning strike very nearby that fried our
5 > electric utilities transformer and my APC RS800 UPS. This in turn caused
6 > my system to crash. When I brought it back up, all CMOS settings had been
7 > lost. After setting what I could remember (no, I didn't have them written
8 > down), I brought Gentoo back up. Massive complaints about the time being
9 > off (I had forgotten to set the hardware clock).
10 >
11 > # /etc/init.d/ntpd stop
12 > followed by
13 > # ntpdate pool.ntp.org
14
15 after this:
16 hwclock -wu
17 to get your hardware clock right. Without "u" if your hw clock is running in
18 local time.
19
20 > set the system time correctly. So I
21 > #/etc/init.d/ntpd start
22 >
23 > Since then, ntpd does not work.
24 > According to ps, ntpd is running
25 >
26 > //garbanzo/etc # ps aux|grep ntp
27 > root 19874 0.0 0.3 3656 3656 ? SLs 09:05 0:00
28 > /usr/sbin/ntpd -p /var/run/ntpd.pid
29 >
30 > But all that shows in the /var/log/ntp.log is
31 > 12 Jun 09:05:46 ntpd[19515]: ntpd exiting on signal 15
32
33 It probably terminated right after your "ps". Would be interesting to know why
34 it is terminating. Maybe you should run ntpd in the foreground once:
35 ntpd -n
36
37 Uwe
38
39 --
40 Mark Twain: I rather decline two drinks than a German adjective.
41 http://www.SysEx.com.na
42 --
43 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Hardware clock, software clock and ntpd "John J. Foster" <gentoo-user@××××××××××××.com>