"Clock Skew detected error"

Richard B. Johnson root en chaos.analogic.com
Mar Ene 25 18:07:29 CST 2000


On Mon, 24 Jan 2000, Sujit Vaidya wrote:

> HI,
>   I changed the date on the machine using the date
> command. Then the kernel compiles fine without any
> errors. But again when i reboot the system it takes
> the original date. i.e it sets the date to 
> JAN ** , 1994. 
>   Is there any way i can change that.

Make sure your TZ variable has been set properly (in /etc/profile)

export TZ=US/Eastern
      Then make it take effect like
 /etc/profile                          # Execute /etc/profile
      Then reset your system time like
rdate time-a.timefreq.bldrdoc.gov       # Set time to NIST
      Then set your CMOS clock
hwclock -systohc

This should make everything fine. If you set your clock to NIST,
or to the national time-server in the country or your choice,
every time you startup and connect to a network or if your
machine is 'up' all the time, have crond (man cron) set it once
a day. 


Cheers,
Dick Johnson

Penguin : Linux version 2.3.39 on an i686 machine (800.63 BogoMips).


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda