Comments - MariaDB won't start after reboot, Ubuntu 20.04.6, exit status 127

9 months ago Steve Healy

I found the solution - it's a conflict with apparmor.

These commands fixed it for me, although it also disables apparmor for mariadb:

sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
sudo systemctl restart mariadb
 
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.