Several servers giving this MySQL RPM error

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,691
24
318
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
I'm running: CLOUDLINUX 7.3 x86_64 standard – dwhsl60 WHM 60.0 (build 19)

I have three servers now with this error:

[2016-11-15 00:54:17 -0500] The following RPMs are missing from your system:
[2016-11-15 00:54:17 -0500] MySQL56-server-5.6.34-2.cp1156

When I run:

/usr/local/cpanel/scripts/check_cpanel_rpms --fix

I get this error every time:
Code:
[2016-11-15 00:54:48 -0500]   error: %pre(MySQL56-server-5.6.34-2.cp1156.x86_64)
scriptlet failed, exit status 1
[2016-11-15 00:54:48 -0500]   error: MySQL56-server-5.6.34-2.cp1156.x86_64: inst
all failed
[2016-11-15 00:54:48 -0500]   error: MySQL56-server-5.6.33-1.cp1156.x86_64: eras
e skipped
[2016-11-15 00:54:48 -0500] W Error Code: 1
[2016-11-15 00:54:48 -0500] E The following possible errors were detected while
installing RPMs:
[2016-11-15 00:54:48 -0500] E %pre(MySQL56-server-5.6.34-2.cp1156.x86_64) script
let failed, exit status 1 MySQL56-server-5.6.34-2.cp1156.x86_64 MySQL56-server-5
.6.33-1.cp1156.x86_64
[2016-11-15 00:54:48 -0500]   The Administrator will be notified to review this
output when this script completes
Any idea how to fix this error?

All the servers are running MySQL 6.5 with no issues we know of.
 
Last edited by a moderator:

SysSachin

Well-Known Member
Aug 23, 2015
604
46
28
India
cPanel Access Level
Root Administrator
Twitter
What version of MySQL is setup in your /var/cpanel/cpanel.config file ?

Code:
grep mysql-version /var/cpanel/cpanel.config
And check which mysql rpm is installed on your server.

Code:
rpm -qa|grep  MySQL
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello,

Could you verify if MySQL Governor is installed on these systems? Also, please post the output from the following command on one of the affected systems:

Code:
cat /etc/systemd/system/mysql.service
CloudLinux has released an update to address this issue on systems using MySQL Governor at:

Beta: MariaDB and MySQL for MySQL Governor updated

Thank you.