Symptoms
cPanel users encounter a 404 error when trying to access Awstats.
Description
If the Awstats RPM is missing and set to uninstalled in /var/cpanel/rpm.versions.d/local.version, cPanel will not automatically reinstall the package.
Workaround
-
Access SSH or Terminal as the root user
- Confirm Awstats is uninstalled in /var/cpanel/rpm.versions.d/local.versions
[root@server ~]# grep awstats '/var/cpanel/rpm.versions.d/local.versions'
awstats: uninstalled - Remove awstats from the /var/cpanel/rpm.versions.d/local.versions file
/scripts/update_local_rpm_versions --del target_settings.awstats
- Run /scripts/check_cpanel_pkgs to reinstall Awstats
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
Comments
0 comments
Article is closed for comments.