awstats error

Discussion in 'Software Hosting dan Control Panel' started by GriyaHosting, 31 Mar 2011.

Thread Status:
Not open for further replies.
  1. GriyaHosting

    GriyaHosting Expert 1.0

    Messages:
    966
    Likes Received:
    76
    Trophy Points:
    28
    Dear,
    Apakah ada teman2 yang pernah mengalami awstats error tiba2 tidak dapat mencatat stats user ?
    Saya cek di tweak setting WHM aktif, tetapi saya mendapatkan error log sebagai berikut :


    AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
    Your log file /usr/local/apache/domlogs/xxx.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):
    combined


    Setup ('/home/xxx/tmp/awstats/awstats.xxx.com.conf' file, web server or permissions) may be wrong.
    Check config file, permissions and AWStats documentation (in 'docs' directory).


    Mohon solusinya teman2 :)

    Salam,
     
  2. izhoeld

    izhoeld Beginner 2.0

    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
  3. GriyaHosting

    GriyaHosting Expert 1.0

    Messages:
    966
    Likes Received:
    76
    Trophy Points:
    28
    hehe link tersebut sudah saya coba kemarin mas, tapi tetap saja ga bisa :D
     
  4. izhoeld

    izhoeld Beginner 2.0

    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    oh udin di coba .. :D
    ya maklum boss .. saya cuma modal mbah gogel
    btw .. udah nemu boss cara benerin nya ?
    share dunk
     
  5. indonix

    indonix Poster 2.0

    Messages:
    193
    Likes Received:
    2
    Trophy Points:
    18
    Gampang bos di httpd.conf nya cari variable tulisan CustomLog logs/acess_log combined

    nah yang common di ganti jadi combined!
     
  6. GriyaHosting

    GriyaHosting Expert 1.0

    Messages:
    966
    Likes Received:
    76
    Trophy Points:
    28
    Kami test dulu mas ,,,
     
  7. GriyaHosting

    GriyaHosting Expert 1.0

    Messages:
    966
    Likes Received:
    76
    Trophy Points:
    28
    Not FIX -----
     
  8. GriyaHosting

    GriyaHosting Expert 1.0

    Messages:
    966
    Likes Received:
    76
    Trophy Points:
    28
    FIX :

    Conf lama :
    vi /usr/local/apache/conf/httpd.conf

    dari :
    <IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    CustomLog logs/access_log combined


    <IfModule logio_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

    </IfModule>

    </IfModule>

    saya ganti tambahkan dan ganti menjadi :
    #<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent


    CustomLog logs/access_log combined

    <IfModule logio_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

    </IfModule>

    #</IfModule>

    restart Apache -
    /etc/init.d/httpd restart

    Update Conf -
    /usr/local/cpanel/bin/apache_conf_distiller --update


    FIX ... Thanks For All

    Salam,
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...