AWSTATS LogResolveMerge on Windows 2003
Posted on 2009-02-09
I've been round in circles with this and am ready to pull any hair I might have left OUT! :)
I'm running AWSTATS on a Windows 2003 server. All working wonderfully well except that I simply cannot work out how to merge all the old logfiles into one file and get AWSTATS to correctly parse the resultant file. The file looks good and is approximately the size of all the logfiles added up together but when I then run awstats.pl on the file the result is all empty on the report. HELP!?
The sysntax I'm using to merge the files:
d:\awstats\tools\logresolvemerge.pl -dnslookup d:\website\W3CXXXXX\ex08*.log > 2008logs.log
The scan doesn't take nearly as long as I'd expect it to take and the result is a text file called 2008logs.log which, on inspection, looks OK. I then run the update for the report on that file like this:
d:\awstats\cgi-bin\awstats.pl -config=conffilename -update
The result is several .txt files, all exactly the same size (odd!) 6kb.
If I then go back to my web browser and run the report for year 2008 it tells me there were x thousands of non-view hits and all the stats are empty.
BAFFLED! Hope someone can point me in the right direction.