Article ID: 116256, created on Jun 11, 2013, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


AWstats pages are not updated for all domains on the server. An attempt to manually execute statistics utility produces errors:

`statistics_collector: Unable to execute /usr/share/awstats/ -awstatsprog=/var/www/cgi-bin/awstats/ -configdir=/usr/local/psa/etc/awstats -config=domain1.test-http -dir=/var/www/vhosts/domain1.test/statistics/webstat/current >/dev/null 2>&1`

System error 2: No such file or directory


The value of AWSTATS_TOOLS_D in /etc/psa/psa.conf is incorrect, or the AWstats installation is corrupted.


  1. Find the location, where 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. Check if the file returned by the command on the previous step exists on the server:

    # dpkg -L awstats | grep buildstaticpages
    # ls -l /usr/share/awstats/tools/
    -rwxr-xr-x 1 root root 19670 Jan 8 2012 /usr/share/awstats/tools/
  3. If the file does not exist, reinstall AWstats using Tools & Setings > Updates & Upgrades menu in Plesk.

  4. If file exists, open /etc/psa/psa.conf configuration file in editor and update the value of AWSTATS_TOOLS_D parameter to point to the directory, reported in the output of the rpm or dpkg command (/usr/share/awstats/tools in the example above).

    Warning: If the file is edited remotely (downloaded, updated, and uploaded again), make sure to use "text" transfer mode when uploading/downloading the file over FTP/SFTP.

  5. To recalculate AWstats statistics for the missing days, use the script from KB article #115476.

Search Words


Unable to execute

awstats static files build

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF