A few weeks ago I wanted to switch from webaliser to awstats. And so i ran:
When I wanted to view the stats of a domain i got the following content instead of the awstats statistics page:
For each user there is a folder called awstats with data in it for all the users domains and subdomains. So it looks like the tally is trying to calculate the stats.
So I did some more research on this topic and found out I could manualy update the stats by running:
Now the stats of one domain work, and it is not updated again during the night.
Can anyone point me into the right direction into solving this problem? Even a workaround would be an option to write a script that fetches all the users and their domains + subdomains to I can execute awstats_process.sh with that script. But off course it would be better if the nightly tally could be fixed.
Code:
cd /usr/local/directadmin/scripts
./awstats.sh
When I wanted to view the stats of a domain i got the following content instead of the awstats statistics page:
sh: /usr/local/awstats/wwwroot/cgi-bin/awstats.pl: Permission denied
For each user there is a folder called awstats with data in it for all the users domains and subdomains. So it looks like the tally is trying to calculate the stats.
So I did some more research on this topic and found out I could manualy update the stats by running:
Code:
cd /usr/local/directadmin/scripts
./awstats_process.sh admin mydomain.com
Now the stats of one domain work, and it is not updated again during the night.
Can anyone point me into the right direction into solving this problem? Even a workaround would be an option to write a script that fetches all the users and their domains + subdomains to I can execute awstats_process.sh with that script. But off course it would be better if the nightly tally could be fixed.