If I correctly understood your problem description, you have generated the January and February reports for 2009 and they are okay, but then you could not generate the static reports of any month of 2008.
The AWStats database files must be generated in chronological order. So you need to generate January before February before March and so on, and of course you need to generate the stats for 2008 before you generate the stats for 2009. If the chronological order was not respected, move the existing AWStats database files from the DirData directory to another temporary directory while you update the stats for the missing months.
Please paste here both the exact commands you used to run the updates and the messages that appeared on your screen when running the update. I mean this kind of messages:
Phase 1 : First bypass old records, searching new record… Direct access to last remembered is out of file. So searching new records from beginning of log file…
Jumped lines in file: **** Parsed lines in file: **** Found **** dropped records, Found **** corrupted records, Found **** old records, Found **** new qualified records.
Create/Update database for config "./awstats.easd.conf" by AWStats version 6.9 (build 1.925) From data in log file "/Users/arthur/awstatseasd/easd.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: 16194635 Found 0 dropped records, Found 0 corrupted records, Found 0 old records, Found 16194635 new qualified records.
The -year=2008 option in your command is useless. AWStats runs the update from the data it founds in the log file (/Users/arthur/awstatseasd/easd.log ). If this file contains records of last year, AWStats data files for some months of last year will be generated. If there are no records of last year in the log file, AWStats will not be able to generate the last year data files even if you specify -year=2008 .
If you have a log file of last year somewhere else, you can use this command to create the last year database files:
I don't have any changes in my resulting html files.
MacPro:cgi-bin arthur$ perl awstats.pl -config=easd -update Create/Update database for config "./awstats.easd.conf" by AWStats version 6.9 (build 1.925) From data in log file "/Users/arthur/awstatseasd/easd2008.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: 13191659 Found 0 dropped records, Found 0 corrupted records, Found 0 old records, Found 13191659 new qualified records
I filtered all 2008 records to easd2008.log. Resulting in a 5 Gig logfile.
This command creates AWStats database files in the DirData directory. It does not create the HTML report files. From there, to create the HTML report files, you have to use awstats_buildstaticpages as described in the documentation about AWStats utilities.