Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2 hours offset after login [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fabokzs
n00b
n00b


Joined: 12 Feb 2007
Posts: 6

PostPosted: Tue Oct 16, 2007 6:38 am    Post subject: 2 hours offset after login [SOLVED] Reply with quote

Hi,

I found an interesting (now it became annoying) behavior when I start my gentoo. The time which is shown by it has 2 hours offset to the actual time. Say when it is 8 o'clock it says it is 10. I checked the bios settings and the time is just fine there. I looked through the dmesg and /var/log/messages and there is nothing, at least I have not found anything which might be the entry point for me problem.

/etc/localtime links to the proper timezone and the /etc/conf.d/clock is set according to the handbook. CLOCK="UTC" and TIMEZONE="Europe/Budapest"

Can you help me with some hints to track down this problem? I you need some more input please let me know, because I don't want to bother you with a lot of unnecessary log entries.

Best regards,
Zsolt


Last edited by fabokzs on Tue Oct 16, 2007 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
JeanValjean
n00b
n00b


Joined: 27 Aug 2007
Posts: 61

PostPosted: Tue Oct 16, 2007 8:22 am    Post subject: Reply with quote

Is you local setup correctly? Type in the console "locale" and see. Also /etc/adjitme is the offset for clock skew. Rarely it can become corrupted. Try removing it.

It might be a good thought, to stop the client used for ntp until the issue is resolved.
Back to top
View user's profile Send private message
fabokzs
n00b
n00b


Joined: 12 Feb 2007
Posts: 6

PostPosted: Tue Oct 16, 2007 6:44 pm    Post subject: 2 hours offset after login [SOLVED] Reply with quote

Hi,

JeanValjean wrote:
Is you local setup correctly? Type in the console "locale" and see. Also /etc/adjitme is the offset for clock skew. Rarely it can become corrupted. Try removing it.

It might be a good thought, to stop the client used for ntp until the issue is resolved.

Thanks for the hint. I checked the file you mentioned and it contained only zeroes. Hence I googled it down and checked the /etc/init.d/clock and saw that the hwclock command is used in it and has connection to the adjust file. Everything seemed fine but the 2 hours were still there. Than I executed the
Code:
hwclock --show
command, and saw that the system clock is not fine. Interesting. The bios tells different things.

But the problem is solved - after setting the hardware clock with hwclock - in my point of view, thanks again.

Regards,
Zsolt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum