"The process /usr/libexec/mariadb-prepare-db-dir could not be executed and failed"

You are viewing an old version of this question. View the current version here.

I can't figure out why MariaDB fails to start. I remember it was working fine yesterday. What could be the issue?

Aug 21 13:50:46 sd-ac41-eb59.nam.nsroot.net systemd[1]: Starting MariaDB database server...
-- Subject: Unit mariadb.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mariadb.service has begun starting up.
Aug 21 13:50:46 sd-ac41-eb59.nam.nsroot.net systemd[3960]: Failed at step USER spawning /usr/libexec/mariadb-prepare-db-dir: No such process
-- Subject: Process /usr/libexec/mariadb-prepare-db-dir could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The process /usr/libexec/mariadb-prepare-db-dir could not be executed and failed.
--
-- The error number returned by this process is 3.
Aug 21 13:50:46 sd-ac41-eb59.nam.nsroot.net systemd[1]: mariadb.service: control process exited, code=exited status=217
Aug 21 13:50:46 sd-ac41-eb59.nam.nsroot.net systemd[1]: Failed to start MariaDB database server.
-- Subject: Unit mariadb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mariadb.service has failed.
--
-- The result is failed.
Aug 21 13:50:46 sd-ac41-eb59.nam.nsroot.net systemd[1]: Unit mariadb.service entered failed state.
Aug 21 13:50:46 sd-ac41-eb59.nam.nsroot.net systemd[1]: mariadb.service failed.

Answer

Check that /usr/libexec/mariadb-prepare-db-dir exists and can be executed by root. Note that the right place to report bugs, problems or feature requests is not the KB but the MariaDB bug database. If the problem still exists, please provide a detailed bug report so that our developer and QA teams can try to help you with the issue.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.