
新しいコンピュータ (Dell XPS 13 Plus) に Ubuntu 22.04 を新規インストールする
systemctl apache2 を起動します
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
systemctl ステータス apache2.service
Nov 09 21:41:49 seb-XPS-9320 apachectl[21340]: [Wed Nov 09 21:41:49.267432 2022]
[so:warn] [pid 21340] AH01574: module php7_module is already loaded, skipping
Nov 09 21:41:49 seb-XPS-9320 apachectl[21340]: [Wed Nov 09 21:41:49.267439 2022] [so:warn] [pid 21340] AH01574: module reqtimeout_module is already loaded, skipping
Nov 09 21:41:49 seb-XPS-9320 apachectl[21340]: [Wed Nov 09 21:41:49.267446 2022] [so:warn] [pid 21340] AH01574: module setenvif_module is already loaded, skipping
Nov 09 21:41:49 seb-XPS-9320 apachectl[21340]: [Wed Nov 09 21:41:49.267453 2022] [so:warn] [pid 21340] AH01574: module status_module is already loaded, skipping
Nov 09 21:41:49 seb-XPS-9320 apachectl[21340]: apache2: Syntax error on line 261 of /etc/apache2/apache2.conf: Syntax error on line 256 of /etc/apache2/sites-enabled/apache2.conf: Syntax error on line 2>
Nov 09 21:41:49 seb-XPS-9320 apachectl[21337]: Action 'start' failed.
Nov 09 21:41:49 seb-XPS-9320 apachectl[21337]: The Apache error log may have more information.
Nov 09 21:41:49 seb-XPS-9320 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Nov 09 21:41:49 seb-XPS-9320 systemd[1]: apache2.service: Failed with result 'exit-code'.
Nov 09 21:41:49 seb-XPS-9320 systemd[1]: Failed to start The Apache HTTP Server.
これは/etc/apache2/apache2.confの261行目にあるコードです。
IncludeOptional sites-enabled/*.conf
これは/etc/apache2/sites-enabled/apache2.confの256行目にあるコードです。
IncludeOptional sites-enabled/*.conf
これらの行の何が問題なのでしょうか?