Plesk

Unable to open Web Statistics for a Domain in Plesk: The requested document was not found on this server.

Symptoms

Cause

AWstats path is not correct because of white spaces on its route.

Resolution

  1. Connect to the server via SSH

  2. Edit the file /etc/psa/psa.conf and remove ending white space character from value AWSTATS_BIN_D, Vi editor can be used:

    # grep AWSTATS_BIN_D /etc/psa/psa.conf
    AWSTATS_BIN_D /var/www/cgi-bin/awstats$

  3. Execute web statistics recalculation for example.com:

    # /usr/local/psa/admin/sbin/web_statistic_executor --calculate-domain example.com

Exit mobile version