Paul,

Thank you so much for the tip on setting the hardware clock! I have an old 
PowerEdge server that has a system password set (which I don't know!) so I 
couldn't change the date. I had tried the methods in the manual to unset it 
to no avail. But using the program below I got it right!

For the record here are the steps I used:
[root@nephi /root]# hwclock --set --date="12/7/01 10:42:30"
[root@nephi /root]# uptime
   2:34pm  up 44 days, 23:29,  2 users,  load average: 0.04, 0.01, 0.00
[root@nephi /root]# hwclock --show
Fri 07 Dec 2001 10:42:38 AM EST  0.764047 seconds
[root@nephi /root]# hwclock --hctosys
[root@nephi /root]# hwclock --show
Fri 07 Dec 2001 10:43:40 AM EST  0.663785 seconds
[root@nephi /root]# uptime
  10:43am  up 44 days, 23:30,  2 users,  load average: 0.01, 0.01, 0.00

So thanks again. :-)

Drew

At 09:47 AM 12/7/2001 -0500, Paul Lussier wrote:

>In a message dated: Tue, 04 Dec 2001 17:29:27 EST
>Greg London said:
>
> >finally, my PC's clock has been messed up and I've never been
> >able to get it right, so when I do a sync, jpilot sets my Handspring
> >to the PC time.  arghhh!
>
>Set your clock under Linux to be the right time using the 'date'
>command.  Then do:
>
>         > rm /etc/adjtime
>         > hwclock --systohc
>         > hwclock --systohc             (I always do it twice for some 
> reason :)

Drew Taylor                     JA[P|m_p|SQL]H
http://www.drewtaylor.com/      Just Another Perl|mod_perl|SQL Hacker
mailto:[EMAIL PROTECTED]      *** God bless America! ***
ICQ: 135298242




Reply via email to