This is an old revision of the document!
sudo apt-get install awstats
Copy this in “/etc/logrotate.d/awstats
/var/log/apache2/*_log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 644 root root
sharedscripts
prerotate
/usr/local/awstats/tools/awstats_updateall.pl now > /dev/null
endscript
postrotate
/etc/init.d/apache2 reload > /dev/null
endscript
}
The list of refs and OS info is empty because of a wrong perl version. Error occurs with perlversion above 5.10.0 Check your version with:
perl -v
Perl changed some things which mess up the awstats perl file
Controlpanel → useraccounts → useraccounts → useraccountcontrol on or off
Remove the check and ok
Windows will notice that you turned the controls off and you get notifications because you have deactivate it… thanks Windows…
You can deactivate the notifications in controlpanel → security → securitycenter. On the left side select “change the security notificationmethode” and select in the next window “no notifications and no symbol”.
Discussion