Unable to Restart Apache Server

Posted August 9, 2015 6.5k views
Linux BasicsCentOSApache

Whenever I am trying to restart my apache server , I am getting this error

My server is Centos 7
Please help me.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You’re on CentOS so the Apache package is named as httpd. Try:

sudo service httpd restart