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

Hjalp dette svar dig?

 Print denne artikel

Læs også

APF & BFD or CSF & LSD

Posted by praveenkv1988, 04-19-2009, 09:43 AMWhich of the above is best? Posted by...

Cisco Switch Suggestions

Posted by CoreXchange, 09-15-2008, 05:44 PMCan anyone recommend a 24 port switch with following...

How to: secure yourself with (( cgitelnet.pl ))

Posted by X-x-X, 05-04-2007, 09:39 PMIt’s very important thing [URL removed] A hacker use...

problem when clicking a link

Posted by mohammadi, 11-20-2010, 02:56 AMHello, how can I use a link in a form to submit instead...

Configuring pureFTPd on a VPS

Posted by eta aquarii, 03-27-2008, 02:32 PMHi, I'm trying to install and configure pureFTPD on...