Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How do I trace a problem by hour and minute?

Discussion in 'General Discussion' started by EcpHosting, Feb 26, 2003.

  1. EcpHosting

    EcpHosting Well-Known Member

    Joined:
    Dec 16, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    156
    I have noticed Apache failing almost evey 50min at certain times of the day. We then, of course, get an email telling us it failed and was restarted... but it takes 4-5 minutes for it to come back up.

    My question: how do i trace what caused this fail? How can I? I can trace CURRENT processes, but is there a log that shows hour and time logs of events?

    I would be grateful. :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. hostcp3

    hostcp3 Well-Known Member

    Joined:
    Jun 18, 2002
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    166
    If you login SSH

    at root type

    cd /var/log

    tail messages


    will tell you the last events on the server

    or you can copy and compress the file messages/ and download it for your perusal .


    or for error logs

    at root type

    cd /usr/local/apache/logs

    tail error_log


    just check your logs are in those locations, we moved ours around so not sure exactly where yours maybe.

    Hope it helps a little.
     
  3. Donna

    Donna BANNED

    Joined:
    Feb 15, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Toronto, Canada
    Been there done that and had to recompile apache to fix it :/

    In my case it was an SSL problem. Might ask your datacenter to look into it for you as well.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice