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.

Stats Stopped Working

Discussion in 'General Discussion' started by VH-Robert, Sep 28, 2003.

  1. VH-Robert

    VH-Robert Member

    Joined:
    Mar 31, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    S. Florida
    Hello,

    Apparently our server has upgraded itself to Cpanel 8 Release (GRRR) and now the stats have stopped working. Anyone know how to get the statistics to work again? Thanks!

    cPanel.net Support Ticket Number:

    I'm also running FreeBSD 4.7-Release.
     
  2. SiteShack

    SiteShack Member

    Joined:
    Aug 22, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Ok here is the problem.

    We had the same issue after looking at our various servers and domains this stopped working on it seems it reaches the log limit of 2147483647

    My suggestion and fix is to:

    cd /etc/httpd/domlogs

    now what we did was we wanted to save the domains log file so we gzip'd it up (replace {filename} to the correct name of the log file)

    gzip -9 {filename}

    Then we need to recreate the log file and set permissions:

    touch {filename}

    chmod 644 {filename}

    chown root.{username} {filename}

    (replace {username} to that of the correct cpanel account)

    Now restart the webserver:

    service httpd restart

    To verify everything works do this:

    tail -f {filename}

    Now access the domain's website, you should see it resume logging.

    As far as the day your stats ended till now is lost.
     
Loading...

Share This Page