View previous topic :: View next topic |
Author |
Message |
grofaz Guru

Joined: 18 Sep 2005 Posts: 319
|
Posted: Sun Oct 29, 2006 7:36 pm Post subject: Clock Error! |
|
|
Last night we set our clocks back one hour but gentoo still shows the old time and strange things are happening such as windows failing to minimize to the toolbar (I'm running fluxbox).
/etc/conf.d/clock is set to:
Local time is supposed to be set to Anchorage time but when I view localtime it's a bunch of gibberrish. How do I fix
this??
grofaz
P.S. Another bit of trouble that's been going on since my last gentoo install foray each bootup:
Code: | /dev/hda4:Superblock last write time is in the future. FIXED.
/dev/hda2:Superblock last write time is in the future. FIXED. |
What gives?? |
|
Back to top |
|
 |
Rad Guru

Joined: 11 Feb 2004 Posts: 401 Location: Bern, Switzerland
|
Posted: Sun Oct 29, 2006 7:50 pm Post subject: |
|
|
"ls -la /etc/localtime" should be symlinked (ln -sf) with the correct time zone file in /usr/share/zoneinfo/.
Also, you may have to run an ntp client like "ntpdate" to get the correct time from a time server, or use "date" to set your clock manually.
EDIT: Furthermore, you should put CLOCK_SYSTOHC="yes" or use "hwclock --systohc" if you want the time you just set using *date synchronized to your computer's hardware clock and hence be persistant between reboots.
Your problems with fluxbox are probably not related to this clock issue, whereas the ones related to the message about your filesystem's superblock probably are. |
|
Back to top |
|
 |
grofaz Guru

Joined: 18 Sep 2005 Posts: 319
|
Posted: Sun Oct 29, 2006 8:07 pm Post subject: |
|
|
How do I do this:
Code: | "ls -la /etc/localtime" should be symlinked (ln -sf) with the correct time zone file in /usr/share/zoneinfo/. |
|
|
Back to top |
|
 |
grofaz Guru

Joined: 18 Sep 2005 Posts: 319
|
Posted: Sun Oct 29, 2006 9:20 pm Post subject: |
|
|
I did everything listed except the symlink bit and I still get the bootup Superblock errors.
I've never set CLOCK_SYSTOHC="yes" in the past and never had this problem before.
I emerged "netdate" but I have no clue how to set it up properly.
As for fluxbox, issue resolved! :) I must have accidentally selected an unwanted iconbar option.
Now let's fix the time issues... how do I force a file system check at bootup ?? I forgot the command. |
|
Back to top |
|
 |
|