Posted in
On one of my Gentoo systems, the system date was off by 5 hours and some minutes. Adjusting the system date was only valid during that one boot up session. After the system was rebooted, the system date was off by 5+ hours again. Here is the fix:
# date MMDDHHMM
# hwclock -w
# rm /etc/adjtime
# hwclock -w
The command hwclock -w returned an error message "select() to /dev/rtc to wait for clock tick timed out". This would be the reason that the system refused the system date changes.
To fix that, edit /etc/conf.d/clock, and set:
CLOCK="local"
CLOCK_OPTS="--directisa"
Then restart the clock service:
# /etc/init.d/clock restart
Check the system date now and see that your system is on the new time.

Recent comments
2 weeks 1 day ago
2 weeks 3 days ago
8 weeks 20 hours ago
9 weeks 1 day ago
12 weeks 6 days ago
13 weeks 1 day ago
15 weeks 22 hours ago
15 weeks 1 day ago
15 weeks 1 day ago
16 weeks 2 days ago