Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Awstats - missing days
October 15, 2008, 3:36 pm
rate this thread
Just wondering if anyone can help us with a problem we are having with
awstats 6.8 running on win 2003 server. We host numerous sites on our
servers and we run awstats every night so that our clients can see hw
their sites are doing. We have a windows scheduled job that runs
every night. We have a custom application we developed to update the
log file path to the previous days log file. The process is quite
simple really, we run awstats.pl and then buildstaticpages.
The problem we are experiencing is that, for example, all of the
september stat will run fine. October stats will start running fine
and then at some seemingly random day the stats will start getting
blank days on the stats.
For example we may have three blank days at the begining of the month
and other days we may have 13 days blank.
All of the log files are there and we have managed to find a
workaround but it takes a lot of work. We manually rebuild the stats
using awstats.pl and we remove the faulty month's .txt files and THE
PREVIOUS MONTH. When we remove the previous month and reprocess them
using awstats.pl and build static pages they appear fine with all the
days. We are then able to drop the previous months files into the
folder and run the build static pages and all the stats are fine.
Has anyone else experienced anything similar and does anyone have any
suggestions to resolve the issue as it is driving me crazy!
Thanks in advance
Re: Awstats - missing days
I might be misunderstanding the way you're running it, but that seems to
be the issue. Was it a disk space quota issue if you have to remove
the previous month's first and run it manually? Otherwise, it sounds
like when you rotate the logs, that there's something out of sync.
However, I might not have read your issue properly.
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
Re: Awstats - missing days
No we have plenty of space on the server and we are not running with
disk quotas. We have to move the .txt files for each month out of the
awstats folder as every so often they seem to cause problems.
For example the stats for october would go missing (showing 0 for the
first three days) and then show the correct stats for the rest of the
month. When we tried to reprocess them using awstats.pl and build
static pages the only way we could get the missing days back was to
move the previous months (sept) text file out of the awstats folder
(then drop it back in for the build static pages).
Hope this helps clarifiy it a bit.