Guys,
I ran into a very weird error, my error had to do with
adminbin I had updated MariaDB to the latest MariaDB in 10.3 series, and it broke the client "cPanel > MySQL Databases" with a weird error saying
The MySQL server is currently offline.
adminbin Cpanel/cpmysql/DBCACHE
Something like that, after googling I found out that this only was applying to
10.3.23, but mine is at WHM 90 and with 10.3.26, I tested re-setup in WHM but nothing worked. I actually also found an issue with the yum mirror after that with MariaDB
That led me to this (extra mirrors for MariaDB repo if the OVH one is failing which was doing for me)
Which tells you to run the following code
[root@eldborg yum.repos.d]# yum downgrade MariaDB-server MariaDB-common MariaDB- shared MariaDB-client MariaDB-compat MariaDB-devel
And sure enough, going down from 10.3.26 to 10.3.25 fixed this for me, I don't know if MariaDB just failed updating to 10.3.26 originally because of repository issue or not but I am down to 10.3.25 and the MySQL Databases function in cPanel is now working.
[root@eldborg yum.repos.d]# yum downgrade MariaDB-server MariaDB-common MariaDB-shared MariaDB-client MariaDB-compat MariaDB-devel
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* EA4: 91.197.228.252
* cpanel-addons-production-feed: 91.197.228.252
* cpanel-plugins: 91.197.228.252
* cloudlinux-x86_64-server-7: cln.webempresa.eu
* epel: epel.hysing.is
MariaDB103 | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-client.x86_64 0:10.3.25-1.el7.centos will be a downgrade
---> Package MariaDB-client.x86_64 0:10.3.26-1.el7.centos will be erased
---> Package MariaDB-common.x86_64 0:10.3.25-1.el7.centos will be a downgrade
---> Package MariaDB-common.x86_64 0:10.3.26-1.el7.centos will be erased
---> Package MariaDB-compat.x86_64 0:10.3.25-1.el7.centos will be a downgrade
---> Package MariaDB-compat.x86_64 0:10.3.26-1.el7.centos will be erased
---> Package MariaDB-devel.x86_64 0:10.3.25-1.el7.centos will be a downgrade
---> Package MariaDB-devel.x86_64 0:10.3.26-1.el7.centos will be erased
---> Package MariaDB-server.x86_64 0:10.3.25-1.el7.centos will be a downgrade
---> Package MariaDB-server.x86_64 0:10.3.26-1.el7.centos will be erased
---> Package MariaDB-shared.x86_64 0:10.3.25-1.el7.centos will be a downgrade
---> Package MariaDB-shared.x86_64 0:10.3.26-1.el7.centos will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Downgrading:
MariaDB-client x86_64 10.3.25-1.el7.centos MariaDB103 11 M
MariaDB-common x86_64 10.3.25-1.el7.centos MariaDB103 81 k
MariaDB-compat x86_64 10.3.25-1.el7.centos MariaDB103 2.2 M
MariaDB-devel x86_64 10.3.25-1.el7.centos MariaDB103 7.1 M
MariaDB-server x86_64 10.3.25-1.el7.centos MariaDB103 24 M
MariaDB-shared x86_64 10.3.25-1.el7.centos MariaDB103 113 k
Transaction Summary
=============================================================================================================================================================================================================================================
Downgrade 6 Packages
Total download size: 45 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/6): MariaDB-common-10.3.25-1.el7.centos.x86_64.rpm | 81 kB 00:00:02
(2/6): MariaDB-compat-10.3.25-1.el7.centos.x86_64.rpm | 2.2 MB 00:00:46
(3/6): MariaDB-devel-10.3.25-1.el7.centos.x86_64.rpm | 7.1 MB 00:02:58
(4/6): MariaDB-client-10.3.25-1.el7.centos.x86_64.rpm | 11 MB 00:04:35
(5/6): MariaDB-shared-10.3.25-1.el7.centos.x86_64.rpm | 113 kB 00:00:04
(6/6): MariaDB-server-10.3.25-1.el7.centos.x86_64.rpm | 24 MB 00:09:23
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 58 kB/s | 45 MB 00:13:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : MariaDB-common-10.3.25-1.el7.centos.x86_64 1/12
Installing : MariaDB-compat-10.3.25-1.el7.centos.x86_64 2/12
Installing : MariaDB-client-10.3.25-1.el7.centos.x86_64 3/12
Installing : MariaDB-server-10.3.25-1.el7.centos.x86_64 4/12
Installing : MariaDB-devel-10.3.25-1.el7.centos.x86_64 5/12
Installing : MariaDB-shared-10.3.25-1.el7.centos.x86_64 6/12
Cleanup : MariaDB-server-10.3.26-1.el7.centos.x86_64 7/12
Cleanup : MariaDB-client-10.3.26-1.el7.centos.x86_64 8/12
Cleanup : MariaDB-shared-10.3.26-1.el7.centos.x86_64 9/12
Cleanup : MariaDB-devel-10.3.26-1.el7.centos.x86_64 10/12
Cleanup : MariaDB-compat-10.3.26-1.el7.centos.x86_64 11/12
Cleanup : MariaDB-common-10.3.26-1.el7.centos.x86_64 12/12
/etc/yum/universal-hooks/pkgs/MariaDB-server/posttrans/100-build_mysql_conf: running in the background.
Verifying : MariaDB-client-10.3.25-1.el7.centos.x86_64 1/12
Verifying : MariaDB-compat-10.3.25-1.el7.centos.x86_64 2/12
Verifying : MariaDB-devel-10.3.25-1.el7.centos.x86_64 3/12
Verifying : MariaDB-common-10.3.25-1.el7.centos.x86_64 4/12
Verifying : MariaDB-server-10.3.25-1.el7.centos.x86_64 5/12
Verifying : MariaDB-shared-10.3.25-1.el7.centos.x86_64 6/12
Verifying : MariaDB-server-10.3.26-1.el7.centos.x86_64 7/12
Verifying : MariaDB-compat-10.3.26-1.el7.centos.x86_64 8/12
Verifying : MariaDB-devel-10.3.26-1.el7.centos.x86_64 9/12
Verifying : MariaDB-common-10.3.26-1.el7.centos.x86_64 10/12
Verifying : MariaDB-client-10.3.26-1.el7.centos.x86_64 11/12
Verifying : MariaDB-shared-10.3.26-1.el7.centos.x86_64 12/12
Removed:
MariaDB-client.x86_64 0:10.3.26-1.el7.centos MariaDB-common.x86_64 0:10.3.26-1.el7.centos MariaDB-compat.x86_64 0:10.3.26-1.el7.centos MariaDB-devel.x86_64 0:10.3.26-1.el7.centos MariaDB-server.x86_64 0:10.3.26-1.el7.centos
MariaDB-shared.x86_64 0:10.3.26-1.el7.centos
Installed:
MariaDB-client.x86_64 0:10.3.25-1.el7.centos MariaDB-common.x86_64 0:10.3.25-1.el7.centos MariaDB-compat.x86_64 0:10.3.25-1.el7.centos MariaDB-devel.x86_64 0:10.3.25-1.el7.centos MariaDB-server.x86_64 0:10.3.25-1.el7.centos
MariaDB-shared.x86_64 0:10.3.25-1.el7.centos
Complete!
I just didn't see much about this online, and not much in the same place, had to find all the key pieces all overgoogle so If this could save anyone the headache then I am glad.
Thank you.
Comments
11 comments