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.
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.
2
Answers
You are using different service of apache.
run this if you are using the same service.
or
If you are using latest Linux try following
– Check your service name using following command
Above command will list all the services, find the right service name you want to restart
– use following to restart or reload service
e.g I use my restart service httpd24-httpd.service