参考サイトの通り,apacheをダウンロードし設定ファイルを記載の通り設定した後で
systemctl restart httpd
のコマンドを実行すると以下のエラーコードが出てきます。
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2020-06-24 22:04:26 JST; 48s ago Docs: man:httpd(8) man:apachectl(8) Process: 12665 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 12663 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 12663 (code=exited, status=1/FAILURE) Jun 24 22:04:26 118-27-7-34 httpd[12663]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Jun 24 22:04:26 118-27-7-34 httpd[12663]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 Jun 24 22:04:26 118-27-7-34 httpd[12663]: no listening sockets available, shutting down Jun 24 22:04:26 118-27-7-34 httpd[12663]: AH00015: Unable to open logs Jun 24 22:04:26 118-27-7-34 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jun 24 22:04:26 118-27-7-34 kill[12665]: kill: cannot find process "" Jun 24 22:04:26 118-27-7-34 systemd[1]: httpd.service: control process exited, code=exited status=1 Jun 24 22:04:26 118-27-7-34 systemd[1]: Failed to start The Apache HTTP Server. Jun 24 22:04:26 118-27-7-34 systemd[1]: Unit httpd.service entered failed state. Jun 24 22:04:26 118-27-7-34 systemd[1]: httpd.service failed.
回答1件
あなたの回答
tips
プレビュー