Re: Problem with timezone configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Mon, 2011-02-21 at 00:41 +0100, John Nash wrote:
 
Hello,
 
I have a problem configuring the timezone on a CentOS 5.5 server.
I would like the timezone to be Europe/Paris.
 
I have followed the steps described here:
http://www.wikihow.com/Change-the-Timezone-in-Linux
 
I think I have changed the appropriate configuration files ( /etc/localtime, /etc/sysconfig/clock ), but the output of the ‘date’ command still indicates the timezone is EST.
 
 
[root@xxx ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@s15370074 ~]# ls -l /etc/localtime
lrwxrwxrwx 1 root root 32 Feb 19 18:31 /etc/localtime -> /usr/share/zoneinfo/Europe/Paris
[root@xxx ~]# cat /etc/sysconfig/clock
ZONE="Europe/Paris"
UTC=true
ARC=false
[root@xxx ~]# echo $TZ
 
[root@xxx ~]#
[root@xxx ~]# date
Sun Feb 20 18:01:28 EST 2011
[root@xxx ~]# rdate -s time.mit.edu
[root@xxx ~]# hwclock –systohc
[root@xxx ~]# date
Sun Feb 20 18:03:34 EST 2011
 
 
Note that I have even completely rebooted the server, with no effect.
 
Am I missing something important ?
 
Thank you in advance for your suggestions !
 
I think you can very easily accomplish this task using the pull down GUI  "Administration" "Date & Time" give the root password and then select the zone from the image presented to you. It's always worked for me.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux