[CentOS] Problem with timezone configuration

E Westphal enwestph at rochester.rr.com
Mon Feb 21 01:11:47 UTC 2011


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 at xxx ~]# cat /etc/redhat-release
> CentOS release 5.5 (Final)
> [root at s15370074 ~]# ls -l /etc/localtime
> lrwxrwxrwx 1 root root 32 Feb 19 18:31 /etc/localtime
> -> /usr/share/zoneinfo/Europe/Paris
> [root at xxx ~]# cat /etc/sysconfig/clock
> ZONE="Europe/Paris"
> UTC=true
> ARC=false
> [root at xxx ~]# echo $TZ
>  
> [root at xxx ~]#
> [root at xxx ~]# date
> Sun Feb 20 18:01:28 EST 2011
> [root at xxx ~]# rdate -s time.mit.edu
> [root at xxx ~]# hwclock –systohc
> [root at 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.
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110220/e4015ff5/attachment.html>


More information about the CentOS mailing list