Apache webserver fails to start: suEXEC mechanism enabled

If apache server failed to restart like this :

sudo service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [FAILED]

then you need to check error logs which might be under this directory if you are running CentOS:


inside this directory you will see error_log. Open this file and read last few entries with:

trail -100 error_log

and if you spot that last few entries are like this :

[Fri Apr 14 19:59:25 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

Then probably you have mis-configured your ssl.conf file or its got corrupted. This file can be under directory:


now to fix this error you need to rename your existing ssl.conf file with mv command:

mv ssl.conf ssl.conf.old

and then create one new ssl.conf and put the defaults contents in it from this comment:

or download from attached post and rename from ssl.conf.txt to ssl.conf and save it on your server.

and press :wq to save and quit.

Now restart your apache server to see if problem is gone:

sudo service httpd restart

Stopping httpd: [ OK ]
Starting httpd: [ OK ]