[CentOS] timezone "Europe/London" ntpdate

Yuri Timofeev

tim4dev at gmail.com
Fri May 8 09:56:40 UTC 2009


I setup to the timezone, date and time.
And now I want to add synchronize time with the time-server.
I want to change with daylight savings/summer time.

2009/5/8, lists-centos <replies-lists-a2z2-centos at listmail.innovate.net>:
> is this the first time you've run ntpdate (or equiv) in a bit over a
> month?
>
> "london" goes on "summer time" toward the end of march, so switches
> to gmt+1 at that point, so it would be 22:nn now in "london time",
> while it's 21:nn GMT.
>
> if you want your machine to not change with daylight savings/summer
> time you need to select GMT or UTC, rather than a country-specific
> timezone.
>
>   - Rick
>
>
>
> ------------ Original Message ------------
>> Date: Thursday, May 07, 2009 11:43:58 PM +0300
>> From: Yuri Timofeev <tim4dev at gmail.com>
>> To: centos <centos at centos.org>
>> Subject: [CentOS] timezone "Europe/London" ntpdate
>>
>> Hi
>>
>> CentOS 5.3 with latest updates.
>>
>> I have a problem with the time zone on dedicated server.
>> I had to setup the timezone using system-config-date to
>> "Europe/London" and "System clock uses UTC" == checked
>>
>># date; date -u; hwclock --show; hwclock --show --utc; zdump
>># /etc/localtime
>> Thu May  7 21:29:47 GMT 2009
>> Thu May  7 21:29:47 UTC 2009
>> Thu 07 May 2009 09:29:48 PM GMT  -0.411568 seconds
>> Thu 07 May 2009 09:29:49 PM GMT  -0.997482 seconds
>> /etc/localtime  Thu May  7 21:29:48 2009 GMT
>>
>># cat /etc/sysconfig/clock
>> ZONE="Europe/London"
>> UTC=true
>> ARC=false
>>
>># cat /etc/adjtime
>> -3525.635197 1241730131 0.000000
>> 1241730131
>> UTC
>>
>># strings /etc/localtime
>> TZif2
>> TZif2
>> GMT0
>>
>># ntpdate -q 0.centos.pool.ntp.org
>>  7 May 21:14:51 ntpdate[12689]: step time server 195.42.115.77
>> offset -3638.766689 sec
>>
>> Why -3638 sec ?
>>
>> thanks.
>
> ------------ End Original Message ------------
>
>
>


-- 
with best regards



More information about the CentOS mailing list