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.

apache log intermittently stop logging

Discussion in 'EasyApache' started by jay711, Nov 9, 2006.

  1. jay711

    jay711 Member

    Joined:
    May 2, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I got new server that comes with Apache, WHM, cPanel, RHE4. Apparently the apahce access_log sometimes log records and sometimes stop, when it stops it won't log until restart the apache again. what could be the problem? I also notice that the problem start to occur when the log is larger than 1GB. In the past I know of the problem when the log is more than 2GB, but not 1GB like this case. any idea please help?

    Here are the software versions of my server.
    - WHM 10.8.0
    - cPanel 10.9.0-S45
    - RedHat Enterprise 4 i686 - WHM X v3.1.0
    - Apache 1.3.36

    Thank you.
     
  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
    Ideally the apache access_log should be all but empty and not being logged to. You want the VirtualHosts loggin in the domlogs directory, though.
     
  3. jay711

    jay711 Member

    Joined:
    May 2, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    yes, i mean the access log file in the domlogs directory.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Odd. Does the disk containing the /usr partition have plenty of space and have you checked that none of the domlogs/ files or logs/ files are near or over 2GB?
     
  5. syshackmin

    syshackmin Member

    Joined:
    Jan 20, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I'm having this problem also. I have a logfile that has exceeded 1 gig. Every night when awstats runs apache stops writing to it. Restarting apache fixes the problem and then it returns when awstats runs. If I shrink the logfile the problem goes away. All other logs are normal.


    WHM 10.8.0 cPanel 10.9.0-R118
    CentOS 4.4 x86_64 - WHM X v3.1.0
    Apache 1.3.36
     
Loading...

Share This Page