Awstats not working in Cpanel
If you are getting “There are no domains which have awstats stats to display” while checking the Awstats from your cPanel >> logs >> Awstats. You can refer the following steps to resolve this issue
Please check the following files :
/usr/local/cpanel/3rdparty/bin/awstats.pl
/usr/local/cpanel/base/awstats.pl
The first file, /usr/local/cpanel/3rdparty/bin/awstats.pl, should be 755 file permissions. The second file, /usr/local/cpanel/base/awstats.pl, should be a symlink to /usr/local/cpanel/3rdparty/bin/awstats.pl
If the permissions are correct we have to run the following script to solve this issue
/scripts/runweblogs cPanel_username