Error updating cPanel RPM issue
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:
[QUOTE]
MySQL56-client-5.6.38-1.cp1162
MySQL56-devel-5.6.38-1.cp1162
MySQL56-server-5.6.38-1.cp1162
MySQL56-shared-5.6.38-1.cp1162
MySQL56-test-5.6.38-1.cp1162
compat-MySQL50-shared-5.0.96-4.cp1136
compat-MySQL51-shared-5.1.73-1.cp1150
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
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
-
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: /scripts/autorepair fix_duplicate_cpanel_rpms
Then, update YUM via the following command:yum update
Let us know if this helps. Thank you.0 -
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:
/scripts/autorepair fix_duplicate_cpanel_rpms
Then, update YUM via the following command:yum update
Let us know if this helps. Thank you.
I made it but still update didn't finished with the same error0 -
Hello, Try running the following command as well: package-cleanup --cleandupes
If that doesn't help, let us know the output from the below commands:mysql -V grep mysql-version /var/cpanel/cpanel.config rpm -qa|grep MySQL rpm -qa|grep MariaDB
Thank you.0 -
Hello, Try running the following command as well:
package-cleanup --cleandupes
If that doesn't help, let us know the output from the below commands:mysql -V grep mysql-version /var/cpanel/cpanel.config rpm -qa|grep MySQL rpm -qa|grep MariaDB
Thank you.
I try but didn't work this is the output: [QUOTE] root@main [~]# mysql -V mysql Ver 14.14 Distrib 5.6.39, for Linux (x86_64) using EditLine wrapper root@main [~]# grep mysql-version /var/cpanel/cpanel.config mysql-version=5.6 root@main [~]# rpm -qa|grep MySQL alt-python27-MySQL-mysql5.1-1.2.5-1.el7.cloudlinux.2.x86_64 alt-python27-MySQL-meta-1-4.el7.x86_64 cl-MySQL56-server-5.6.39-1.el7.cloudlinux.x86_64 alt-python27-MySQL-percona5.7-1.2.5-1.el7.cloudlinux.3.x86_64 alt-python27-MySQL-mysql5.7-1.2.5-1.el7.cloudlinux.2.x86_64 alt-python27-MySQL-mariadb102-1.2.5-1.el7.cloudlinux.3.x86_64 alt-python27-MySQL-percona5.5-1.2.5-1.el7.cloudlinux.2.x86_64 cl-MySQL56-client-5.6.39-1.el7.cloudlinux.x86_64 alt-python27-MySQL-mariadb101-1.2.5-1.el7.cloudlinux.2.x86_64 alt-python27-MySQL-common-1.2.5-1.el7.cloudlinux.2.x86_64 cl-MySQL-meta-5.6.39-2.el7.cloudlinux.x86_64 alt-python27-MySQL-mysql5.5-1.2.5-1.el7.cloudlinux.2.x86_64 cl-MySQL56-shared-5.6.39-1.el7.cloudlinux.x86_64 alt-python27-MySQL-mysql5.0-1.2.5-1.el7.cloudlinux.2.x86_64 cpanel-perl-524-MySQL-Diff-0.50-1.cp1162.x86_64 alt-python27-MySQL-mysql5.6-1.2.5-1.el7.cloudlinux.2.x86_64 cl-MySQL56-devel-5.6.39-1.el7.cloudlinux.x86_64 cl-MySQL-meta-client-5.6.39-2.el7.cloudlinux.x86_64 alt-python27-MySQL-percona5.6-1.2.5-1.el7.cloudlinux.2.x86_64 cl-MySQL-meta-devel-5.6.39-2.el7.cloudlinux.x86_64 alt-python27-MySQL-mariadb10-1.2.5-1.el7.cloudlinux.2.x86_64 root@main [~]# rpm -qa|grep MariaDB root@main [~]#0 -
Hello, It looks like you are using MySQL governor from CloudLinux. Try uninstalling MySQL Governor to revert the standard MySQL installation: /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.0 -
Hello, It looks like you are using MySQL governor from CloudLinux. Try uninstalling MySQL Governor to revert the standard MySQL installation:
/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:0
Please sign in to leave a comment.
Comments
6 comments