You are not logged in.

#1 2009-10-19 16:14:26

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

[SOLVED] Clock issues

I had a hal error @ one point and it was a simple fix....BUT for some random reason after that my clock was always off. 

now every time I start my computer I either get an error saying "last boot was in the future..." or my time in my GUI is completely off...

I fix it this way in the terminal:   ntpdate pool.ntp.org

(that fixes my GUI time...

then I:   /sbin/hwclock -w

to supposedly set my Bios clock to the same time....

Everything is fine till I restart...then my same problems continue...

any suggestions?

Last edited by BarefootSoul83 (2009-10-30 13:20:53)

Offline

#2 2009-10-19 16:30:51

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: [SOLVED] Clock issues

Are you, by chance, double booting with Windows and use UTC instead of local time in Arch?

Offline

#3 2009-10-19 16:54:32

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

Re: [SOLVED] Clock issues

...nope...I killed windows! (HORRAY!!) and I am running of EST I believe...

Offline

#4 2009-10-19 17:16:30

Zeist
Arch Linux f@h Team Member
Registered: 2008-07-04
Posts: 532

Re: [SOLVED] Clock issues

How much does your clock move.

If it's a big number of days it might be your BIOS battery going dead and your computer dropping time whenever it turns off the power.


I haven't lost my mind; I have a tape back-up somewhere.
Twitter

Offline

#5 2009-10-19 17:18:53

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

Re: [SOLVED] Clock issues

its always different...I thought about the battery issue...but this laptop is BRAND NEW...

Offline

#6 2009-10-20 14:27:32

Lifty
Member
Registered: 2006-11-05
Posts: 62

Re: [SOLVED] Clock issues

I have the same problem for some weeks now. Ive got a pretty old machine so I first thought it was the battery too. But it still goes off after I put a new battery in. The max offset has been almost one week back before I replaced the battery but that time I moved and havent touched my pc for almost 1 week.

The time off is always different but I noticed that it kind of sums up the next boot when I didnt care much enough to set it back normal the last time. (but maybe that was just coincidence...).

Im on 64 bit and have set my time to "localtime" in my rc.conf.

Last edited by Lifty (2009-10-20 14:28:27)

Offline

#7 2009-10-21 12:08:03

treadlefish
Member
Registered: 2009-01-24
Posts: 13

Re: [SOLVED] Clock issues

I just did a pacman system wide upgrade 2 days ago, mainly to get Gnome 2.8. There are many problems, the time thing being one. My clock is off by 4 hours after every reboot despite resetting it. No changes to rc.conf by me or the upgrade.  I'm about to backup my home directory and reload the whole blasted OS.

Offline

#8 2009-10-21 12:44:30

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Clock issues

I use this, so no matter what's going on, my time is right every time I boot:

http://wiki.archlinux.org/index.php/NTP


Matt

"It is very difficult to educate the educated."

Offline

#9 2009-10-21 13:53:24

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Offline

#10 2009-10-26 11:51:20

Lifty
Member
Registered: 2006-11-05
Posts: 62

Re: [SOLVED] Clock issues

Deleting /var/lib/hwclock/adjtime did it for me. The problem ist gone now big_smile Thanks Misfit138!!

Offline

#11 2009-10-27 23:31:31

Kenni
Member
From: Denmark
Registered: 2007-01-25
Posts: 64

Re: [SOLVED] Clock issues

Wow, I'm getting tired of deleting /var/lib/hwclock/adjtime, I don't even think a month has passed since I did it last time and today I have the issue again on both my laptop and my desktop...does anyone know why it happens???

Offline

#12 2009-10-30 13:20:18

BarefootSoul83
Member
From: Virginia, USA
Registered: 2009-10-07
Posts: 110
Website

Re: [SOLVED] Clock issues

deleting /var/lib/hwclock/adjtime

then running thje following in the terminal:

ntpdate pool.ntp.org

(that fixes my GUI time...)

then I:   /sbin/hwclock -w

to fix my Bios time....

worked well for me...

Offline

Board footer

Powered by FluxBB