Unable to open AWStats web statistics page in Plesk: 404 Not Found The requested document was not found on this server




  • Avatar
    Shawn (Edited )

    Not perfect.

  • Avatar
    Robin Labadie

    I was able to find the proper directories on my CentOS 7.4 thanks to this guide.

    Wrong dirs:

    #AWSTATS_BIN_D /var/www/cgi-bin/awstats
    #AWSTATS_TOOLS_D /usr/share/awstats

    Good dirs:
    AWSTATS_BIN_D /usr/share/awstats/wwwroot/cgi-bin/
    AWSTATS_TOOLS_D /usr/share/awstats/tools

    Then I had to recalculate stats for the domains: 

    /usr/local/psa/admin/bin/web_statistic_executor --calculate-domain mydomain.tld

    Though, it is not perfect: if the current date seems to work, previous months are not updated; possibly because logs don't go that far in the past.

  • Avatar
    Ivan Postnikov

    Hello @Shawn, thank you for the feedback.

    Let us know if you have questions about this issue and its solution.

Please sign in to leave a comment.

Have more questions? Submit a request