Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

check_cpanel_rpms --fix hangs non-stop

Discussion in 'General Discussion' started by vectro, Jul 2, 2016.

  1. vectro

    vectro Member

    Joined:
    Sep 2, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    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:
    root@server [~]# /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?
     
  2. vectro

    vectro Member

    Joined:
    Sep 2, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    False alarm. The server had a memory spike. I just now figured to reboot and ran the command again. It worked now.

    Code:
    root@server [~]# /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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice