Ich möchte auf einem Raspberry Pi 3 B+ gleichzeitig einen Webserver mit MySQL laufen lassen, wo ich ein paar Sensoren überwachen möchte.
Gleichzeitig soll Pi-Hole laufen.
Nun Pi-Hole ist schon installiert. Läuft.
Wollte jetzt Apache2 installieren:
Code
pi@raspberrypi:~ $ sudo apt-get install apache2
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
Vorgeschlagene Pakete:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom
openssl-blacklist
Die folgenden NEUEN Pakete werden installiert:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
0 aktualisiert, 9 neu installiert, 0 zu entfernen und 133 nicht aktualisiert.
Es müssen 1.993 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 6.237 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Holen:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf libapr1 armhf 1.6.5-1 [83,3 kB]
Holen:2 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf libaprutil1 armhf 1.6.1-4 [81,7 kB]
Holen:3 http://ftp.gwdg.de/pub/linux/debian/raspbian/raspbian buster/main armhf libaprutil1-dbd-sqlite3 armhf 1.6.1-4 [17,3 kB]
Holen:4 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian buster/main armhf libaprutil1-ldap armhf 1.6.1-4 [16,3 kB]
Holen:5 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf apache2-bin armhf 2.4.38-3 [1.122 kB]
Holen:6 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian buster/main armhf apache2-data all 2.4.38-3 [165 kB]
Holen:7 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf apache2-utils armhf 2.4.38-3 [235 kB]
Holen:8 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf apache2 armhf 2.4.38-3 [251 kB]
Holen:9 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster/main armhf ssl-cert all 1.0.39 [20,8 kB]
Es wurden 1.993 kB in 2 s geholt (1.129 kB/s).
Vorkonfiguration der Pakete ...
Vormals nicht ausgewähltes Paket libapr1:armhf wird gewählt.
(Lese Datenbank ... 152590 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../0-libapr1_1.6.5-1_armhf.deb ...
Entpacken von libapr1:armhf (1.6.5-1) ...
Vormals nicht ausgewähltes Paket libaprutil1:armhf wird gewählt.
Vorbereitung zum Entpacken von .../1-libaprutil1_1.6.1-4_armhf.deb ...
Entpacken von libaprutil1:armhf (1.6.1-4) ...
Vormals nicht ausgewähltes Paket libaprutil1-dbd-sqlite3:armhf wird gewählt.
Vorbereitung zum Entpacken von .../2-libaprutil1-dbd-sqlite3_1.6.1-4_armhf.deb ...
Entpacken von libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
Vormals nicht ausgewähltes Paket libaprutil1-ldap:armhf wird gewählt.
Vorbereitung zum Entpacken von .../3-libaprutil1-ldap_1.6.1-4_armhf.deb ...
Entpacken von libaprutil1-ldap:armhf (1.6.1-4) ...
Vormals nicht ausgewähltes Paket apache2-bin wird gewählt.
Vorbereitung zum Entpacken von .../4-apache2-bin_2.4.38-3_armhf.deb ...
Entpacken von apache2-bin (2.4.38-3) ...
Vormals nicht ausgewähltes Paket apache2-data wird gewählt.
Vorbereitung zum Entpacken von .../5-apache2-data_2.4.38-3_all.deb ...
Entpacken von apache2-data (2.4.38-3) ...
Vormals nicht ausgewähltes Paket apache2-utils wird gewählt.
Vorbereitung zum Entpacken von .../6-apache2-utils_2.4.38-3_armhf.deb ...
Entpacken von apache2-utils (2.4.38-3) ...
Vormals nicht ausgewähltes Paket apache2 wird gewählt.
Vorbereitung zum Entpacken von .../7-apache2_2.4.38-3_armhf.deb ...
Entpacken von apache2 (2.4.38-3) ...
Vormals nicht ausgewähltes Paket ssl-cert wird gewählt.
Vorbereitung zum Entpacken von .../8-ssl-cert_1.0.39_all.deb ...
Entpacken von ssl-cert (1.0.39) ...
libapr1:armhf (1.6.5-1) wird eingerichtet ...
ssl-cert (1.0.39) wird eingerichtet ...
apache2-data (2.4.38-3) wird eingerichtet ...
libaprutil1:armhf (1.6.1-4) wird eingerichtet ...
libaprutil1-ldap:armhf (1.6.1-4) wird eingerichtet ...
libaprutil1-dbd-sqlite3:armhf (1.6.1-4) wird eingerichtet ...
apache2-utils (2.4.38-3) wird eingerichtet ...
apache2-bin (2.4.38-3) wird eingerichtet ...
apache2 (2.4.38-3) wird eingerichtet ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "start" failed.
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-08-23 15:57:26 CEST; 30ms ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 6342 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Aug 23 15:57:25 raspberrypi apachectl[6342]: 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
Aug 23 15:57:25 raspberrypi apachectl[6342]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Aug 23 15:57:25 raspberrypi apachectl[6342]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Aug 23 15:57:25 raspberrypi apachectl[6342]: no listening sockets available, shutting down
Aug 23 15:57:25 raspberrypi apachectl[6342]: AH00015: Unable to open logs
Aug 23 15:57:25 raspberrypi apachectl[6342]: Action 'start' failed.
Aug 23 15:57:25 raspberrypi apachectl[6342]: The Apache error log may have more information.
Aug 23 15:57:26 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Aug 23 15:57:26 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 23 15:57:26 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
Trigger für systemd (241-5+rpi1) werden verarbeitet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
Trigger für libc-bin (2.28-10+rpi1) werden verarbeitet ...
Display More
Kann es sein, dass Pi-Hole und Apache sich beißen?