The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    1
    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:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page