すみません、サーバー設定初心者です。
基本的な質問で恐縮ですが、SSLの設定後、apacheが再起動せず困っています。
すみませんが、アドバイスをお願いいたします。
環境:
・AWS EC2
・Amazon Linux AMI 2017.03.0 (HVM), SSD Volume Type
・apacheインストール済み
・SSLはRapidSSL Wildcard
状況(というか推移)
https://teratail.com/questions/80291
・以下の記事の「Apacheへの設定手順」を見ながらssl.confを設定する。
http://dev.classmethod.jp/cloud/aws/amazonlinux-apache24-ssl/
特に上記記事の中盤からの
- 証明書ファイルをAmazon Linux上に配置
- 設定ファイル(/etc/httpd/conf.d/ssl.conf)の編集
- 設定ファイルの文法確認
ここまでは出来たのですが、
- Apacheサービスの再起動
をしたところで
Starting httpd: [FAILED]
になってしまいました。
初歩的な質問で大変恐縮なのですが、アドバイスをお願いいたします。
以下、追記しました。
[root@ip-10-0-1-106 ec2-user]# apachectl configtest Syntax OK
/var/log/httpd/error_log
の以下、ログです。
[Wed Jun 14 02:24:05.315997 2017] [suexec:notice] [pid 3582] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed Jun 14 02:24:05.335106 2017] [auth_digest:notice] [pid 3583] AH01757: generating secret for digest authentication ... [Wed Jun 14 02:24:05.335669 2017] [lbmethod_heartbeat:notice] [pid 3583] AH02282: No slotmem from mod_heartmonitor [Wed Jun 14 02:24:05.406479 2017] [mpm_prefork:notice] [pid 3583] AH00163: Apache/2.4.25 (Amazon) PHP/5.6.30 configured -- resuming normal operations [Wed Jun 14 02:24:05.406497 2017] [core:notice] [pid 3583] AH00094: Command line: '/usr/sbin/httpd' [Wed Jun 14 02:24:24.219474 2017] [mpm_prefork:notice] [pid 3583] AH00173: SIGHUP received. Attempting to restart [Wed Jun 14 02:24:24.243084 2017] [auth_digest:notice] [pid 3583] AH01757: generating secret for digest authentication ... [Wed Jun 14 02:24:24.243616 2017] [lbmethod_heartbeat:notice] [pid 3583] AH02282: No slotmem from mod_heartmonitor [Wed Jun 14 02:24:24.267957 2017] [mpm_prefork:notice] [pid 3583] AH00163: Apache/2.4.25 (Amazon) PHP/5.6.30 configured -- resuming normal operations [Wed Jun 14 02:24:24.267973 2017] [core:notice] [pid 3583] AH00094: Command line: '/usr/sbin/httpd' [Wed Jun 14 03:47:36.064443 2017] [mpm_prefork:notice] [pid 3583] AH00169: caught SIGTERM, shutting down [Wed Jun 14 03:47:36.195614 2017] [suexec:notice] [pid 5019] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00016: Configuration Failed [Wed Jun 14 03:47:43.872555 2017] [suexec:notice] [pid 5044] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00016: Configuration Failed [Wed Jun 14 03:47:57.397719 2017] [suexec:notice] [pid 5064] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00016: Configuration Failed [Wed Jun 14 03:48:39.373990 2017] [suexec:notice] [pid 5091] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
/var/log/httpd/ssl_error_log
の以下、ログです。
[Wed Jun 14 03:47:36.197396 2017] [ssl:emerg] [pid 5019] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 03:47:43.872945 2017] [ssl:emerg] [pid 5044] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 03:47:57.398084 2017] [ssl:emerg] [pid 5064] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 03:48:39.374399 2017] [ssl:emerg] [pid 5091] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 03:49:05.355424 2017] [ssl:emerg] [pid 5116] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 04:02:05.727043 2017] [ssl:emerg] [pid 5200] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 04:02:40.616659 2017] [ssl:emerg] [pid 5232] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$ [Wed Jun 14 04:16:50.556511 2017] [ssl:emerg] [pid 5267] AH02565: Certificate and private key ip-10-0-1-106.ap-northeast-1.compute.internal:443:0 from /etc/pki/tls/certs/localhost.crt and /e$

回答1件
あなたの回答
tips
プレビュー