Skip to main content

Altered Packages found

Comments

10 comments

  • cPRex Jurassic Moderator
    Hey there! Since these are all cPanel packages, and an update just happened, it seems normal to me. I'd just the check_cpanel_pkgs command with the --fix and let it resolve it, and then you shouldn't see any more problems.
    0
  • Metro2
    @cPRex Thank you for the response. I ran the /usr/local/cpanel/scripts/check_cpanel_pkgs --fix command early this morning and so far no issues. If the alerts continue or otherwise, I'll post an update here just in case anyone else has the same question / concern.
    0
  • cPRex Jurassic Moderator
    I'm glad that helped!
    0
  • Metro2
    Update I got the same alerts again over the weekend. I ran /usr/local/cpanel/scripts/check_cpanel_pkgs --fix
    and this time the response was a bit more lengthy, and did NOT ask me "Do you want to repair these packages?". This was the output: [~]# /usr/local/cpanel/scripts/check_cpanel_pkgs --fix [2023-04-10 16:44:30 -0400] [2023-04-10 16:44:30 -0400] Problems were detected with cPanel-provided files which are controlled by packages. [2023-04-10 16:44:30 -0400] If you did not make these changes intentionally, you can correct them by running: [2023-04-10 16:44:30 -0400] [2023-04-10 16:44:30 -0400] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix [2023-04-10 16:44:30 -0400] [2023-04-10 16:44:30 -0400] The following files were found to be altered from their original package form: [2023-04-10 16:44:30 -0400] cpanel-dnspython,1.12.0,1.cp108~el6 [2023-04-10 16:44:30 -0400] cpanel-php81,8.1.16,1.cp110~el6 [2023-04-10 16:44:30 -0400] [2023-04-10 16:44:30 -0400] Removing 2 broken rpms: cpanel-dnspython-1.12.0-1.cp108~el6.x86_64, cpanel-php81-8.1.16-1.cp110~el6.x86_64 [2023-04-10 16:44:31 -0400] Maximum sync children set to 16 based on 45796M available memory. [2023-04-10 16:44:31 -0400] Downloading http://httpupdate.cpanel.net/RPM/11.108/centos/6/x86_64/sha512 [2023-04-10 16:44:31 -0400] Downloading http://httpupdate.cpanel.net/RPM/11.110/centos/6/x86_64/sha512 [2023-04-10 16:44:31 -0400] Successfully verified signature for cpanel (key types: release). [2023-04-10 16:44:31 -0400] Successfully verified signature for cpanel (key types: release). [2023-04-10 16:44:31 -0400] Downloading http://httpupdate.cpanel.net/RPM/11.108/centos/6/x86_64/cpanel-dnspython-1.12.0-1.cp108~el6.x86_64.rpm [2023-04-10 16:44:31 -0400] Downloading http://httpupdate.cpanel.net/RPM/11.110/centos/6/x86_64/cpanel-php81-8.1.16-1.cp110~el6.x86_64.rpm [2023-04-10 16:44:33 -0400] Disabling service monitoring. [2023-04-10 16:44:33 -0400] Hooks system enabled. [2023-04-10 16:44:33 -0400] Checking for and running RPM::Versions 'pre' hooks for any Packages about to be installed [2023-04-10 16:44:33 -0400] All required 'pre' hooks have been run [2023-04-10 16:44:33 -0400] No packages need to be uninstalled [2023-04-10 16:44:33 -0400] Installing new rpms: cpanel-dnspython-1.12.0-1.cp108~el6.x86_64.rpm cpanel-php81-8.1.16-1.cp110~el6.x86_64.rpm [2023-04-10 16:44:33 -0400] Preparing packages for installation... [2023-04-10 16:44:33 -0400] cpanel-php81-8.1.16-1.cp110~el6 [2023-04-10 16:44:35 -0400] warning: /usr/local/cpanel/3rdparty/php/81/etc/php.ini created as /usr/local/cpanel/3rdparty/php/81/etc/php.ini.rpmnew [2023-04-10 16:44:37 -0400] config-set succeeded [2023-04-10 16:44:37 -0400] cpanel-dnspython-1.12.0-1.cp108~el6 [2023-04-10 16:44:38 -0400] Hooks system enabled. [2023-04-10 16:44:38 -0400] Checking for and running RPM::Versions 'post' hooks for any Packages about to be installed [2023-04-10 16:44:38 -0400] All required 'post' hooks have been run [2023-04-10 16:44:38 -0400] Restoring service monitoring.
    So far everything still seems OK, it's just that these notices are something new and makes me a little nervous.
    0
  • cPRex Jurassic Moderator
    We got some more details about this over the weekend:
    0
  • Metro2
    @cPRex thank you for the info!
    0
  • cPRex Jurassic Moderator
    Sure thing!!!
    0
  • rockhost
    Greetings, I found this thread Googling after receiving the following notification over the weekend (Saturday and Sunday mornings). However, it has since stopped. Is it possible the issue fixed itself? I am able to run the command as root. However, I want to confirm it will not kill any running process / php. Please advise. THANK YOU! The system detected problems with the following cPanel-provided files that the Packaging System controls:
    Packages Status Additional Information
    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
    0
  • cPRex Jurassic Moderator
    Running this command won't hurt anything on the server as this is related to the internal cPanel PHP version.
    0
  • rockhost
    This appears to have worked, thank you. Just thought I would share for others. [root@chi3 ~]# /usr/local/cpanel/scripts/check_cpanel_pkgs --fix [2023-04-17 17:12:55 -0500] [2023-04-17 17:12:55 -0500] Problems were detected with cPanel-provided files which are controlled by packages. [2023-04-17 17:12:55 -0500] If you did not make these changes intentionally, you can correct them by running: [2023-04-17 17:12:55 -0500] [2023-04-17 17:12:55 -0500] > /usr/local/cpanel/scripts/check_cpanel_pkgs --fix [2023-04-17 17:12:55 -0500] [2023-04-17 17:12:55 -0500] The following files were found to be altered from their original package form: [2023-04-17 17:12:55 -0500] cpanel-php81,8.1.16,1.cp110~el7 [2023-04-17 17:12:55 -0500] [2023-04-17 17:12:55 -0500] Removing 1 broken rpms: cpanel-php81-8.1.16-1.cp110~el7.x86_64 [2023-04-17 17:12:56 -0500] Maximum sync children set to 16 based on 56453M available memory. [2023-04-17 17:12:56 -0500] Downloading [2023-04-17 17:12:58 -0500] Disabling service monitoring. [2023-04-17 17:12:59 -0500] Hooks system enabled. [2023-04-17 17:12:59 -0500] Checking for and running RPM::Versions 'pre' hooks for any Packages about to be installed [2023-04-17 17:12:59 -0500] All required 'pre' hooks have been run [2023-04-17 17:12:59 -0500] No packages need to be uninstalled [2023-04-17 17:12:59 -0500] Installing new rpms: cpanel-php81-8.1.16-1.cp110~el7.x86_64.rpm [2023-04-17 17:12:59 -0500] Preparing packages... [2023-04-17 17:12:59 -0500] cpanel-php81-8.1.16-1.cp110~el7.x86_64 [2023-04-17 17:13:01 -0500] warning: /usr/local/cpanel/3rdparty/php/81/etc/php.ini created as /usr/local/cpanel/3rdparty/php/81/etc/php.ini.rpmnew [2023-04-17 17:13:02 -0500] config-set succeeded [2023-04-17 17:13:02 -0500] Hooks system enabled. [2023-04-17 17:13:02 -0500] Checking for and running RPM::Versions 'post' hooks for any Packages about to be installed [2023-04-17 17:13:02 -0500] All required 'post' hooks have been run [2023-04-17 17:13:02 -0500] Restoring service monitoring. [root@chi3 ~]#
    0

Please sign in to leave a comment.