Hi all,
2 months ago I’ve migrated my server from an Ubuntu 10.4 VPS machine to a CentOs 6.3, using the migration tool.
After that, I never checked the awstats report… but now I have to do it and when I try, I receive this error message:
Error: Could not open include file: /etc/awstats/awstats.conf.local
Setup (’/etc/awstats/awstats.reterr.it.conf’ file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in ‘docs’ directory).
I cheched the content of the /etc/awstats directory, but the file awstats.conf.local not exists…
Hi,
luckily now it works… I don’t know why, but it works.
I can read all awstats reports… but I notice a problem; I don’t have statistics for all the days… looks like some days the system is not working, attached you can find an example.
I have 2 questions:
Do you have any idea about this problem and how I can fix it?
I’m not sure why that’s occurring, but you could try re-running the awstats commands that are in root’s crontab file… that will tell it to go collect all available statistics.
I did what was stated above I did a touch /etc/awstats/awstats.conf.local and refreshed the page and it worked yes I had a few days of stats missing however … for me it’s better than missing a month. I did run the command and still did get the 3 or four days I am missing but like i said no big deal. Tonight I will do a more thorough job of investigating and running those commands.