While trying to install cPanel control panel on just reimaged server I’ve got an interesting error, I’ve never seen before:
1 2 3 4 |
2016-01-01 18:24:03 523 ( INFO): Checking for an existing MySQL or MariaDB instance... 2016-01-01 18:24:03 527 (ERROR): The installation process found evidence that MySQL or MariaDB was installed on this server. 2016-01-01 18:24:03 528 (FATAL): You must install cPanel & WHM on a clean server. Removing /root/installer.lock. |
It turned out that “minimal server” CentOS configuration installs mysql-server RPM package. Easy to fix I thought and ran:
1 |
yum -y remove mysql* |
But still got the same error from cPanel install script. Unfortunately there are “leftovers” from mysql server installation that are detected by cPanel installation script. You will need to execute
1 2 |
# rm -rf /var/lib/mysql |
to satisfy the requirement of “clean server installation”. After that you can install cPanel the usual way.
Thank you. This is one of the irritating unknowns of a ‘clean install’, *mysql installed.
Useful in most cases
Perfect, that worked, Thanks!
Perfect solution that worked, Thanks!
Great advice. Found this using google search. Helped a lot. Thanks!!
thank you!
thanks mamennnn
thanks