The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dst 2007

Discussion in 'General Discussion' started by bigdessert, Jan 31, 2007.

  1. bigdessert

    bigdessert Active Member

    Joined:
    Jul 21, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    I heard about the new Daylight Savings Time going into effect this year. Is there an update for whm/cpanel that will update to the new DST dates? Also does a patch need to be applied to the OS to reflect the new DST dates? I am worried that when the day comes all of our email will be off because the server time is off...
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You will just need to download a patch for your operating system (if you haven't already done so already) that will account for the new daylight savings time start and end dates.
     
  3. bigdessert

    bigdessert Active Member

    Joined:
    Jul 21, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    anyone know if there is a patch for centos??
     
  4. libin

    libin Member

    Joined:
    Jul 4, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    same here

    Hi,

    I'm also facing the same issue. Please let me know the fix for this DST lag issue for linux OS..
     
  5. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
  6. abrender

    abrender Active Member

    Joined:
    Dec 5, 2002
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Does anyone know if a reboot is required after updating the time zones?
     
  7. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    How about freebsd and Fedora?
     
  8. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    should be more or less the same.

    when you run the following, does it give you the correct dates?

    /usr/sbin/zdump -v /etc/localtime | grep 2007

    It should show you Mar 11 and Nov 4th of 2007 for the changes
     
  9. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    you shouldn't have to.
     
  10. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Also, please note that it seems to be in the most recent yum updates, so your system may already be updated. Check it by running the command above (2 posts up)
     
  11. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Thanks most are, got some work left to do though.

    Joey
     
  12. matthewdavis

    matthewdavis Well-Known Member

    Joined:
    Jun 26, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC, USA
    For those running Red Hat (or CentOS this applies).

    http://www.redhat.com/support/resources/faqs/dst/

    In short, so long as your running at least tzdata-2005m-1, your safe.

    Also do the command mentioned by ujr to verify that the current /etc/localtime has been updated from the updated tzdata files. If it hasn't, run /usr/sbin/tzdata-update or do the suggested commands mentioned in the above URL.
     
  13. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    It amazes me why some hosting company's run their servers on local time. Unless all your clients live in your local town, it surely makes sense to run on UTC/GMT ( which never changes )
     
  14. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    agreed kernow, but nevertheless, the tzdata needs to be updated for the system to calculate the proper times in all timezones, if you rely on system time.
     
  15. generazn.com

    generazn.com Member

    Joined:
    Oct 26, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    If it displays the following, is this the correct TZ?

    root@destiny [~]# /usr/sbin/zdump -v /etc/localtime | grep 2007
    /etc/localtime Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000
    /etc/localtime Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400
    /etc/localtime Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400
    /etc/localtime Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000
     
  16. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Yes, The timezone can be whatever you need, but it DOES show the correct, and up-to-date dates for EST/EDT
     
  17. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Everyone should be checking their machines as the DST changes arrives. Its past the time here in New York and not all machines rolled over cleanly.

    We found some machines were showing the correct time when doing a "date" command but when programs output messages it was showing 2am EST times.

    Also after booting a couple boxes we found times showing 1am times even though the above was true prior to a boot.
     
  18. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    We just finished reviewing all servers this morning here and all looks good ....

    Every server updated to DST without any problems

    We standardize on Fedora Core and most running FC4 or FC5 and didn't
    have any problems with the DST changeover on any of them which is
    very good news.
     
  19. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,466
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  20. kdarray

    kdarray Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Washington
    Fedora Legacy

    My FC4 boxes were all fine but there was a problem with the one FC2 box I have. I finally did find a solution and am posting here for those that may need it.

    Get this file from: (elsie.nci.nih.gov/pub/tz*.tar.gz) http://www.twinsun.com/tz/tz-link.htm or via shell:

    mkdir tz
    cd tz
    wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
    gzip -dc tzcode*.tar.gz | tar -xf -
    gzip -dc tzdata*.tar.gz | tar -xf -

    Check the readme and makefile files. I used this:

    make TOPDIR=/usr/share/zoneinfo install
    /usr/share/zoneinfo/etc/zdump -v America/Los_Angeles

    And everything worked! I had tried over the weekend to install an RPM but it never worked properly and returned the old DST dates for 2007. I checked my setup after installation:

    zdump -v /usr/share/zoneinfo/America/Los_Angeles | grep 2007
     

Share This Page