We seem to have an issue with Awstats on our server but I can't find what it might be.
We have a number of sites / accounts on our server, some of which have always been there, while others have been migrated from another cpanel installation. With one of the sites that we migrated, the owner has reported that she's no longer able to view her website stats via Awstats, but she could previously.
When clicking on Awstats it shows the relevant domain and the option to view the stats, however when I click on View a new window appears but it is blank. If I check in /home/mysite/tmp/awstats/ I can see loads of log data. Within Choose Log Programs Awstats is selected, and in fact is currently the only one that is. I've run '/scripts/runweblogs mysite' with no errors but also no effect.
Interestingly if I try viewing the Awstats on one of my new websites on that server I get an error saying "There are no domains which have awstats stats to display", yet Webalizer and Analog both show data. If I run runweblogs on that site it again works, but I still don't see anything in Awstats.
In WHM I've confirmed that within 'Statistics Software Configuration' Awstats is available and active for all users. The 'Allow Awstats configuration Include file" option is checked. All users have permission to change their web stats software. Logs are processed every 24 hours. In 'Tweak Settings', 'Stats Programs' Awstats is enabled. In 'Stats and Logs' all the options are set to the default (as they are also on the old server the migrated sites came from).
I found a similar issue reported which requested some setup info which below :
Anyone know what the issue might be, or what else I can check?
We have a number of sites / accounts on our server, some of which have always been there, while others have been migrated from another cpanel installation. With one of the sites that we migrated, the owner has reported that she's no longer able to view her website stats via Awstats, but she could previously.
When clicking on Awstats it shows the relevant domain and the option to view the stats, however when I click on View a new window appears but it is blank. If I check in /home/mysite/tmp/awstats/ I can see loads of log data. Within Choose Log Programs Awstats is selected, and in fact is currently the only one that is. I've run '/scripts/runweblogs mysite' with no errors but also no effect.
Interestingly if I try viewing the Awstats on one of my new websites on that server I get an error saying "There are no domains which have awstats stats to display", yet Webalizer and Analog both show data. If I run runweblogs on that site it again works, but I still don't see anything in Awstats.
In WHM I've confirmed that within 'Statistics Software Configuration' Awstats is available and active for all users. The 'Allow Awstats configuration Include file" option is checked. All users have permission to change their web stats software. Logs are processed every 24 hours. In 'Tweak Settings', 'Stats Programs' Awstats is enabled. In 'Stats and Logs' all the options are set to the default (as they are also on the old server the migrated sites came from).
I found a similar issue reported which requested some setup info which below :
Code:
[email protected] [/home/mysite/tmp]# egrep -hi "skip(analog|awstats|webalizer)|stats" /var/cpanel/cpanel.config
stats_log=/usr/local/cpanel/logs/stats_log
keepstatslog=0
skipanalog=0
awstatsreversedns=0
skipawstats=0
statsloglevel=1
awstatsbrowserupdate=0
userstatsoverride=1
skipwebalizer=0
[email protected] [/home/mysite/tmp]# cat /etc/stats.conf
ALLOWALL=yes
DEFAULTGENS=ANALOG,AWSTATS,WEBALIZER
allow_awstats_include=1
[email protected] [/home/mysite/tmp]# grep -HiR "STATGENS" /var/cpanel/users
[email protected] [/home/mysite/tmp]# cat ~mysite/tmp/stats.conf
WEBALIZER-mysite.COM=no
ANALOG-mysite.COM=no
AWSTATS-mysite.COM=yes
WEBALIZER-anothersite1.CO.UK=no
ANALOG-anothersite1.CO.UK=no
AWSTATS-anothersite1.CO.UK=no
WEBALIZER-anothersite2.UK.COM=no
ANALOG-anothersite2.UK.COM=no
AWSTATS-anothersite2.UK.COM=no