I started with a clean install of Ubuntu Server 16.04.1. Then installed
Apache 2
MAriaDB 10.0.28
PHP 7.0
Did some test and everything was working fine.
Then started the VirtualMin installation script and saw in the virtualmin-install.log that MariaDB is being installed and instead MySQL 5.7 is automatically installed (by VirtualMin).
Does that mean VirtualMin is not supporting MariaDB?
Virtualmin will support native software what it comes with specific OS. Ubuntu default is MySQL so Virtualmin is looking for that instead of MariaDB. You will need to manually make adjustments.
It’s not a clean install as you already had installed apache2 and PHP etc. Virtualmin installs all these automatically.
Instead you should wipe it, install Virtualmin as the first thing you do (after securing your server of course) and then install MariaDB.
That works perfectly.
After Virtualmin is installed and upp and runing. Install mariaDB repo do yum update mariaDB are isntaled and working.
Rerun “Post-Installation Wizard”
On DB config. "MySQL could not be started with the new configuration : Redirecting to /bin/systemctl start mariadb.service Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details. . The old configuration has been restored.!
Oct 06 11:44:41 SERVER mysqld[16579]: 2017-10-06 11:44:41 139919386093696 [Note] InnoDB: Starting shutdown…
Oct 06 11:44:41 SERVER mysqld[16579]: 2017-10-06 11:44:41 139919386093696 [ERROR] Plugin ‘InnoDB’ init function returned error.
Oct 06 11:44:41 SERVER mysqld[16579]: 2017-10-06 11:44:41 139919386093696 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
Oct 06 11:44:41 SERVER mysqld[16579]: 2017-10-06 11:44:41 139919386093696 [Note] Plugin ‘FEEDBACK’ is disabled.
Oct 06 11:44:41 SERVER mysqld[16579]: 2017-10-06 11:44:41 139919386093696 [ERROR] Unknown/unsupported storage engine: InnoDB
Oct 06 11:44:41 SERVER mysqld[16579]: 2017-10-06 11:44:41 139919386093696 [ERROR] Aborting
Oct 06 11:44:41 SERVER systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Oct 06 11:44:41 SERVER systemd[1]: Failed to start MariaDB database server.
Oct 06 11:44:41 SERVER systemd[1]: Unit mariadb.service entered failed state.
Oct 06 11:44:41 SERVER systemd[1]: mariadb.service failed.
MariaDB are runing fine.
Control for Maria DB are not working in webmin.
Not a big isue. Evryting works exept control and wizard.
What do you mean? MariaDB is fully supported in Webmin’s MySQL module.
If you’ve migrated to a different version of mariadb (I see “galera” mentioned above, which makes me think you have installed a third-party package), you must update Webmin’s MySQL module to know where all the new file and configurations live.