MariaDB unable to auto-start on system reboot

Solution Verified - Updated -

Issue

  • MariaDB service unable to start on reboot even though its enabled.
  • MariaDB fails to starts with Unknown group 'mysql'.

    Oct 23 08:19:16 example.com systemd-tmpfiles[771]: [/usr/lib/tmpfiles.d/mariadb.conf:1] Unknown group 'mysql'.
    Oct 23 08:19:16 example.com systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, 
    status=1/FAILURE
    Oct 23 08:19:16 example.com systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content