前提・実現したいこと
EC2インスタンス上でApacheの起動を行いたいのですが下記のエラーが出ます。
AWSへのデプロイは https://qiita.com/naoki_mochizuki/items/814e0979217b1a25aa3e の記事を参考にしました。
発生している問題・エラーメッセージ
$ sudo 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 status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-07-31 12:21:52 UTC; 1min 10s ago Docs: man:httpd.service(8) Process: 14296 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 14296 (code=exited, status=1/FAILURE) Status: "Reading configuration..."
$journalctl -xe -- Logs begin at Fri 2020-07-31 12:08:39 UTC, end at Fri 2020-07-31 12:08:47 UTC Jul 31 12:08:39 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13751]: Recei Jul 31 12:08:39 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13751]: Disco Jul 31 12:08:47 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13966]: Recei Jul 31 12:08:47 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13966]: Disco lines 1-5/5 (END)...skipping... -- Logs begin at Fri 2020-07-31 12:08:39 UTC, end at Fri 2020-07-31 12:08:47 UTC. -- Jul 31 12:08:39 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13751]: Received disconnect from 126.3.39.230 port 57188:11: disconnected by user Jul 31 12:08:39 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13751]: Disconnected from 126.3.39.230 port 57188 Jul 31 12:08:47 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13966]: Received disconnect from 126.3.39.230 port 57279:11: disconnected by user Jul 31 12:08:47 ip-10-0-0-145.ap-northeast-1.compute.internal sshd[13966]: Disconnected from 126.3.39.230 port 57279
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/08/01 11:04
2020/08/01 19:51