Easy and Simple Solution

Friday, August 12, 2016

the installation process found evidence that MySQL or MariaDB was installed on this server

1 comment
If you are going to install cpanel on your linux server , you might receive an error like shown below.This error occurs due to mysql is already installed on server or system.

Error:
2016-04-21 16:32:25 485 ( INFO): cPanel Layer 1 Installer Starting...
2016-04-21 16:32:25 486 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2016-04-21 16:32:25 487 ( INFO): -------------------------------------------------------
2016-04-21 16:32:25 488 ( INFO): cPanel requires a fresh, clean server!
2016-04-21 16:32:25 489 ( INFO): If you serve websites from this server (and do not
2016-04-21 16:32:25 490 ( INFO): already run cPanel & WHM), this installer will
2016-04-21 16:32:25 491 ( INFO): overwrite all of your configuration files.
2016-04-21 16:32:25 492 ( INFO): Hit Ctrl+C NOW!
2016-04-21 16:32:25 493 ( INFO): If this is a new server, please ignore this message.
2016-04-21 16:32:25 494 ( INFO): -------------------------------------------------------
2016-04-21 16:32:25 495 ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning
2016-04-21 16:32:25 496 ( INFO): Waiting 5 seconds...
2016-04-21 16:32:25 497 ( INFO):
2016-04-21 16:32:25 498 ( INFO):
2016-04-21 16:32:30 502 ( INFO): Checking for another control panel...
2016-04-21 16:32:30 523 ( INFO): Checking for an existing MySQL or MariaDB instance...
2016-04-21 16:32:30 534 (ERROR): The installation process found evidence that MySQL or MariaDB was installed on this server.
2016-04-21 16:32:30 535 (FATAL): You must install cPanel & WHM on a clean server.
Removing /root/installer.lock.

Solution:
Before removing the mysql service take the Database backup & Remove the mysql service.
yum -y remove mysql*
rm -rf /var/lib/mysql

1 comment :

Real Time Analytics -->