2017-01-05 7 views
0

私は一瞬バグがあり、何が起きているのか分かりません。私は、次しまっHttpdがエラーなしで起動していません

systemctl start httpd.service 

を::

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. 

そして、ここでは、私はsystemctlステータスhttpd.serviceから得るものです:

janv. 05 13:51:14 systemd[1]: Starting The Apache HTTP Server... 
janv. 05 13:51:14 httpd[8566]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/virtualhosts/S01_namevirtualhost:2 
janv. 05 13:51:17 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE 
janv. 05 13:51:17 kill[8569]: kill: cannot find process "" 
janv. 05 13:51:17 systemd[1]: httpd.service: control process exited, code=exited status=1 
janv. 05 13:51:17 systemd[1]: Failed to start The Apache HTTP Server. 
janv. 05 13:51:17 systemd[1]: Unit httpd.service entered failed state. 
janv. 05 13:51:17 systemd[1]: httpd.service failed. 

また、ここでは

私は実行apachtctl configtestの結果です:

AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/virtualhosts/S01_namevirtualhost:2 
Syntax OK 

これはサーバーのSSL証明書を更新しようとした後に起こっていますが、古いキーファイルを戻しても同じ問題が発生します。私は何かを逃しているかもしれないが、私は何が分かりません。

+0

ホストがないようなサウンドはまったく定義されていません。 – arkascha

+0

@arkaschaしかし、apachectl -Sは私に正しいVHostsを与えています – Roshyo

+0

エラーログには何もありませんか? –

答えて

0

@Dusan Bajicのおかげで、私は忘れたログファイルをチェックしました。

は/ var/log/httpdの/ error_logに:私はケースの誰かにここに解決策を投稿

は同じ問題を持っている

[Thu Jan 05 14:50:11.311381 2017] [ssl:emerg] [pid 12726] AH02238: Unable to configure RSA server private key 
[Thu Jan 05 14:50:11.311404 2017] [ssl:emerg] [pid 12726] SSL Library Error: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch 

SSL用のキーが有効でないことを通知します。私はそれらを再作成し、それはすべて今良いです。

関連する問題