Unit mariadb.service is masked

clean Ubuntu 20 + hestiaCP

# systemctl restart mariadb
Failed to restart mariadb.service: Unit mariadb.service is masked.

why? What should I do?
And after that, mariadb does not start by clicking on the button from the hestiaCP panel.

systemctl list-unit-files

изображение_2021-07-30_033623

It turned out to solve the problem like this
# sudo apt install mariadb-server mariadb-client
now:
изображение_2021-07-30_062832

the question is whether it is necessary to install the mariadb-client in this case?
And do the settings (configs), databases get lost when reinstalling?
Maybe there is some more correct method of solving the problem in the future?

We install already mariadb-client mariadb-common mariadb-server

Why is it that when I do
systemctl restart mariadb
it goes into the masked state and does not start at all until you reinstall it?
How to properly restart mariadb?

Service MySQL restart

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.