Errors with migrating from MariaDB 10.0 to 10.1

Posted November 3, 2017 2.2k views
MariaDBUbuntu 16.04

During normal periodic patching sudo apt-get update & upgrade produces an upgrade failure which has me stumped. MariaDB errors out with the following:

“Setting up mariadb-server-10.1
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service” and journalctl -xe" for details.

Drop-In" /etc/systemd/system/mariadb.service.d
migrated-from-my.cnf-settings.conf, service.conf
Active: FAILED (result: exit-code)

It then says “Status: MariaDB Server is down” and further down it indicated that Package mariadb-server-10.1 is not configured yet. Error processing package mariadb-server - leaving unconfigured.

Every night MariaDB now crashes and it appears to be a memory leak perhaps due to a nightly backup which may not be completing.

I have tried removing MariaDB and reinstalling and it does not seem to be the issue. I can restart the service and it will keep working for another day but I would like to figure out what is holding back the upgrade to 10.1.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!