I want to start web development and I was trying to install LAMP. I installed Apache using this tutorial but the command they give to start the apache server fails:systemctl start httpd.servicereturns Failed to restart httpd.service: Access deniedI googled it and couldn't find any solution, I'm stuck here. What can I do?
Fedora 22 - Failed to restart httpd.service: Access denied
fedora;apache httpd
Finally found a solution, it seems there is a bug in Fedora 22 that keeps the system from starting and restarting services.You have to re-execute systemd using systemctl daemon-reexecAfter that I was able to start the service.This solution works on Cent OS 7 as well.