Apacheの設定ファイルが正しいかhttpdを起動する前に確認する
/usr/sbin/apachectl configtest
設定ファイル(httpd.conf)に文法エラーが無ければ
Syntax OK と表示されるはず。
何らかのエラーがある場合は
Syntax error on line 31 of /etc/httpd/conf/httpd.conf:
Invalid command '¥x11', perhaps mis-spelled or defined by a module not included in the server configuration
などとエラーメッセージを表示する。
/etc/httpd/conf.d 以下にある設定ファイルはチェックされないので注意。