You are not logged in.

#1 2009-03-30 08:02:26

Arcath
Member
Registered: 2008-04-08
Posts: 27

[SOLVED]Time Problem

The Clocks went forward this weekend and i expected openntpd to change the time for me, but it didnt, its holding it exactly 1 hour out. I changed my timezone in rc.conf to Europe/London instead of GMT but it still doesnt change it (i didnt reboot the machine).

anyone know why its not taking the hour offset into account?

Last edited by Arcath (2009-03-30 12:39:27)

Offline

#2 2009-03-30 08:17:32

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

Re: [SOLVED]Time Problem

This had been reported by some others, too.
It could be caused by the time servers called. Which servers do you use in your /etc/ntpd.conf?
I kept it on the default servers pool.ntp.org. Time changed orderly here.

Last edited by bernarcher (2009-03-30 08:17:57)


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

Offline

#3 2009-03-30 08:50:54

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: [SOLVED]Time Problem

yeah im using "servers pool.ntp.org"

Offline

#4 2009-03-30 10:20:51

adamlau
Member
Registered: 2009-01-30
Posts: 418

Re: [SOLVED]Time Problem

Traceroute the following over a few days, choose the fastest one and go from there...

server 0.uk.pool.ntp.org
server 1.uk.pool.ntp.org
server 2.uk.pool.ntp.org
server 3.uk.pool.ntp.org


Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce

Offline

#5 2009-03-30 10:41:26

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: [SOLVED]Time Problem

i tried 0 and 1 from that list but its still holding it 1 hour out. does the system autiomatically look at rc.conf for values? or does it keep them stored? because if it does it will still have GMT as the time zone becasue thats what it was in rc.conf last time it booted.

Offline

#6 2009-03-30 10:48:22

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: [SOLVED]Time Problem

nope,

echo $TIMEZONE

shows that it is "Europe/London" and using "0.uk.pool.ntp.org"it still adjusts it by fractions of a second instead of an hour.

Offline

#7 2009-03-30 11:09:38

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: [SOLVED]Time Problem

weird.
I have Europe/Brussels and openntpd set to be.pool.ntp.org.
And it works fine. the hour changed normally.
could it be that with openntpd it works normally and not with the other one?

Last edited by Dieter@be (2009-03-30 11:10:30)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#8 2009-03-30 12:29:21

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: [SOLVED]Time Problem

i tried changing to Europe/Brussels and it still only correct 0.001s drift in my clock. its not changing the hour.

Offline

#9 2009-03-30 12:34:25

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]Time Problem

Since you didn't reboot after editing rc.conf:

cp /usr/share/zoneinfo/Some/Where /etc/localtime

Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#10 2009-03-30 12:39:12

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: [SOLVED]Time Problem

Thanks for that! my server now has the right time set!

Offline

Board footer

Powered by FluxBB