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

I have a WHM/cPanel server shared server...

Posted by MightWeb-Greg, 04-21-2009, 06:45 PMI just had user KILL the server using 80% CPU and...

Have they put HW or Software RAID ??

Posted by madrilian, 04-22-2009, 02:05 AMI have recently ordered a new server and I asked for two...

need help with SEO

Posted by dennis1, 09-10-2008, 08:48 AMthis is a site I'm playing with hxxp://w...

your favorite programming language?

Posted by bilalamjad3, 02-20-2010, 02:04 AMtell me. your favorite language. Posted by...

Redrect - make it impossible to trace source

Posted by ntesla123, 02-10-2011, 08:51 PMHow do I make a redirect that would redirect someone to...