Symptoms
-
Unable to open Web Statistics page for a domain:
404 Not Found
The requested URL /plesk-stat/webstat/current/index.html was not found on this server.
403 Forbidden You do not have permission to access this document.
This is the placeholder for Web statistics. If you see this page, that means that statistics for your server was not gathered yet, or bandwidth was not used. Statistics is typically set to run once every 24 hours. If you do not see a change to this page in the next 24 hours contact your server administrator for assistance.
Error: Not same number of records of BrowsersSearchIDOrder (202 entries) and BrowsersHashIDLib (203 entries without firefox,opera,chrome,safari,konqueror,svn,msie,netscape) in Browsers database. May be you updated AWStats without updating browsers.pm file or you made changed into browsers.pm not correctly. Check your file /usr/share/awstats/lib/browsers.pm is up to date.
Setup ('/usr/local/psa/etc/awstats/awstats.example.com-http.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory). -
The file
access_log.webstat
does not get rotated and can consume a lot of disk space -
Several images on
https://www.example.com/plesk-stat/webstat/
page are not loaded with 404 or 403 errors: -
Value for column "Number of visits" is always 0
-
When SELinux is enabled, errors in
/var/log/messages
:SELinux is preventing /usr/bin/perl from search access on the directory /var/www
Cause
Product issue:
-
#PPPM-13617 "On Plesk servers running on Red Hat Enterprise Linux 8 and its derivatives with the Extra Packages for Enterprise Linux (EPEL) repository configured, installing AWStats packages from the EPEL repository no longer results in AWStats being non-functional. Note: If you have disabled the installation of AWStats packages from the EPEL repository, you need to undo the changes, or else future Plesk updates will fail."
Fixed in:- Plesk Obsidian 16 August 2022 (Linux)
Resolution
Warning: Verify that AWStats packages are not excluded from the EPEL repository:
- Connect to the server via SSH
- Check if the AWStats package is excluded:
# grep -r exclude /etc/yum.repos.d | grep awstats
/etc/yum.repos.d/epel.repo:exclude=awstats* - Open
/etc/yum.repos.d/epel.repo
in any text editor and comment or delete the line:#exclude=awstats*