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.

Server time

Discussion in 'General Discussion' started by JohnodACD, Dec 3, 2005.

  1. JohnodACD

    JohnodACD Active Member

    Joined:
    Oct 21, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I am useing WHM 10.8.0 cPanel 10.8.1-C18 Fedora i686 - WHM X v3.1.0. i am trying to set the server to the time for Syndey Australia. When i chose that setting it comes up with GMT-8 but we are GMT +11. if i choose to use GMT+11 it is coming up as being a day behind 8 hours behind.

    Any ideas?

    The big thing that i have teh issue with is even when i set the crons to run at say 4pm they run at 7 pm and i get teh e-mail confirmation that they run then.

    Please help if anyone knows a fix.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Not 100% sure your problem is. If you set the timezone in WHM, does the date command at the shell prompt show the correct time? If so, then all you probably need to do is to restart crond as that doesn't cope too well with timezone changes:

    /etc/init.d/crond restart
     
  3. JohnodACD

    JohnodACD Active Member

    Joined:
    Oct 21, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I have ran the date comand and it shows the correct time. but in whm it is showing as being gmt-8 when it should be gmt+11.

    If i set it to gmt+11 it is coming up about 8 hours early.
     
  4. JohnodACD

    JohnodACD Active Member

    Joined:
    Oct 21, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    when the servers sends e-mail in the headers it has gmt-8 as the time and it is timestamping the mail as gmt-8 rather then the actual time the mail is coming in or sent.

    I can really uses some help here
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It could be that your hardware clock is out of whack.

    If date gives you the correct time but hwclock does not, you could try:

    hwclock --systohc

    This syncs the hardware clock with the software clock. You should then restart crond, exim and syslog.
     
Loading...

Share This Page