Why is Apache not starting?

Dr
7

I set up my notebook over the weekend and am just getting my local server up and running again. Now hang on to Apache and don't know why or why people are beating around here. Does anyone have a good tip or advice?

[XXXXX @ archlinux ~] $ sudo systemctl start httpd
[XXXXX @ archlinux ~] $ sudo systemctl status httpd
● httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2020-04-05 16:50:51 CEST; 13s ago
Process: 23932 ExecStart = / usr / bin / httpd -k start -DFOREGROUND (code = exited, status = 1 / FAILURE)
Main PID: 23932 (code = exited, status = 1 / FAILURE)

Apr 05 4:50:51 pm archlinux systemd [1]: Started Apache Web Server.
Apr 05 4:50:51 pm archlinux httpd [23932]: AH00558: httpd: Could not reliably determine the server's fully qualified do>
Apr 05 4:50:51 pm archlinux httpd [23932]: (98) Address already in use: AH00072: make_sock: could not bind to address [:>
Apr 05 4:50:51 pm archlinux httpd [23932]: (98) Address already in use: AH00072: make_sock: could not bind to address 0.>
Apr 05 4:50:51 pm archlinux httpd [23932]: no listening sockets available, shutting down
Apr 05 4:50:51 pm archlinux httpd [23932]: AH00015: Unable to open logs
Apr 05 4:50:51 pm archlinux systemd [1]: httpd.service: Main process exited, code = exited, status = 1 / FAILURE
Apr 05 4:50:51 pm archlinux systemd [1]: httpd.service: Failed with result 'exit-code'.

je

Is there another web server running on the box?

Un

(98) Address already in use:

means that there's another program using the address (a 2nd Http server)

Dr

No, I don't have anything else running the same with me. I have already gone there and "switched" to the LTS kernel. I'm really at the end of my Latin and have been looking for the mistake myself for two hours. : - /

je

The error message says that the port is already in use → so something else must be running.

Dr

I've been on my feet a little longer now and I'm not getting so focused anymore. I have now rewritten the config, changed the port and lo and behold, it is running.

Dr

I've been on my feet a little longer now and I'm not getting so focused anymore. I have now rewritten the config, changed the port and lo and behold, it is running. Big thanks to you!

Ma

This is because Corona canceled all concerts.