Article ID: 115166, created on Nov 20, 2012, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.3 for Linux/Unix


  1. AWStats statistics are not updated on the plesk-stat/webstat page. The issue exists for ALL domains that use AWStats.

  2. If enable debug output for the statistics utility:

    # export STATISTICS_DEBUG=yes 

    , and run statistics calculation the following error occurs:

    # /usr/local/psa/admin/bin/statistics --calculate-one --domain-name domain.tld
    Main HTML page is ''.  sh: /srv/www/cgi-bin/ No such file or directory  Build main page: "/srv/www/cgi-bin/awstats/" -staticlinks -configdir=/usr/local/psa/etc/awstats -month=10 -year=2012 -output  Build errors404 page: "/srv/www/cgi-bin/awstats/" -staticlinks -configdir=/usr/local/psa/etc/awstats -month=10 -year=2012 -output=errors404  21 files built.


Most likely AWSTATS_BIN_D value is wrong in /etc/psa/psa.conf configuration file.


Change the AWSTATS_BIN_D value from /srv/www/cgi-bin to /srv/www/cgi-bin/awstats in /etc/psa/psa.conf configuration file.

Search Words

awstats statistics problem plesk

sh: /srv/www/cgi-bin/ No such file or directory

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

Email subscription for changes to this article
Save as PDF