Statistics is not updated: Unable to execute


2016-11-16 13:00:14 UTC


2017-08-21 12:32:01 UTC


Was this article helpful?

Have more questions?

Submit a request

Statistics is not updated: Unable to execute

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux


  1. Statistics not updated automatically. The following error appears during web_statistic_executor manual start:

    # /usr/local/psa/admin/sbin/web_statistic_executor --calculate-domain
    Executing logs preparation...
    Webstat: awstats
    Executing awstats...
    Processing the log /var/www/vhosts/system/
    /usr/lib/cgi-bin/ -update -configdir=/opt/psa/etc/awstats -LogFile=/var/www/vhosts/system/
    Error: Unable to execute /usr/share/doc/awstats/examples/ -awstatsprog=/usr/lib/cgi-bin/ -configdir=/opt/psa/etc/awstats -dir=/var/www/vhosts/system/
  2. Unable to open Web Statistics page for a domain at

    Not Found
    The requested URL /plesk-stat/webstat/2016-02/index.html was not found on this server.
    Apache Server at Port 80
  3. Domain is resolved into server IP


Missing file under /usr/share/doc/awstats/examples/ directory.


  1. Find the location where the script is installed using one of the following commands (dpkg is for Debian/Ubuntu; rpm is for CentOS/RHEL/SuSE):

    # rpm -ql awstats | grep buildstaticpages
    # dpkg -L awstats | grep buildstaticpages
  2. Place this file to /usr/share/doc/awstats/examples/ directory:

    # cp /usr/share/awstats/tools/ /usr/share/doc/awstats/examples/
  3. Rerun Daily Maintenance task:

    # /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteWebStatistics

Additional information

213909025 AWstats statistics pages are not updated: "Unable to execute"

Have more questions? Submit a request
Please sign in to leave a comment.