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?

 Print this Article

Also Read

Would this be Secure?

Posted by aldo, 01-09-2008, 03:19 AMI currently only use cookies for my user systems, I see...

Whats the best for

Posted by zefefre, 01-14-2008, 12:40 AMsorry double thread . mod please delete this one....

How do I stop /tmp directory hacks?

Posted by tnedator, 06-19-2008, 04:03 PMI'm on a Cpanel/WHM (latest release version) VPS with...

horde webmail issue

Posted by madpato, 06-26-2008, 02:47 PMHi, me again U.u I have a problem with horde webmail I...

suhosin and vbulletin

Posted by jon-f, 07-14-2007, 04:40 AMI have the max vars and all that set right to conform to...