httpd aws ec2 linuxを再起動します。私は端末に次のコマンドを書きます。sudo service httpd restartエラーまたはssl.confを返します。
sudo service httpd restart
ただし、次のエラーが発生します。
Starting httpd: AH00526: Syntax error on line 18 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Starting httpd: AH00526: Syntax error on line 23 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLSessionCache', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
私が行にコメントすると、以下のエラーが表示されます。
Starting httpd: AH00526: Syntax error on line 24 of /etc/httpd/conf.d/ssl.conf:
Invalid command 'SSLSessionCacheTimeout', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
私はその行をコメントする必要があると思います。 現在、私はssl.confは必要ありません。 私はhttpdを再起動するときにそれを呼びたくありません。 どうすればいいですか?
おかげ
どのようにコメントアウトしましたか? –
@ThanhNguyenVan: - はい私は24行目の先頭にある# –
2番目のエラーログは最初のエラーログと同じですが、SSLSessionCacheTimeoutの前に '#'をコメントアウトしていますか? 'line –