Hallo,
Erstmal Danke für deine tollen Anleitungen. Sehr hilfreich und inspirierend!
Hab heute mein ESP32-CAM Modul erhalten und hab mich nun gleich an die Installation des Apache2 Servers am Raspi 4 gemacht. Bekomme aber leider eine Fehlermeldung, dass der Apache server nicht gestartet werden kann . Hab auch keine Ahnung was ich machen kann. Habe am Ende des Codes auch die Ausgabe der beiden Befehle dokumentiert....sagt mir als Laie aber nicht wirklich viel.
Hoffentlich kann mir hierzu jmd helfen.
- pi@raspberrypi:~ $ sudo apt-get update
- OK:1 http://phoscon.de/apt/deconz buster InRelease
- Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
- Holen:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
- OK:4 https://deb.nodesource.com/node_14.x buster InRelease
- Holen:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB ]
- Holen:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13, 0 MB]
- Es wurden 13,5 MB in 12 s geholt (1.102 kB/s).
- Paketlisten werden gelesen... Fertig
- 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 libbrotli1 libjansson4 liblua5.2-0
- ssl-cert
- Vorgeschlagene Pakete:
- apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser
- openssl-blacklist
- Die folgenden NEUEN Pakete werden installiert:
- apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
- libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1 libjansson4 liblua5.2-0
- ssl-cert
- 0 aktualisiert, 12 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
- Es müssen 2.368 kB an Archiven heruntergeladen werden.
- Nach dieser Operation werden 7.401 kB Plattenplatz zusätzlich benutzt.
- Möchten Sie fortfahren? [J/n] j
- Holen:1 http://debian.anexia.at/raspbian/raspbian buster/main armhf libapr1 armh f 1.6.5-1 [83,3 kB]
- Holen:2 http://debian.anexia.at/raspbian/raspbian buster/main armhf libaprutil1 armhf 1.6.1-4 [81,7 kB]
- Holen:3 http://debian.anexia.at/raspbian/raspbian buster/main armhf libaprutil1- dbd-sqlite3 armhf 1.6.1-4 [17,3 kB]
- Holen:4 http://debian.anexia.at/raspbian/raspbian buster/main armhf libaprutil1- ldap armhf 1.6.1-4 [16,3 kB]
- Holen:5 http://debian.anexia.at/raspbian/raspbian buster/main armhf libbrotli1 a rmhf 1.0.7-2+deb10u1 [257 kB]
- Holen:6 http://debian.anexia.at/raspbian/raspbian buster/main armhf libjansson4 armhf 2.12-1 [34,6 kB]
- Holen:7 http://debian.anexia.at/raspbian/raspbian buster/main armhf liblua5.2-0 armhf 5.2.4-1.1+b1 [83,1 kB]
- Holen:8 http://debian.anexia.at/raspbian/raspbian buster/main armhf apache2-bin armhf 2.4.38-3+deb10u7 [1.122 kB]
- Holen:9 http://debian.anexia.at/raspbian/raspbian buster/main armhf apache2-data all 2.4.38-3+deb10u7 [165 kB]
- Holen:10 http://debian.anexia.at/raspbian/raspbian buster/main armhf apache2-uti ls armhf 2.4.38-3+deb10u7 [236 kB]
- Holen:11 http://debian.anexia.at/raspbian/raspbian buster/main armhf apache2 arm hf 2.4.38-3+deb10u7 [252 kB]
- Holen:12 http://debian.anexia.at/raspbian/raspbian buster/main armhf ssl-cert al l 1.0.39 [20,8 kB]
- Es wurden 2.368 kB in 5 s geholt (489 kB/s).
- Vorkonfiguration der Pakete ...
- Vormals nicht ausgewähltes Paket libapr1:armhf wird gewählt.
- (Lese Datenbank ... 62116 Dateien und Verzeichnisse sind derzeit installiert.)
- Vorbereitung zum Entpacken von .../00-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 .../01-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 .../02-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 .../03-libaprutil1-ldap_1.6.1-4_armhf.deb ...
- Entpacken von libaprutil1-ldap:armhf (1.6.1-4) ...
- Vormals nicht ausgewähltes Paket libbrotli1:armhf wird gewählt.
- Vorbereitung zum Entpacken von .../04-libbrotli1_1.0.7-2+deb10u1_armhf.deb ...
- Entpacken von libbrotli1:armhf (1.0.7-2+deb10u1) ...
- Vormals nicht ausgewähltes Paket libjansson4:armhf wird gewählt.
- Vorbereitung zum Entpacken von .../05-libjansson4_2.12-1_armhf.deb ...
- Entpacken von libjansson4:armhf (2.12-1) ...
- Vormals nicht ausgewähltes Paket liblua5.2-0:armhf wird gewählt.
- Vorbereitung zum Entpacken von .../06-liblua5.2-0_5.2.4-1.1+b1_armhf.deb ...
- Entpacken von liblua5.2-0:armhf (5.2.4-1.1+b1) ...
- Vormals nicht ausgewähltes Paket apache2-bin wird gewählt.
- Vorbereitung zum Entpacken von .../07-apache2-bin_2.4.38-3+deb10u7_armhf.deb ...
- Entpacken von apache2-bin (2.4.38-3+deb10u7) ...
- Vormals nicht ausgewähltes Paket apache2-data wird gewählt.
- Vorbereitung zum Entpacken von .../08-apache2-data_2.4.38-3+deb10u7_all.deb ...
- Entpacken von apache2-data (2.4.38-3+deb10u7) ...
- Vormals nicht ausgewähltes Paket apache2-utils wird gewählt.
- Vorbereitung zum Entpacken von .../09-apache2-utils_2.4.38-3+deb10u7_armhf.deb . ..
- Entpacken von apache2-utils (2.4.38-3+deb10u7) ...
- Vormals nicht ausgewähltes Paket apache2 wird gewählt.
- Vorbereitung zum Entpacken von .../10-apache2_2.4.38-3+deb10u7_armhf.deb ...
- Entpacken von apache2 (2.4.38-3+deb10u7) ...
- Vormals nicht ausgewähltes Paket ssl-cert wird gewählt.
- Vorbereitung zum Entpacken von .../11-ssl-cert_1.0.39_all.deb ...
- Entpacken von ssl-cert (1.0.39) ...
- libbrotli1:armhf (1.0.7-2+deb10u1) wird eingerichtet ...
- libapr1:armhf (1.6.5-1) wird eingerichtet ...
- libjansson4:armhf (2.12-1) wird eingerichtet ...
- ssl-cert (1.0.39) wird eingerichtet ...
- liblua5.2-0:armhf (5.2.4-1.1+b1) wird eingerichtet ...
- apache2-data (2.4.38-3+deb10u7) 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+deb10u7) wird eingerichtet ...
- apache2-bin (2.4.38-3+deb10u7) wird eingerichtet ...
- apache2 (2.4.38-3+deb10u7) 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 → /l ib/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 cod e.
- 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 Mon 2022-02-21 19:23:26 CET; 25ms ag o
- Docs: https://httpd.apache.org/docs/2.4/
- Process: 31391 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAIL URE)
- Feb 21 19:23:26 raspberrypi apachectl[31391]: AH00558: apache2: Could not reliab ly determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
- Feb 21 19:23:26 raspberrypi apachectl[31391]: (98)Address already in use: AH0007 2: make_sock: could not bind to address [::]:80
- Feb 21 19:23:26 raspberrypi apachectl[31391]: (98)Address already in use: AH0007 2: make_sock: could not bind to address 0.0.0.0:80
- Feb 21 19:23:26 raspberrypi apachectl[31391]: no listening sockets available, sh utting down
- Feb 21 19:23:26 raspberrypi apachectl[31391]: AH00015: Unable to open logs
- Feb 21 19:23:26 raspberrypi apachectl[31391]: Action 'start' failed.
- Feb 21 19:23:26 raspberrypi apachectl[31391]: The Apache error log may have more information.
- Feb 21 19:23:26 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
- Feb 21 19:23:26 raspberrypi systemd[1]: apache2.service: Failed with result 'exi t-code'.
- Feb 21 19:23:26 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
- Trigger für systemd (241-7~deb10u8+rpi1) werden verarbeitet ...
- Trigger für man-db (2.8.5-2) werden verarbeitet ...
- Trigger für libc-bin (2.28-10+rpt2+rpi1) werden verarbeitet ...
- pi@raspberrypi:~ $ sudo apt-get install php
- Paketlisten werden gelesen... Fertig
- Abhängigkeitsbaum wird aufgebaut.
- Statusinformationen werden eingelesen.... Fertig
- Die folgenden zusätzlichen Pakete werden installiert:
- libapache2-mod-php7.3 libsodium23 php-common php7.3 php7.3-cli php7.3-common
- php7.3-json php7.3-opcache php7.3-readline
- Vorgeschlagene Pakete:
- php-pear
- Die folgenden NEUEN Pakete werden installiert:
- libapache2-mod-php7.3 libsodium23 php php-common php7.3 php7.3-cli
- php7.3-common php7.3-json php7.3-opcache php7.3-readline
- 0 aktualisiert, 10 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
- Es müssen 3.124 kB an Archiven heruntergeladen werden.
- Nach dieser Operation werden 14,4 MB Plattenplatz zusätzlich benutzt.
- Möchten Sie fortfahren? [J/n] j
- Holen:1 http://debian.anexia.at/raspbian/raspbian buster/main armhf php-common a ll 2:69 [15,0 kB]
- Holen:2 http://debian.anexia.at/raspbian/raspbian buster/main armhf php7.3-commo n armhf 7.3.31-1~deb10u1 [527 kB]
- Holen:3 http://debian.anexia.at/raspbian/raspbian buster/main armhf php7.3-json armhf 7.3.31-1~deb10u1 [16,2 kB]
- Holen:4 http://debian.anexia.at/raspbian/raspbian buster/main armhf php7.3-opcac he armhf 7.3.31-1~deb10u1 [155 kB]
- Holen:5 http://debian.anexia.at/raspbian/raspbian buster/main armhf php7.3-readl ine armhf 7.3.31-1~deb10u1 [10,7 kB]
- Holen:6 http://debian.anexia.at/raspbian/raspbian buster/main armhf libsodium23 armhf 1.0.17-1 [139 kB]
- Holen:7 http://debian.anexia.at/raspbian/raspbian buster/main armhf php7.3-cli a rmhf 7.3.31-1~deb10u1 [1.127 kB]
- Holen:8 http://debian.anexia.at/raspbian/raspbian buster/main armhf libapache2-m od-php7.3 armhf 7.3.31-1~deb10u1 [1.082 kB]
- Holen:9 http://debian.anexia.at/raspbian/raspbian buster/main armhf php7.3 all 7 .3.31-1~deb10u1 [47,3 kB]
- Holen:10 http://debian.anexia.at/raspbian/raspbian buster/main armhf php all 2:7 .3+69 [5.964 B]
- Es wurden 3.124 kB in 4 s geholt (892 kB/s).
- Vormals nicht ausgewähltes Paket php-common wird gewählt.
- (Lese Datenbank ... 62857 Dateien und Verzeichnisse sind derzeit installiert.)
- Vorbereitung zum Entpacken von .../0-php-common_2%3a69_all.deb ...
- Entpacken von php-common (2:69) ...
- Vormals nicht ausgewähltes Paket php7.3-common wird gewählt.
- Vorbereitung zum Entpacken von .../1-php7.3-common_7.3.31-1~deb10u1_armhf.deb .. .
- Entpacken von php7.3-common (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket php7.3-json wird gewählt.
- Vorbereitung zum Entpacken von .../2-php7.3-json_7.3.31-1~deb10u1_armhf.deb ...
- Entpacken von php7.3-json (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket php7.3-opcache wird gewählt.
- Vorbereitung zum Entpacken von .../3-php7.3-opcache_7.3.31-1~deb10u1_armhf.deb . ..
- Entpacken von php7.3-opcache (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket php7.3-readline wird gewählt.
- Vorbereitung zum Entpacken von .../4-php7.3-readline_7.3.31-1~deb10u1_armhf.deb ...
- Entpacken von php7.3-readline (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket libsodium23:armhf wird gewählt.
- Vorbereitung zum Entpacken von .../5-libsodium23_1.0.17-1_armhf.deb ...
- Entpacken von libsodium23:armhf (1.0.17-1) ...
- Vormals nicht ausgewähltes Paket php7.3-cli wird gewählt.
- Vorbereitung zum Entpacken von .../6-php7.3-cli_7.3.31-1~deb10u1_armhf.deb ...
- Entpacken von php7.3-cli (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket libapache2-mod-php7.3 wird gewählt.
- Vorbereitung zum Entpacken von .../7-libapache2-mod-php7.3_7.3.31-1~deb10u1_armh f.deb ...
- Entpacken von libapache2-mod-php7.3 (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket php7.3 wird gewählt.
- Vorbereitung zum Entpacken von .../8-php7.3_7.3.31-1~deb10u1_all.deb ...
- Entpacken von php7.3 (7.3.31-1~deb10u1) ...
- Vormals nicht ausgewähltes Paket php wird gewählt.
- Vorbereitung zum Entpacken von .../9-php_2%3a7.3+69_all.deb ...
- Entpacken von php (2:7.3+69) ...
- php-common (2:69) wird eingerichtet ...
- Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
- libsodium23:armhf (1.0.17-1) wird eingerichtet ...
- php7.3-common (7.3.31-1~deb10u1) wird eingerichtet ...
- Creating config file /etc/php/7.3/mods-available/calendar.ini with new version
- Creating config file /etc/php/7.3/mods-available/ctype.ini with new version
- Creating config file /etc/php/7.3/mods-available/exif.ini with new version
- Creating config file /etc/php/7.3/mods-available/fileinfo.ini with new version
- Creating config file /etc/php/7.3/mods-available/ftp.ini with new version
- Creating config file /etc/php/7.3/mods-available/gettext.ini with new version
- Creating config file /etc/php/7.3/mods-available/iconv.ini with new version
- Creating config file /etc/php/7.3/mods-available/pdo.ini with new version
- Creating config file /etc/php/7.3/mods-available/phar.ini with new version
- Creating config file /etc/php/7.3/mods-available/posix.ini with new version
- Creating config file /etc/php/7.3/mods-available/shmop.ini with new version
- Creating config file /etc/php/7.3/mods-available/sockets.ini with new version
- Creating config file /etc/php/7.3/mods-available/sysvmsg.ini with new version
- Creating config file /etc/php/7.3/mods-available/sysvsem.ini with new version
- Creating config file /etc/php/7.3/mods-available/sysvshm.ini with new version
- Creating config file /etc/php/7.3/mods-available/tokenizer.ini with new version
- php7.3-opcache (7.3.31-1~deb10u1) wird eingerichtet ...
- Creating config file /etc/php/7.3/mods-available/opcache.ini with new version
- php7.3-json (7.3.31-1~deb10u1) wird eingerichtet ...
- Creating config file /etc/php/7.3/mods-available/json.ini with new version
- php7.3-readline (7.3.31-1~deb10u1) wird eingerichtet ...
- Creating config file /etc/php/7.3/mods-available/readline.ini with new version
- php7.3-cli (7.3.31-1~deb10u1) wird eingerichtet ...
- update-alternatives: /usr/bin/php7.3 wird verwendet, um /usr/bin/php (php) im au tomatischen Modus bereitzustellen
- update-alternatives: /usr/bin/phar7.3 wird verwendet, um /usr/bin/phar (phar) im automatischen Modus bereitzustellen
- update-alternatives: /usr/bin/phar.phar7.3 wird verwendet, um /usr/bin/phar.phar (phar.phar) im automatischen Modus bereitzustellen
- Creating config file /etc/php/7.3/cli/php.ini with new version
- libapache2-mod-php7.3 (7.3.31-1~deb10u1) wird eingerichtet ...
- Creating config file /etc/php/7.3/apache2/php.ini with new version
- Module mpm_event disabled.
- Enabling module mpm_prefork.
- apache2_switch_mpm Switch to prefork
- Job for apache2.service failed because the control process exited with error cod e.
- See "systemctl status apache2.service" and "journalctl -xe" for details.
- invoke-rc.d: initscript apache2, action "restart" failed.
- ● apache2.service - The Apache HTTP Server
- Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2022-02-21 19:24:31 CET; 23ms ag o
- Docs: https://httpd.apache.org/docs/2.4/
- Process: 6182 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILU RE)
- Feb 21 19:24:31 raspberrypi apachectl[6182]: AH00558: apache2: Could not reliabl y determine the server's fully qualified domain name, using 127.0.1.1. Set the ' ServerName' directive globally to suppress this message
- Feb 21 19:24:31 raspberrypi apachectl[6182]: (98)Address already in use: AH00072 : make_sock: could not bind to address [::]:80
- Feb 21 19:24:31 raspberrypi apachectl[6182]: (98)Address already in use: AH00072 : make_sock: could not bind to address 0.0.0.0:80
- Feb 21 19:24:31 raspberrypi apachectl[6182]: no listening sockets available, shu tting down
- Feb 21 19:24:31 raspberrypi apachectl[6182]: AH00015: Unable to open logs
- Feb 21 19:24:31 raspberrypi apachectl[6182]: Action 'start' failed.
- Feb 21 19:24:31 raspberrypi apachectl[6182]: The Apache error log may have more information.
- Feb 21 19:24:31 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
- Feb 21 19:24:31 raspberrypi systemd[1]: apache2.service: Failed with result 'exi t-code'.
- Feb 21 19:24:31 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
- apache2_invoke: Enable module php7.3
- Job for apache2.service failed because the control process exited with error cod e.
- See "systemctl status apache2.service" and "journalctl -xe" for details.
- invoke-rc.d: initscript apache2, action "restart" failed.
- ● apache2.service - The Apache HTTP Server
- Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2022-02-21 19:24:33 CET; 22ms ag o
- Docs: https://httpd.apache.org/docs/2.4/
- Process: 6236 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILU RE)
- Feb 21 19:24:33 raspberrypi apachectl[6236]: AH00558: apache2: Could not reliabl y determine the server's fully qualified domain name, using 127.0.1.1. Set the ' ServerName' directive globally to suppress this message
- Feb 21 19:24:33 raspberrypi apachectl[6236]: (98)Address already in use: AH00072 : make_sock: could not bind to address [::]:80
- Feb 21 19:24:33 raspberrypi apachectl[6236]: (98)Address already in use: AH00072 : make_sock: could not bind to address 0.0.0.0:80
- Feb 21 19:24:33 raspberrypi apachectl[6236]: no listening sockets available, shu tting down
- Feb 21 19:24:33 raspberrypi apachectl[6236]: AH00015: Unable to open logs
- Feb 21 19:24:33 raspberrypi apachectl[6236]: Action 'start' failed.
- Feb 21 19:24:33 raspberrypi apachectl[6236]: The Apache error log may have more information.
- Feb 21 19:24:33 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
- Feb 21 19:24:33 raspberrypi systemd[1]: apache2.service: Failed with result 'exi t-code'.
- Feb 21 19:24:33 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
- php7.3 (7.3.31-1~deb10u1) wird eingerichtet ...
- php (2:7.3+69) wird eingerichtet ...
- Trigger für man-db (2.8.5-2) werden verarbeitet ...
- Trigger für libc-bin (2.28-10+rpt2+rpi1) werden verarbeitet ...
- pi@raspberrypi:~ $ sudo mkdir /var/www/html/upload
- pi@raspberrypi:~ $ sudo nano /var/www/html/upload.php
- pi@raspberrypi:~ $ sudo chmod 755 /var/www/html/upload.php
- pi@raspberrypi:~ $ sudo chown -R www-data /var/www/html/upload.php
- pi@raspberrypi:~ $ sudo chown -R www-data /var/www/html/upload
- pi@raspberrypi:~ $ systemctl status apache2.service
- ● apache2.service - The Apache HTTP Server
- Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2022-02-21 19:24:33 CET; 14min ago
- Docs: https://httpd.apache.org/docs/2.4/
- Process: 6236 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
- Feb 21 19:24:33 raspberrypi apachectl[6236]: AH00558: apache2: Could not reliably determine the server's fully
- Feb 21 19:24:33 raspberrypi apachectl[6236]: (98)Address already in use: AH00072: make_sock: could not bind to
- Feb 21 19:24:33 raspberrypi apachectl[6236]: (98)Address already in use: AH00072: make_sock: could not bind to
- Feb 21 19:24:33 raspberrypi apachectl[6236]: no listening sockets available, shutting down
- Feb 21 19:24:33 raspberrypi apachectl[6236]: AH00015: Unable to open logs
- Feb 21 19:24:33 raspberrypi apachectl[6236]: Action 'start' failed.
- Feb 21 19:24:33 raspberrypi apachectl[6236]: The Apache error log may have more information.
- Feb 21 19:24:33 raspberrypi systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
- Feb 21 19:24:33 raspberrypi systemd[1]: apache2.service: Failed with result 'exit-code'.
- Feb 21 19:24:33 raspberrypi systemd[1]: Failed to start The Apache HTTP Server.
- ...skipping...
- ● apache2.service - The Apache HTTP Server
- Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2022-02-21 19:24:33 CET; 14min ago
- Docs: https://httpd.apache.org/docs/2.4/
- Process: 6236 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
- pi@raspberrypi:~ $ journalctl -xe
- Feb 21 19:39:32 raspberrypi bash[3932]: errno: -113,
- Feb 21 19:39:32 raspberrypi bash[3932]: code: 'EHOSTUNREACH',
- Feb 21 19:39:32 raspberrypi bash[3932]: syscall: 'connect',
- Feb 21 19:39:32 raspberrypi bash[3932]: address: '192.168.1.181',
- Feb 21 19:39:32 raspberrypi bash[3932]: port: 9999
- Feb 21 19:39:32 raspberrypi bash[3932]: }
- Feb 21 19:39:53 raspberrypi bash[3932]: cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: Keine Berec
- Feb 21 19:40:02 raspberrypi bash[3932]: TCP 192.168.1.181:9999 Error: connect EHOSTUNREACH 192.168.1.181:9999
- Feb 21 19:40:02 raspberrypi bash[3932]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
- Feb 21 19:40:02 raspberrypi bash[3932]: errno: -113,
- Feb 21 19:40:02 raspberrypi bash[3932]: code: 'EHOSTUNREACH',
- Feb 21 19:40:02 raspberrypi bash[3932]: syscall: 'connect',
- Feb 21 19:40:02 raspberrypi bash[3932]: address: '192.168.1.181',
- Feb 21 19:40:02 raspberrypi bash[3932]: port: 9999
- Feb 21 19:40:02 raspberrypi bash[3932]: }
- Feb 21 19:40:32 raspberrypi bash[3932]: TCP 192.168.1.181:9999 Error: connect EHOSTUNREACH 192.168.1.181:9999
- Feb 21 19:40:32 raspberrypi bash[3932]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16) {
- Feb 21 19:40:32 raspberrypi bash[3932]: errno: -113,
- Feb 21 19:40:32 raspberrypi bash[3932]: code: 'EHOSTUNREACH',
- Feb 21 19:40:32 raspberrypi bash[3932]: syscall: 'connect',
- Feb 21 19:40:32 raspberrypi bash[3932]: address: '192.168.1.181',
- Feb 21 19:40:32 raspberrypi bash[3932]: port: 9999
- Feb 21 19:40:32 raspberrypi bash[3932]: }
Alles anzeigen
Danke