Apache2 erron dont work

root@hst:/etc/apache2# systemctl -l status apache2.service
* apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
     Active: failed (Result: exit-code) since Sat 2022-12-03 07:25:38 MSK; 4min>
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 25729 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/F>
        CPU: 56ms

Dec 03 07:25:38 hst.dmn.com systemd[1]: Starting The Apache HTTP Server...
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: AH00558: apache2: Could not rel>
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: (98)Address already in use: AH0>
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: no listening sockets available,>
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: AH00015: Unable to open logs
Dec 03 07:25:38 hst.dmn.com apachectl[25729]: Action 'start' failed.
Dec 03 07:25:38 hst.dmn.com apachectl[25729]: The Apache error log may have m>
Dec 03 07:25:38 hst.dmn.com systemd[1]: apache2.service: Control process exit>
Dec 03 07:25:38 hst.dmn.com systemd[1]: apache2.service: Failed with result '>
Dec 03 07:25:38 hst.dmn.com systemd[1]: Failed to start The Apache HTTP Serve>
lines 1-17/17 (END)...skipping...
* apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2022-12-03 07:25:38 MSK; 4min 3s ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 25729 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
        CPU: 56ms

Dec 03 07:25:38 hst.dmn.com systemd[1]: Starting The Apache HTTP Server...
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: AH00558: apache2: Could not reliably determine the server's fully quali>
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: (98)Address already in use: AH00072: make_sock: could not bind to addre>
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: no listening sockets available, shutting down
Dec 03 07:25:38 hst.dmn.com apachectl[25732]: AH00015: Unable to open logs
Dec 03 07:25:38 hst.dmn.com apachectl[25729]: Action 'start' failed.
Dec 03 07:25:38 hst.dmn.com apachectl[25729]: The Apache error log may have more information.
Dec 03 07:25:38 hst.dmn.com systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Dec 03 07:25:38 hst.dmn.com systemd[1]: apache2.service: Failed with result 'exit-code'.
Dec 03 07:25:38 hst.dmn.com systemd[1]: Failed to start The Apache HTTP Server.

you’ve there running something on the same socket. Have a look what it is, just google “how to find port using service” or similar.

1 Like