- Plesk for Linux
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).
access_log.webstatdoes 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
Plesk statistics utility fails with the following error:
\# plesk sbin statistics --calculate-one --domain-name=example.com Stdout is forkExecvPipes: execv() failed: No such file or directory System error 2: No such file or directory The log will not be truncated because of errors above: /var/www/vhosts/system/example.com/logs/access_log.webstat Stat_ttl for the domain is 3. sh: /usr/share/awstats/awstats_buildstaticpages.pl: No such file or directory popen_exec: command failed code: 127 , error: none
Third-party AWStats package is installed:
# rpm -qi awstats |grep Packager
Packager : Fedora Project
Re-install AWStats from Plesk repository:
Warning: Recreation of configuration files for domains may lead to temporary inaccessibility of hosted websites.
Connect to the server using SSH
Create a backup of AWStats configuration:
# mkdir awstats_backup
# cp -r /etc/awstats/ awstats_backup
Exclude awstat packages from all third-party repositories in
/etc/yum.repos.ddirectory. Add the line
exclude=awstats*into the .repo files, and inside each repository block, for example:
# cat /etc/yum.repos.d/epel.repo
Remove AWStats package:
# yum remove awstats
Install AWStats using Plesk installer
Recalculate statistics using:
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteStatistics
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteWebStatistics
Recreate configuration files for domains:
# plesk repair web -domains-only