i installed awstats on a windows system with apache.
i configured it and run a update of the stats.
then i create a static html file, but there are no data.
everything is "0".
i used the following command to create the static html file:
perl awstats.pl -config=mysite -output -staticlinks > awstats.mysite.html
Somebody an idea, how it doesn´t work?
Thanks a lot.
Oh no possibility to edit posts?
i allready searched in this forum and found this one:
No data in static HTML pages
but it didn´t help me.
Do you see data in the AWStats data files? The AWStats data files are the
files named awstats022012.YOUR_DOMAIN.txt, awstats012012.YOUR_DOMAIN.txt,
awstats122011.YOUR_DOMAIN.txt,... in the DirData directory specified in the
AWStats config file.
Jean-Luc, InternetOfficer (AWStats
Yes, there are data in the awstats data files.
It is likely that you tried to generate a February report before there were
data for February.
Assuming that you have data in awstats012012.YOUR_DOMAIN.txt, you can generate
the January report with:
perl awstats.pl -config=mysite -output -month=01 -year=2012 -staticlinks > awstats.mysite.html
When you don't specify the year and month parameters, a report is generated
for the current month.
there are data for January and February, but it still doesn´t work.
full-mann, what version of Perl do you have?
If you have Perl version 5.14.2 you should downgrade to 5.12.4 until AWStats
fixes the current problem with the latest version of Perl.
I use the version 5.12.3.
Is this okay, or should i change it to 5.12.4?
If you have Perl version 5.12.3 then I think my solution is not going to help
However, I would not see any harm in you upgrading to ActivePerl 5.12.4 (which
is what I use on Windows now), but make sure you don't get the latest
ActivePerl version 5.14.2
If I was you I would delete all the files that were generated by awstats like
the dnscachelastupdate..hash and awstats012012.txt, awstats022012*.txt etc
and follow Jean-Luc's advise.
Okay. I don´t make a update of perl.
but what did you mean with Jean-Luc´s advice?
i have data and when i create a static file all values are "0".
this is what happens when i make this file only for a month, too.
Maybe post a link to your log file and conf file you are using and me or
someone may look at it.
Are you sure you have edited your conf file?
Are you actually replacing "mysite" in the commands above with "the name of
Maybe post a few lines of your log file.
i replaced mysite and edited the config file.
Now i get data in my static file.
I made a new apache-log file and recreate the awstats data files.
Is it possible, that there are to much data?
The old apache-log was over 7GB.
The new one is only 40KB.
Could this be the issue?
i replaced mysite and edited the config file before i started this discussion.
not after your post.
the only change, since your post, was the apache-log file as described above.
I think having an apache log file over 7GB could cause a lot of issues.
Is this 7GB of data just for 1 month or is it a few years of data?
Maybe someone else can let you know if there is a size limitation, otherwise
I would suggest manually editing the apache log file and breaking them up into
smaller, monthly, weekly or daily logs.
This Apache-Log grew up since years.
I will test it with the new one.
Does anybody knows a limitation of the Apache-Log Size / Stats-Data for
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.