Code: Alles auswählen
# systemctl status apache2.service
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-04-17 11:38:04 CEST; 1min 16s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 1821 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 32ms
Apr 17 11:38:04 momo apachectl[1824]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Apr 17 11:38:04 momo apachectl[1824]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Apr 17 11:38:04 momo apachectl[1824]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Apr 17 11:38:04 momo apachectl[1824]: no listening sockets available, shutting down
Apr 17 11:38:04 momo apachectl[1824]: AH00015: Unable to open logs
Apr 17 11:38:04 momo apachectl[1821]: Action 'start' failed.
Apr 17 11:38:04 momo apachectl[1821]: The Apache error log may have more information.
Apr 17 11:38:04 momo systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 17 11:38:04 momo systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 17 11:38:04 momo systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
# journalctl -xeu apache2.service
Apr 17 11:38:04 momo systemd[1]: Starting apache2.service - The Apache HTTP Server...
░░ Subject: A start job for unit apache2.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit apache2.service has begun execution.
░░
░░ The job identifier is 709.
Apr 17 11:38:04 momo apachectl[1824]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Apr 17 11:38:04 momo apachectl[1824]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Apr 17 11:38:04 momo apachectl[1824]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Apr 17 11:38:04 momo apachectl[1824]: no listening sockets available, shutting down
Apr 17 11:38:04 momo apachectl[1824]: AH00015: Unable to open logs
Apr 17 11:38:04 momo apachectl[1821]: Action 'start' failed.
Apr 17 11:38:04 momo apachectl[1821]: The Apache error log may have more information.
Apr 17 11:38:04 momo systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 17 11:38:04 momo systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
Apr 17 11:38:04 momo systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
░░ Subject: A start job for unit apache2.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit apache2.service has finished with a failure.
░░
░░ The job identifier is 709 and the job result is failed.
PS: Ich nutze den Apache lediglich, um via phpmyadmin auf die Datenbank zuzugreifen. PHP ist Version 8.2. Die einzige Änderung gegenüber der Standardinstallation sind ein paar größere Werte in /etc/php/8.2/apache2/php.ini