Ask Your Question
0

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

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

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 -0600

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

Question Tools

1 follower

Stats

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

Seen: 519 times

Last updated: Sep 05 '18