If you are getting “There are no domains which have awstats stats to display” while checking the Awstats from your cPanel >> logs >> Awstats. Please check the below steps to resolve this.
Check whether the permission and symlink of below files are correct
[[email protected] ~]# ls -lah /usr/local/cpanel/3rdparty/bin/awstats.pl —— This should have 755permissions
[[email protected] ~]# ls -lah /usr/local/cpanel/base/awstats.pl ——————- Should be have a symlink to /usr/local/cpanel/3rdparty/bin/awstats.pl
If the permission is incorrect, correct the permission and restart the cPanel service.
[[email protected] ~]#/etc/rc.d/init.d/cpanel restart
After this, run the following command,
[[email protected] ~]# /scripts/runweblogs <username> ——- cpanel username
Restart the cpanel services once again.
[[email protected] ~]# /etc/init.d/cpanel restart
Now You are good to go. check it again and it will be working fine showing the domain name
Welcoming any comments ….