You are not logged in.

#1 2009-10-09 11:11:20

valemon
Member
Registered: 2009-08-29
Posts: 24

time and date keep changing

It started happening a week or so ago. Every time I boot the time is changed. I set the date from the bios but arch shows the time wrong. Also because of this I sometimes get problems during bootup because the partition looks like it was last mounted in the future. Can anyone help me out?

Offline

#2 2009-10-09 11:18:01

Bl@ster
Member
From: Rome
Registered: 2009-10-09
Posts: 51
Website

Re: time and date keep changing

Did you try to put the NTP daemon in your rc.conf, and base you system clock on NTP?

Offline

#3 2009-10-09 11:41:31

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: time and date keep changing

Not really, I 'd like not to use internet to get my clock set, rather get a solution the time keeps changing.

Offline

#4 2009-10-09 11:48:07

Bl@ster
Member
From: Rome
Registered: 2009-10-09
Posts: 51
Website

Re: time and date keep changing

valemon wrote:

Not really, I 'd like not to use internet to get my clock set, rather get a solution the time keeps changing.

Can you paste your rc.conf?

Offline

#5 2009-10-09 11:52:34

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: time and date keep changing

Aside from possible hardware failure, automatic time adjust could be wrong. Try:

cat /var/lib/hwclock/adjtime
0.026639 1255063716 0.000000
1255063716
UTC

The first field should be a rather low value. If not, delete /var/lib/hwclock/adjtime and reboot.

If this does not help, make sure your hardware clock is set right (see: man hwclock). Make sure your current system time displays right and then issue (as root):

hwclock --systohc

Finally (or beforemost) check the HARDWARECLOCK setting in /etc/rc.conf. Does it match your system (either "UTC" or "localtime")?

BTW: This problem comes up often. Just search the forum.

Last edited by bernarcher (2009-10-09 11:53:19)


To know or not to know ...
... the questions remain forever.

Offline

#6 2009-10-09 20:31:33

valemon
Member
Registered: 2009-08-29
Posts: 24

Re: time and date keep changing

Thank you for the help. Deleting /var/lib/hwclock/adjtime did the trick

Offline

#7 2009-11-25 15:34:17

akephalos
Member
From: Romania
Registered: 2009-04-22
Posts: 114

Re: time and date keep changing

I have the same problem for some time, no idea why. I'm using openntpd only when there is need of it, for example after Windows messes up the date. Thanks for the tips guys!

Offline

#8 2009-11-25 15:37:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: time and date keep changing

Heh,  I just saw the subject (time and date keep changing) and thought that is supposed to happen.  We can not have time standing still!

Offline

#9 2009-11-25 15:54:35

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

Offline

#10 2009-11-25 22:40:22

akephalos
Member
From: Romania
Registered: 2009-04-22
Posts: 114

Re: time and date keep changing

I want to stay young tongue

Offline

#11 2009-11-26 07:30:37

arunix
Member
From: /home/kurali
Registered: 2009-04-08
Posts: 93

Re: time and date keep changing

i  had same problem due to powerfailure but now its all right......

Last edited by arunix (2009-11-26 07:32:29)


Minds are like parachutes. They only function when they are open.

Offline

#12 2009-11-26 07:42:00

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: time and date keep changing

be aware that an empty bios battery also could cause an time problem, then the time will be reset every bootup wink

Offline

Board footer

Powered by FluxBB