check_cpanel_rpms --fix hangs non-stop

vectro

Member
Sep 2, 2008
8
0
51
I received this e-mail from cPanel.

Code:
The system detected problems with the following cPanel-provided files that the RPM controls:

RPM     Status     Additional Information
cpanel-postgresql-9.0.18-1.cp1156     Missing     

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_rpms --fix
I attempted to run check_cpanel_rpms --fix as specified, but it hangs. I waited overnight just to see what would happen and the problem remained.

Code:
[email protected] [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-07-02 20:03:53 -0400]
[2016-07-02 20:03:53 -0400]   Problems were detected with cPanel-provided files which are RPM controlled.
[2016-07-02 20:03:53 -0400]   If you did not make these changes intentionally, you can correct them by running:
[2016-07-02 20:03:53 -0400]
[2016-07-02 20:03:53 -0400]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-07-02 20:03:53 -0400]   The following RPMs are missing from your system:
[2016-07-02 20:03:53 -0400]   cpanel-postgresql-9.0.18-1.cp1156
Is there something on my system I should look into to fix this, or is it a cPanel bug?
 

vectro

Member
Sep 2, 2008
8
0
51
False alarm. The server had a memory spike. I just now figured to reboot and ran the command again. It worked now.

Code:
[email protected] [~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-07-02 20:03:53 -0400]
[2016-07-02 20:03:53 -0400]   Problems were detected with cPanel-provided files which are RPM controlled.
[2016-07-02 20:03:53 -0400]   If you did not make these changes intentionally, you can correct them by running:
[2016-07-02 20:03:53 -0400]
[2016-07-02 20:03:53 -0400]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-07-02 20:03:53 -0400]   The following RPMs are missing from your system:
[2016-07-02 20:03:53 -0400]   cpanel-postgresql-9.0.18-1.cp1156
[2016-07-02 20:18:39 -0400]   Removing 0 broken rpms:
[2016-07-02 20:18:39 -0400]   rpm: no packages given for erase
[2016-07-02 20:18:42 -0400]   Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/rpm.sha512
[2016-07-02 20:19:09 -0400]   Successfully verified signature for cpanel (key types: release).
[2016-07-02 20:19:09 -0400]   Downloading http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-postgresql-9.0.18-1.cp1156.x86_64.rpm
[2016-07-02 20:19:10 -0400]   Disabling service monitoring.
[2016-07-02 20:19:17 -0400]   Hooks system enabled.
[2016-07-02 20:19:17 -0400]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2016-07-02 20:19:17 -0400]   All required 'pre' hooks have been run
[2016-07-02 20:19:18 -0400]   No RPMS need to be uninstalled
[2016-07-02 20:19:18 -0400]   Installing new rpms: cpanel-postgresql-9.0.18-1.cp1156.x86_64.rpm
[2016-07-02 20:19:18 -0400]   Preparing packages for installation...
[2016-07-02 20:19:19 -0400]   cpanel-postgresql-9.0.18-1.cp1156
[2016-07-02 20:19:23 -0400]   Hooks system enabled.
[2016-07-02 20:19:23 -0400]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2016-07-02 20:19:23 -0400]   All required 'post' hooks have been run
[2016-07-02 20:19:23 -0400]   Restoring service monitoring.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello,

I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.