Apache server fail to start in ubuntu

apache-2.2

when I am trying to start or stop or restart the apache server in Ubuntu. It's going to fail and no error is showing. Only following is displayed:

# /etc/init.d/httpd start
Starting httpd:                                            [FAILED]
# /etc/init.d/httpd stop
Stopping httpd:                                            [FAILED]

Best Answer

From the Apache documentation:

You can check your configuration files for syntax errors without starting the server by using apachectl configtest or the -t command line option.