Find the answer to your Linux question:
Results 1 to 2 of 2
Our awstats updates fine either through the web interface, command line, and cron script. We update awstats hourly using a cron script, it updates the awstats of about 200 websites ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    9

    Exclamation Awstats Error


    Our awstats updates fine either through the web interface, command line, and cron script.

    We update awstats hourly using a cron script, it updates the awstats of about 200 websites hourly.

    But on ONE of our websites Awstats failed to produce logs on two consecutive days (April 27, 2007 - April 28, 2007) but on the succeeding days awstats produces a log, AND on the same day the awstats was able to produce logs on all of the the other websites with no errors.

    It only happened to that certain website, though the site never experienced downtime and when we checked the apache logs their were hits on that site, AND on the succeeding days awstats was able to produce logs on that website.

    Can any one kindly give me tips in resolving this error?

    Thanks.

    For Additional Info -
    - We are using the latest awstats 6.6
    - We know there are no errors in the Awstats Configuration of every site because everyday for 4 years, all of the 200 websites that are set in the cron for awstats hourly update, are being updated fine with no errors.
    (THE ERRORS ONLY HAPPENED ON ONE OF THE WEBSITE AND ONLY ON APRIL 27-28 2007)

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    9

    Exclamation

    I manual run awstats with -debug=10 and here is what i got -
    (This is not the complete output this is just the ending part)


    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section filetypes=9074 in file at offset 768
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section os=9378 in file at offset 796
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section browser=9703 in file at offset 829
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section screensize=11044 in file at offset 865
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section unknownreferer=11118 in file at offset 905
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section unknownrefererbrowser=17472 in file at offset 952
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section origin=20573 in file at offset 984
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section sereferrals=20739 in file at offset 1021
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section pagerefs=21473 in file at offset 1055
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section searchwords=1894937 in file at offset 1092
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section keywords=2073223 in file at offset 1126
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section misc=2212 in file at offset 1156
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section errors=2112600 in file at offset 1188
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section cluster=5993 in file at offset 1221
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update offset of section sider_404=2112774 in file at offset 1256
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update MonthVisits=23695 in file at offset 2032
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update MonthUnique=16790 in file at offset 2065
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update MonthHostsKnown=0 in file at offset 2102
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Update MonthHostsUnknown=22269 in file at offset 2141
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Call to Init_HashArray
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Close log file "/var/log/httpd/nationalvisas.com.au_access_log"
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Call to Rename_All_Tmp_History (FileSuffix=.www.nationalvisas.com.au)
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Scan for temp history files to rename into DirData='.' with mask='\d\d\d\d\d\d'
    Mon Apr 30 20:35:28 2007 - DEBUG 1 - Rename new tmp history file awstats042007.www.nationalvisas.com.au.tmp.31541 into awstats042007.www.nationalvisas.com.au.txt
    Jumped lines in file: 75856
    Found 75856 already parsed records.
    Parsed lines in file: 106
    Found 0 dropped records,
    Found 0 corrupted records,
    Found 0 old records,
    Found 106 new qualified records.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •