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.

awstats not working for a year

Discussion in 'General Discussion' started by Markwaugh, Aug 22, 2003.

  1. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    Hello guys !

    my awstats not updated for a year. I tried this

    cd /home/username/tmp/awstats
    locate awstats.pl
    cp /usr/local/cpanel/base/awstats.pl .
    chown usrname:usrname awstats.pl
    perl awstats.pl - config=domain - update

    I get an error at the last step. the error is :
    Warning: Can't read file "browsers.pm" (browsers detection will not work correctly).
    Check if file is in "lib" directory and is readable.
    Warning: Can't read file "domains.pm" (domains detection will not work correctly).
    Check if file is in "lib" directory and is readable.
    Warning: Can't read file "operating_systems.pm" (operating systems detection will not work correctly).
    Check if file is in "lib" directory and is readable.
    Warning: Can't read file "robots.pm" (robots detection will not work correctly).
    Check if file is in "lib" directory and is readable.
    Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly).
    Check if file is in "lib" directory and is readable.
    Warning: Can't read file "worms.pm" (worms detection will not work correctly).
    Check if file is in "lib" directory and is readable.
    Update for config "awstats.domain.com.conf"
    With data in log file "/usr/local/apache/domlogs/domain.com"...
    Warning: HostAliases parameter is not defined, awstats choose "domain.com localhost 127.0.0.1".
    Phase 1 : First bypass old records, searching new record...
    Searching new records from beginning of log file...
    Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
    Error: History file "/home/lepage/tmp/awstats/awstats092002.domain
    .com.txt" is corrupted (in section SIDER). Last line read is number 152.
    Correct the line, restore a recent backup of this file, or remove it (data for this month will be lost).


    any ideas ? any help would be highly appreciated !

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear Markwaugh,

    This means your AWStats reference database files (operating systems, browsers, robots...) are not correct. First try to update to last version. They should be in \'lib\' directory (\'db\' with 4.0) where awstats.pl is installed:
    browsers.pm
    operating_systems.pm
    robots.pm
    domains.pm
    search_engines.pm
    worms.pm
    Please try to correct the file\"/home/lepage/tmp/awstats/awstats092002.domain
    .com.txt\" otherwise you will loose your datas.

    Regards

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page