LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-02-2011, 02:11 AM   #1
abohmeed
LQ Newbie
 
Registered: Mar 2011
Posts: 21

Rep: Reputation: 3
Disable Daylight Saving


Hi all
I live in Egypt and we used to have Daylight Saving Time in this time of the year. But due to some political conditions, this desicision was revoked and we are not using DST this year. The problem is that my Redhat 5.6 machines, configured to the timezon Africa/Cairo has already set the DST (UTC+3). The current time in Egypt is UTC+2. Of course i can manually set the time but the servers are set to sync automatically with an NTP time server so that time gets synced automatically whenever i try to change it.
I want a way or another to disable DST switching.
Thanks a lot
 
Old 05-02-2011, 03:14 AM   #2
abohmeed
LQ Newbie
 
Registered: Mar 2011
Posts: 21

Original Poster
Rep: Reputation: 3
Ok i figured out the solution. It was simply to change the default time zone to another that uses UTC+2 and does not apply DST. The selected time zone was Africa/Harare and the command to change to it is

Code:
ln -sf /usr/share/zoneinfo/Africa/Harare /etc/localtime
Thanks
 
Old 05-02-2011, 06:11 PM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
Thanks that worked, this will be a temporary fix until the timezone file is updated

Update: Its fixed now in the latest tzdata package (2011g-1)

Last edited by heema; 05-03-2011 at 12:45 PM.
 
Old 06-07-2011, 03:45 AM   #4
Hisham.elsayed
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
hi
I am from Egypt also and i 'll tray this

Last edited by Hisham.elsayed; 06-07-2011 at 04:57 AM.
 
Old 06-09-2011, 08:54 AM   #5
Hisham.elsayed
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
hi

Quote:
Originally Posted by heema View Post
Thanks that worked, this will be a temporary fix until the timezone file is updated

Update: Its fixed now in the latest tzdata package (2011g-1)

would you please share the link for this package to download it for Red Hat Enterprise Linux 5.4

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Daylight Saving on RHEL5. vhiware Linux - Server 3 03-14-2010 04:15 PM
Timzone and daylight saving time jegra Linux - General 2 11-14-2007 05:02 AM
daylight saving chlawren Linux - General 2 03-27-2007 03:07 AM
new Daylight Saving Time dates dux0r Linux - Software 5 12-28-2006 02:11 PM
DO NOT use Daylight Saving Time - how? EcceVery Debian 4 05-28-2005 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration