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.

RPM fix doesn't fix, just tells me to re-run?

Discussion in 'General Discussion' started by P_W, Dec 12, 2013.

  1. P_W

    P_W Active Member

    Joined:
    Oct 7, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Trying to upgrade but I'm getting various RPM errors which tell me to run /usr/local/cpanel/scripts/check_cpanel_rpms --fix, which spits out errors and tells me to run the rpm fix. I'm very confused.

    Any help would be appreciated!

    Code:
    # /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20131212.100525]
    [20131212.100525]   Problems were detected with cPanel-provided files which are RPM controlled.
    [20131212.100525]   If you did not make these changes intentionally, you can correct them by running:
    [20131212.100525]
    [20131212.100525]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20131212.100525]   The following RPMs are missing from your system:
    [20131212.100525]   MySQL51-client.5.1.70-1.cp1136
    [20131212.100525]   MySQL51-devel.5.1.70-1.cp1136
    [20131212.100525]   MySQL51-server.5.1.70-1.cp1136
    [20131212.100525]   MySQL51-shared.5.1.70-1.cp1136
    [20131212.100525]   MySQL51-test.5.1.70-1.cp1136
    [20131212.100525]   courier-authlib.0.65.0-1.cp1136
    [20131212.100525]   courier-authlib-devel.0.65.0-1.cp1136
    [20131212.100525]   courier-authlib-userdb.0.65.0-1.cp1136
    [20131212.100525]   courier-imap.4.12.0-1.cp1136
    [20131212.100525]   cpanel-userperl.1.0-1.cp1136
    [20131212.100525]   exim.4.80.1-1.cp1136
    [20131212.100530]   Removing 0 broken rpms:
    [20131212.100530]   rpm: no packages given for erase
    [20131212.100532]   Downloading http://httpupdate.cpanel.net/RPM/11.36/centos/5/x86_64/rpm.md5
    [20131212.100532]   courier-imap-4.12.0-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   courier-authlib-devel-0.65.0-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   MySQL51-client-5.1.70-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   MySQL51-devel-5.1.70-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   cpanel-userperl-1.0-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   MySQL51-shared-5.1.70-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   MySQL51-test-5.1.70-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   MySQL51-server-5.1.70-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   courier-authlib-0.65.0-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   courier-authlib-userdb-0.65.0-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   exim-4.80.1-1.cp1136.x86_64.rpm already downloaded
    [20131212.100532]   Hooks system enabled
    [20131212.100532]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    warn [check_cpanel_rpms] program "/scripts/precourierup" is not executable
    warn [check_cpanel_rpms] program "/scripts/preeximup" is not executable
    warn [check_cpanel_rpms] program "/scripts/premysqlup" is not executable
    [20131212.100532]   All required 'pre' hooks have been run
    [20131212.100533]   No RPMS need to be uninstalled
    [20131212.100533]   Installing new rpms: courier-imap-4.12.0-1.cp1136.x86_64.rpm courier-authlib-devel-0.65.0-1.cp1136.x86_64.rpm MySQL51-client-5.1.70-1.cp1136.x86_64.rpm MySQL51-devel-5.1.70-1.cp1136.x86_64.rpm cpanel-userperl-1.0-1.cp1136.x86_64.rpm MySQL51-shared-5.1.70-1.cp1136.x86_64.rpm MySQL51-test-5.1.70-1.cp1136.x86_64.rpm MySQL51-server-5.1.70-1.cp1136.x86_64.rpm courier-authlib-0.65.0-1.cp1136.x86_64.rpm courier-authlib-userdb-0.65.0-1.cp1136.x86_64.rpm exim-4.80.1-1.cp1136.x86_64.rpm
    [20131212.100533]   error: Failed dependencies:
    [20131212.100533]       libmysqlclient.so.15()(64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
    [20131212.100533]       libmysqlclient.so.15()(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
    [20131212.100533]       libmysqlclient.so.15()(64bit) is needed by (installed) mod_auth_mysql-3.0.0-3.1.x86_64
    [20131212.100533]       libmysqlclient.so.15()(64bit) is needed by (installed) perl-DBD-MySQL-4.014-1.el5.rfx.x86_64
    [20131212.100533]       libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
    [20131212.100533]       libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
    [20131212.100533]       libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) mod_auth_mysql-3.0.0-3.1.x86_64
    [20131212.100533]       libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by (installed) perl-DBD-MySQL-4.014-1.el5.rfx.x86_64
    [20131212.100533]       libmysqlclient_r.so.15()(64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64
    [20131212.100533]       libmysqlclient_r.so.15()(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
    [20131212.100533]       libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64
    [20131212.100533]       libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
    [20131212.100533] W Error Code: 11
    [20131212.100533] E The following possible errors were detected while installing RPMs:
    [20131212.100533] E Failed dependencies
    [20131212.100533]   The Administrator will be notified to review this output when this script completes
    [20131212.100533]   Checking for and running RPM::Versions 'post' hooks for any RPMs just installed
    warn [check_cpanel_rpms] program "/scripts/postcourier-authlibup" is not executable
    warn [check_cpanel_rpms] program "/scripts/postcourierinstall" is not executable
    warn [check_cpanel_rpms] program "/scripts/postcourierup" is not executable
    warn [check_cpanel_rpms] program "/scripts/postcourier-imapup" is not executable
    warn [check_cpanel_rpms] program "/scripts/posteximup" is not executable
    warn [check_cpanel_rpms] program "/scripts/postmysqlinstall" is not executable
    warn [check_cpanel_rpms] program "/scripts/postmysqlup" is not executable
    [20131212.100533]   All required 'post' hooks have been run
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please verify if you require the following RPMs on your system:

    Code:
    libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
    mysql-connector-odbc-3.51.12-2.2.x86_64
    mod_auth_mysql-3.0.0-3.1.x86_64
    perl-DBD-MySQL-4.014-1.el5.rfx.x86_64
    MySQL-python-1.2.1-1.x86_64
    It looks like they are the result of third-party applications or custom modifications.

    Thank you.
     
  3. P_W

    P_W Active Member

    Joined:
    Oct 7, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    No, I don't require them. I'm just running a stock cpanel server as far as I'm aware. No special modifications were made (intentionally).
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. P_W

    P_W Active Member

    Joined:
    Oct 7, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanelMichael > Sure. It's 4772161
     
  6. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The last note on that ticket states you believe you have it figured out and will let us know. Please do let us know what the solution was if in fact you did figure it out so that we can update this thread accordingly.
     
  7. P_W

    P_W Active Member

    Joined:
    Oct 7, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Not sure what was using those packages, so I just yum removed them, as in...

    Code:
     
    yum remove libdbi-dbd-mysql mysql-connector-odbc mod_auth_mysql perl-DBD-MySQL MySQL-python
    
    Then re-ran the upgrade, and it was fine.
     
Loading...

Share This Page