Menu Close

Cpanel/WHM – Altered Packages found

The system detected problems with the following cPanel-provided files that the Packaging System controls:

cpanel-php81,8.1.16,1.cp110~el7-/usr/local/cpanel/3rdparty/php/81/lib/php/.filemap Broken S.5….T.

If you did not make these changes intentionally, execute the following command as the root user to correct them:

/usr/local/cpanel/scripts/check_cpanel_pkgs --fix

Results:

/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
[2023-04-29 14:38:12 -0700]
[2023-04-29 14:38:12 -0700] Problems were detected with cPanel-provided files which are controlled by packages.
[2023-04-29 14:38:12 -0700] If you did not make these changes intentionally, you can correct them by running:
[2023-04-29 14:38:12 -0700]
[2023-04-29 14:38:12 -0700] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix
[2023-04-29 14:38:12 -0700]
[2023-04-29 14:38:12 -0700] The following files were found to be altered from their original package form:
[2023-04-29 14:38:12 -0700] cpanel-php81,8.1.16,1.cp110~el7
[2023-04-29 14:38:12 -0700]
[2023-04-29 14:38:12 -0700] Removing 1 broken rpms: cpanel-php81-8.1.16-1.cp110~el7.x86_64
[2023-04-29 14:38:13 -0700] Maximum sync children set to 16 based on 10164M available memory.
[2023-04-29 14:38:13 -0700] Downloading http://httpupdate.cpanel.net/RPM/11.110/centos/7/x86_64/sha512
[2023-04-29 14:38:13 -0700] Successfully verified signature for cpanel (key types: release).
[2023-04-29 14:38:13 -0700] Downloading http://httpupdate.cpanel.net/RPM/11.110/centos/7/x86_64/cpanel-php81-8.1.16-1.cp110~el7.x86_64.rpm
[2023-04-29 14:38:15 -0700] Disabling service monitoring.
[2023-04-29 14:38:15 -0700] Hooks system enabled.
[2023-04-29 14:38:15 -0700] Checking for and running RPM::Versions 'pre' hooks for any Packages about to be installed
[2023-04-29 14:38:15 -0700] All required 'pre' hooks have been run
[2023-04-29 14:38:15 -0700] No packages need to be uninstalled
[2023-04-29 14:38:15 -0700] Installing new rpms: cpanel-php81-8.1.16-1.cp110~el7.x86_64.rpm
[2023-04-29 14:38:15 -0700] Preparing packages...
[2023-04-29 14:38:15 -0700] cpanel-php81-8.1.16-1.cp110~el7.x86_64
[2023-04-29 14:38:17 -0700] warning: /usr/local/cpanel/3rdparty/php/81/etc/php.ini created as /usr/local/cpanel/3rdparty/php/81/etc/php.ini.rpmnew
[2023-04-29 14:38:18 -0700] config-set succeeded
[2023-04-29 14:38:18 -0700] Hooks system enabled.
[2023-04-29 14:38:18 -0700] Checking for and running RPM::Versions 'post' hooks for any Packages about to be installed
[2023-04-29 14:38:18 -0700] All required 'post' hooks have been run
[2023-04-29 14:38:18 -0700] Restoring service monitoring.