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.

Statistics freezed (domlogs not full)

Discussion in 'General Discussion' started by al0000, Jan 22, 2006.

  1. al0000

    al0000 Active Member

    Joined:
    Oct 12, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    AWStats stoped working 5 days ago. Domlogs are not full. I tried emptying them, but that didn't help.

    When i run scripts/runweblogs, it runs but the logs for that domain do not get updated.

    Any ideas?

    Thanks,

    Al.
     
  2. al0000

    al0000 Active Member

    Joined:
    Oct 12, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
  3. electron33

    electron33 Well-Known Member

    Joined:
    Feb 24, 2004
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    16
    Try to restart syslogd

    HTML:
    /etc/rc.d/init.d/syslog restart
     
  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
    When you run runweblogs check in /usr/local/cpanel/logs/stats_log for errors.
     
  5. al0000

    al0000 Active Member

    Joined:
    Oct 12, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    The only error i found is:


    Your log file /usr/local/apache/domlogs/******.com must have a bad format or LogFormat parameter setup does not match this format.
    Your AWStats LogFormat parameter is:
    1
    This means each line in your web server log file need to have "combined log format" like this:
    111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
    And this is an example of records AWStats found in your log file (the record number 50 in your log):
    1136064385 196 .
    Setup ('/home/******/tmp/awstats/awstats.******.com.conf' file, web server or permissions) may be wrong.
    Check config file, permissions and AWStats documentation (in 'docs' directory).
    Waiting for load to go down to continue
    Child [14884]: exited with signal 0
    Update for config "/home/******/tmp/awstats/awstats.****.******.com.conf"
    With data in log file "/usr/local/apache/domlogs/**.******com"...
    Phase 1 : First bypass old records, searching new record...
    Direct access after last parsed record (after line 399)
    Jumped lines in file: 399
    Found 399 already parsed records.
    Parsed lines in file: 6
    Found 0 dropped records,
    Found 0 corrupted records,
    Found 0 old records,
    Found 6 new qualified records.
    Child [14887]: exited with signal 0
     
Loading...

Share This Page