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!

SOLVED Error updating cPanel RPM issue

Discussion in 'General Discussion' started by Nile Youth, Mar 7, 2018.

  1. Nile Youth

    Nile Youth Member

    Joined:
    Apr 2, 2015
    Messages:
    18
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello every body

    can any one help me each time I try to make update I got error

    this is update log hope to help how can I solve it

    - Removed output -

    I try to run : /usr/local/cpanel/scripts/check_cpanel_rpms --fix

    but I got missing rpm:
    every time I run it got the same missing with error:

    [2018-03-07 19:12:06 +0200] W Error Code: 7
    [2018-03-07 19:12:06 +0200] Hooks system enabled.
    [2018-03-07 19:12:06 +0200] Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
    [2018-03-07 19:12:06 +0200] All required 'post' hooks have been run
    [2018-03-07 19:12:06 +0200] Restoring service monitoring.


    can any one help?? thanks a lot for you all
     
    #1 Nile Youth, Mar 7, 2018
    Last edited by a moderator: Mar 7, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The removed error logs indicate you may have some duplicate RPMs installed on the system. Try running the following command to see if it removes the duplicates:

    Code:
    /scripts/autorepair fix_duplicate_cpanel_rpms
    Then, update YUM via the following command:

    Code:
    yum update
    Let us know if this helps.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Nile Youth

    Nile Youth Member

    Joined:
    Apr 2, 2015
    Messages:
    18
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Twitter:
    I made it but still update didn't finished with the same error
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Try running the following command as well:

    Code:
    package-cleanup --cleandupes
    If that doesn't help, let us know the output from the below commands:

    Code:
    mysql -V
    grep mysql-version /var/cpanel/cpanel.config
    rpm -qa|grep MySQL
    rpm -qa|grep MariaDB
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Nile Youth

    Nile Youth Member

    Joined:
    Apr 2, 2015
    Messages:
    18
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Twitter:
    I try but didn't work this is the output:

     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like you are using MySQL governor from CloudLinux. Try uninstalling MySQL Governor to revert the standard MySQL installation:

    Code:
    /usr/share/lve/dbgovernor/mysqlgovernor.py --delete
    Once you've confirmed everything is working as expected, you can proceed to install MySQL Governor again using the instructions at:

    MySQL Governor > Installation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Nile Youth

    Nile Youth Member

    Joined:
    Apr 2, 2015
    Messages:
    18
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks a lot for help it was solved now by remove governor

    Thanks again
     
    cPanelMichael likes this.
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