问题遇到的现象和发生背景
ubuntu 启动apache2失败,请看看是怎么回事
问题相关代码,请勿粘贴截图
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Fri 2022-07-15 22:40:52 CST; 31mi>
Docs: https://httpd.apache.org/docs/2.4/
CPU: 20ms
7月 15 22:40:52 admin apachectl[30062]: AH00558: apache2: Could not reliably de>
7月 15 22:40:52 admin apachectl[30062]: (98)Address already in use: AH00072: ma>
7月 15 22:40:52 admin apachectl[30062]: (98)Address already in use: AH00072: ma>
7月 15 22:40:52 admin apachectl[30062]: no listening sockets available, shuttin>
7月 15 22:40:52 admin apachectl[30062]: AH00015: Unable to open logs
7月 15 22:40:52 admin apachectl[30052]: Action 'start' failed.
7月 15 22:40:52 admin apachectl[30052]: The Apache error log may have more info>
7月 15 22:40:52 admin systemd[1]: apache2.service: Control process exited, code>
7月 15 22:40:52 admin systemd[1]: apache2.service: Failed with result 'exit-cod>
7月 15 22:40:52 admin systemd[1]: Failed to start The Apache HTTP Server.