Whenever I am trying to restart my apache server , I am getting this error http://i.imgur.com/KqBf3UN.png

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.

1 answer

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

sudo service httpd restart
Submit an Answer