Re: trouble setting timezone for ukraine
Alexander Kapshuk <alexander.kapshuk@gmail.com> writes:
> On 11/04/11 22:46, Lowell Gilbert wrote:
>> Alexander Kapshuk<alexander.kapshuk@gmail.com> writes:
>>
>>> the actual current time is 10.21 pm.
>> Your system's clock may be off as well...
>>
>>> 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/europe?rev=1.7.2.2;content-type=text%2Fplain
>>
>> 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.
>>
>> Or you could update your system to anything after October 26.
> thanks.
>
> here's what i did based on my understanding of the instructions given above:
> # cd $HOME
> # fetch -o europe
> http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/contrib/tzdata/europe?rev=1.7.2.2;content-type=text%2Fplain
> # zic europe
> # tzsetup -r
>
> :; date
> Sat Nov 5 00:54:32 EET 2011
>
> the timezone did change from 'FET' to 'EET', but the time is still
> wrong by being 1 hour ahead of the actual ukraine time.
>
> 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=10276
> [post # 6])
>
> ntpdate_enable="YES"
> ntpdate_flags="-u -b"
> ntpdate_hosts="ua.pool.ntp.org"
That will only do anything at startup.
To do the same thing without needing to reboot, the command line would be
# ntpdate -u -b ua.pool.ntp.org
> i must be doing something wrong. just don't know what is it.
>
> can anyone please suggest what it is i should be doing?
Well, start with what I suggested a while back: try "date -u"
and see whether that is the correct UTC time. If not, the ntpdate
command will solve you problems. If it is, there's still something else
wrong.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 8 之 11 篇):