[CentOS] Weird time(zone)?

Sun Apr 15 04:54:02 UTC 2007
Rodrigo Barbosa <rodrigob at darkover.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Apr 14, 2007 at 07:21:11PM -0600, Ashley M. Kirchner wrote:
>    I installed CentOS 5 on a server today (wiping clean the drive which 
> had 4.4 on it).  During installation I picked the correct timezone, 
> location and all.  Yet, upon booting the machine, it seems to think that 
> it's 6 hours earlier than it really is.
> 
>    The BIOS has the correct time and date on it.
> 
>    /etc/locatime was originally what /usr/share/zoneinfo/America/Denver 
> would've been.  I removed it and symlinked it instead thinking it might 
> change things - it didn't.
> 
>    Right now, 'date' tells me:
> 
>        [1] 13:21:12 <root at bigbertha:~> date
>        Sat Apr 14 13:21:13 MDT 2007
> 
>    But it's actually 19:21...
> 
>    So, uh, what's going on?  Why is the time so off?  Under CentOS 4, 
> the time was just fine.  Something happened in 5.

It seems like you selected "BIOS time is UTC", or something like it.

Change UTC to false on /etc/sysconfig/clock, set the clock manually
(with "date"), then write to bios (hwclock --systohc).

[]s

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGIa/qpdyWzQ5b5ckRAl9EAJ9BvdFO/TRmp9aLqGp1wqd3SIhhBwCghWf3
JNU9PHTrIVTk4CU0vN7DReo=
=tc8M
-----END PGP SIGNATURE-----