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.

Time server and time emails

Discussion in 'E-mail Discussions' started by latpanel, Nov 9, 2004.

  1. latpanel

    latpanel Well-Known Member

    Joined:
    Jan 23, 2004
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    I set time server in WHM, and it shows my local time
    When I run date command I see my local time.
    All look to be OK, but when WHM send an email telling about an event, the time at what this event ocurs is several hours before the local time
    For instance:
    Now the time is 21:00
    I shutdown postgres, and WHM send me an email telling

    postgresql failed @ Fri Nov 5 13:00:00 2004. A restart was attempted automagicly

    Why? This event has ocurred at 21:00 !!! There is an undesirable time offset!!!

    How can I fix this time problem!?

    Thanks
     
  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
    This can happen if you've had a time shift or changed your clock recently and CRON wasn't restarted. You could try restarting CRON and see if that cures it:

    /etc/init.d/crond restart
     
Loading...

Share This Page