awstats-Never updated

Discussion in 'Installation/Configuration' started by Subrat Kumar, Mar 10, 2016.

?

I have configured the awstats properly on linux. able to browse the UI but no updates. Never updated

  1. Not configured properly

    0 vote(s)
    0.0%
  2. Permission Issue

    0 vote(s)
    0.0%
  1. Subrat Kumar

    Subrat Kumar New Member

    Hello,
    I have installed awstats version 7.1 (build 1.983). I am able to get the awstats UI but no updates in the summary sesction.
    I have executed the the below commands with the below output
    [root@ip-X-X-X-X www]# /var/www/awstats/awstats.pl -config=qa.awstats.tcshowcase.com -update
    Create/Update database for config "/etc/awstats/awstats.qa.awstats.tcshowcase.com.conf" by AWStats version 7.1 (build 1.983)
    From data in log file "/var/log/httpd/access_log"...
    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)...
    Jumped lines in file: 0
    Parsed lines in file: 4647
    Found 4647 dropped records,
    Found 0 comments,
    Found 0 blank records,
    Found 0 corrupted records,
    Found 0 old records,
    Found 0 new qualified records.

    [root@ip-X-X-X-X awstats]# /var/www/awstats/awstats.pl -config=qa.awstats.tcshowcase.com -update
    Create/Update database for config "/etc/awstats/awstats.qa.awstats.tcshowcase.com.conf" by AWStats version 7.1 (build 1.983)
    From data in log file "/var/log/httpd/access_log"...
    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)...
    Jumped lines in file: 0
    Parsed lines in file: 6058
    Found 6058 dropped records,
    Found 0 comments,
    Found 0 blank records,
    Found 0 corrupted records,
    Found 0 old records,
    Found 0 new qualified records.

    Can any one help me to resolve this issue.
    Thank you.
     
  2. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    You shouldn't need to do that, usually it works just fine.
    - Is your cron daemon running ( found to fail in some systems at rare conditions )
    - Are your awstats settings correct in ISPConfig > System > Server configurations > Web @ awstats
    - Do you see any issues in /var/log/ispconfig/cron.log ? Maybe set ISPConfig to Debug level in ISPConfig > System > Server configurations > Server @ Loglevel
    - Run your dail cronjob from terminal ( /usr/local/ispconfig/server/cron_daily.sh ) any issues here?
     

Share This Page