Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2011 18:15:43 -0400
From:      Tim Kellers <timothyk@wallnet.com>
To:        Alexander Kapshuk <alexander.kapshuk@gmail.com>
Cc:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: trouble setting timezone for ukraine
Message-ID:  <F7558AB2-306B-401E-BAFB-EA893A8971F4@wallnet.com>
In-Reply-To: <4EB46E5C.2000107@gmail.com>
References:  <4EB44272.6060809@gmail.com> <44vcqzbrlu.fsf@be-well.ilk.org> <20111104215321.5f9ca2eb@nonamehost.> <44r51nbq4p.fsf@be-well.ilk.org> <4EB457C1.2070607@gmail.com> <44lirvbopw.fsf@be-well.ilk.org> <4EB46E5C.2000107@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Nov 4, 2011, at 6:59 PM, Alexander Kapshuk <alexander.kapshuk@gmail.com> w=
rote:

> On 11/04/11 22:46, Lowell Gilbert wrote:
>> Alexander Kapshuk<alexander.kapshuk@gmail.com>  writes:
>>=20
>>> the actual current time is 10.21 pm.
>> Your system's clock may be off as well...
>>=20
>>> any idea when an updated time zone file will become available?
>> It's already in the FreeBSD tree:
>> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europ=
e?rev=3D1.7.2.2;content-type=3Dtext%2Fplain
>>=20
>> To install it, you'll need something like
>>  # zic europe
>> (where "europe" is the file from the URL above)
>> and then tzsetup(8) should install the correct information.
>>=20
>> Or you could update your system to anything after October 26.
> thanks.
>=20
> here's what i did based on my understanding of the instructions given abov=
e:
> # cd $HOME
> # fetch -o europe http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/con=
trib/tzdata/europe?rev=3D1.7.2.2;content-type=3Dtext%2Fplain
> # zic europe
> # tzsetup -r
>=20
> :; date
> Sat Nov  5 00:54:32 EET 2011
>=20
> the timezone did change from 'FET' to 'EET', but the time is still wrong b=
y being 1 hour ahead of the actual ukraine time.
>=20
> another thing i tried, which didn't seem to help was set these environment=
 variables in my /etc/rc.conf:
> (as suggested here: http://forums.freebsd.org/showthread.php?t=3D10276 [po=
st # 6])
>=20
> ntpdate_enable=3D"YES"
> ntpdate_flags=3D"-u -b"
> ntpdate_hosts=3D"ua.pool.ntp.org"
>=20
>=20
> i must be doing something wrong. just don't know what is it.
>=20
> can anyone please suggest what it is i should be doing?
>=20
> thanks.
>=20
> sasha
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"
>=20

Try a different time server run directly from tithe command line as root:

#ntpdate time.apple.com=20

And see if that changes the date result.

Tim=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F7558AB2-306B-401E-BAFB-EA893A8971F4>