Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

apache2 service Failed on restart - Failed to start apache2.service: Unit not found

Tags:

php

apache

server

when I try to restart the apache server I got following response.

Redirecting to /bin/systemctl start apache2.service

Failed to start apache2.service: Unit not found.

like image 844
Mahendra Pratap Avatar asked Mar 29 '19 13:03

Mahendra Pratap


1 Answers

You are using different service of apache.

run this if you are using the same service.

systemctl restart httpd

or

apachectl restart
like image 67
Kishan Patel Avatar answered Oct 23 '22 03:10

Kishan Patel