How to fix Awstats cPanel 404 Error

The last update of cPanel 62 (build 17) for some reason disappeared with Awstats in a few servers I managed. Luckily, cPanel provides their own RPM of Awstats, so with a few commands you can have Awstats working again:

If you are not running as root, use “sudo” before the commands. That’s all.