On 1/24/06, WauloK <[EMAIL PROTECTED]> wrote:
On 1/24/06, WauloK < [EMAIL PROTECTED]> wrote:
On 1/24/06, Mikkel L. Ellertson < [EMAIL PROTECTED] > wrote:
WauloK wrote:
> On 1/24/06, *Mikkel L. Ellertson* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     WauloK wrote:
>     > # cat  /etc/sysconfig/clock
>     > UTC=true
>     > ARC=false
>     > ZONE=Australia/Brisbane
>     >
>     Is this a dual boot machine? Is the clock set to local time,
>     or UTC? This config file says it is set to UTC.
>
>     Mikkel
>     --
>
>
> It's not dual-boot no. It should just be set to Australian time. Should
> I set UTC to false?
>
>
If it is not a dual-boot machine, and you don't set the time in the
BIOS, the you would be better off setting the hardware clock to UTC.
It tends to work out better. Try something like this:

service ntpd stop
(set the clock to correct time with program of choice)
hwclock --systohc --utc
service ntpd start

On the hwclock command, --systohc set the hardware clock from
the system clock, and --utc says to use UTC instead of local
time. You want to stop the ntpd before you reset the system time
to avoid problems.

After you are done, you should take a look at /etc/adjtime to make
sure the numbers are sane. On the first line, the first and third
numbers are usually between -1 and 1.
 
# cat /etc/adjtime
-47.649335 1138062270 0.000000
1138062270
UTC
 
Might have helped:
Jan 24 10:38:13 spooty ntpd[9996]: adjusting local clock by 46.051183s
Jan 24 10:41:54 spooty ntpd[9996]: adjusting local clock by 45.339445s
Jan 24 10:45:53 spooty ntpd[9996]: adjusting local clock by 44.469304s
Jan 24 10:47:49 spooty ntpd[9996]: adjusting local clock by 43.685534s
 
Jan 24 10:51:34 spooty ntpd[9996]: adjusting local clock by 42.696656s
Jan 24 10:55:55 spooty ntpd[9996]: adjusting local clock by 41.499743s
 
 
OK This is weird:
 
Jan 24 11:27:21 spooty ntpd: ntpd shutdown failed
Jan 24 11:27:24 spooty ntpd: ntpd startup succeeded
Jan 24 11:27:24 spooty ntpd[10435]: ntp engine ready
Jan 24 01:27:42 spooty ntpd[10435]: peer 128.250.36.3 now valid
Jan 24 01:27:45 spooty ntpd[10435]: peer 192.189.54.33 now valid
Jan 24 01:27:46 spooty ntpd[10435]: peer 203.2.193.124 now valid
Jan 24 01:27:48 spooty ntpd[10435]: peer 128.250.37.2 now valid
Jan 24 01:27:49 spooty ntpd[10435]: peer 128.184.1.1 now valid
Jan 24 01:27:50 spooty ntpd[10435]: peer 202.139.83.40 now valid
Jan 24 01:27:51 spooty ntpd[10435]: peer 192.189.54.17 now valid
 
11:28 is the correct time.
ntpd is running under 'root' and 'ntp'. one is on UTC time and one on local time
 

Reply via email to