Ask Your Question
0

Failed to restart mariadb.service: Unit mariadb.service not found.

asked 2018-09-05 05:29:34 -0500

Can anyone help me this. When I am trying to restart the service, by: service mariadb.service restart this output is given by the system: Failed to restart mariadb.service: Unit mariadb.service not found.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-05 09:07:19 -0500

florian gravatar image

Did you install mariadb-server?

If the install was successful, you should be able to start the service with

sudo systemctl start mariadb

Use sudo systemctl status mariadb to check the status.

If you want mariadb to start at boot:

sudo systemctl enable mariadb
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-09-05 05:29:34 -0500

Seen: 482 times

Last updated: Sep 05 '18