Portal Home > Knowledgebase > Articles Database > setting time zone to GMT


setting time zone to GMT




Posted by WebHostingNeeds, 06-26-2008, 06:27 AM
Hi, When i try setting time zone to GMT, it do not worked. It still shows time in EDT. I have the same problem in other server also, both servers are CentOS 5.2 When i set to UTC, it works Any idea why this happens ? Thanks, Yujin

Posted by zuborg, 06-26-2008, 06:30 AM
try simply deleting /etc/localtime

Posted by WebHostingNeeds, 06-26-2008, 06:35 AM
Thanks, done that. So if no /etc/localtime, time will default to UTC ?

Posted by zuborg, 06-26-2008, 06:41 AM
http://en.wikipedia.org/wiki/Coordinated_Universal_Time UTC is same as GMT.

Posted by jtonsupport, 06-26-2008, 07:13 AM
Check the value in /etc/sysconfig/clock file. If there is other timezone set then change it to appropriate value. Also you can change the default timezone using setup command from shell (as root).

Posted by WebHostingNeeds, 06-26-2008, 09:25 AM
Thanks all for reply. The setup on my server have only 3 options On my local linux installation, i found option to set time zone. Do i need to install some packages before having the option enabled ?

Posted by david510, 06-26-2008, 09:34 AM
Try the following. rdate -s rdate.darkorb.net& mv /etc/localtime /etc/localtime.bak ln -sf /usr/share/zoneinfo/GMT /etc/localtime



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
jailshell problem (Views: 725)


Language: