staging.inyokaproject.org

Apache lässt sich nicht starten

Status: Gelöst | Ubuntu-Version: Kubuntu 18.04 (Bionic Beaver)
Antworten |

dl8aax

Avatar von dl8aax

Anmeldungsdatum:
6. Mai 2016

Beiträge: 107

Moin,

Ich habe den Apachen installiert aber er lässt sich nicht starten

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
dirk@dirk-Inspiron-3531:~$ sudo /etc/init.d/apache2 start
[sudo] Passwort für dirk: 
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
 failed!
dirk@dirk-Inspiron-3531:~$ 

dirk@dirk-Inspiron-3531:~$ systemctl status apache2.service
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Thu 2020-04-16 19:00:57 CEST; 31s ago
  Process: 31804 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

Apr 16 19:00:57 dirk-Inspiron-3531 systemd[1]: Starting The Apache HTTP Server...
Apr 16 19:00:57 dirk-Inspiron-3531 apachectl[31804]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 1
Apr 16 19:00:57 dirk-Inspiron-3531 apachectl[31804]: Action 'start' failed.
Apr 16 19:00:57 dirk-Inspiron-3531 apachectl[31804]: The Apache error log may have more information.
Apr 16 19:00:57 dirk-Inspiron-3531 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 16 19:00:57 dirk-Inspiron-3531 systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 16 19:00:57 dirk-Inspiron-3531 systemd[1]: Failed to start The Apache HTTP Server.
dirk@dirk-Inspiron-3531:~$ 


dirk@dirk-Inspiron-3531:~$ journalctl -xe
Apr 16 19:01:56 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:01:57 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:01:57 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:01:58 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:01:58 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:01:59 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:01:59 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:00 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:00 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:01 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:01 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:02 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:02 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:03 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:03 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:04 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:04 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:05 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:05 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:06 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:06 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:07 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:07 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:08 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:08 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:09 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:09 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:10 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:10 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:11 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:11 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:12 dirk-Inspiron-3531 lircd[954]: lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
Apr 16 19:02:12 dirk-Inspiron-3531 lircd-0.10.0[954]: Error: Cannot glob /sys/class/rc/rc0/input[0-9]*/event[0-9]*
dirk@dirk-Inspiron-3531:~$ 

Hat jemand ne Idee ??

mfg Dirk

JensHol

Anmeldungsdatum:
31. Oktober 2017

Beiträge: 324

Was sagt journalctl -xe ?

Edit: Sorry, steht ja da 🤔 hat dran Handy erst nicht angezeigt

JensHol

Anmeldungsdatum:
31. Oktober 2017

Beiträge: 324

sebix Team-Icon

Ehemalige

Anmeldungsdatum:
14. April 2009

Beiträge: 5584

Was steht denn in /varlog/apache2/error.log?

JensHol schrieb:

https://debianforum.de/forum/viewtopic.php?t=166072

Hilft das?

Was hat LIRC jetzt mit Apache zu tun?

dl8aax

(Themenstarter)
Avatar von dl8aax

Anmeldungsdatum:
6. Mai 2016

Beiträge: 107

Hi,

hir das log

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

dirk@dirk-Inspiron-3531:~$ sudo /etc/init.d/apache2 start
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
 failed!
dirk@dirk-Inspiron-3531:~$ sudo cat /var/log/apache2/error.log
[Thu Apr 16 06:18:27.474017 2020] [:error] [pid 26804] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 18:15:17.179712 2020] [:error] [pid 30902] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 19:00:57.197260 2020] [:error] [pid 31812] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 20:14:48.673204 2020] [:error] [pid 3090] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 20:16:46.938958 2020] [:error] [pid 4494] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 20:25:25.525656 2020] [:error] [pid 5940] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 20:26:40.881040 2020] [:error] [pid 6037] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 20:28:11.648563 2020] [:error] [pid 6115] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
[Thu Apr 16 20:31:17.237514 2020] [:error] [pid 6262] Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_vhost_ldap to function properly
AH00016: Configuration Failed
dirk@dirk-Inspiron-3531:~$ 

mfg Dirk

Cranvil

Anmeldungsdatum:
9. März 2019

Beiträge: 990

Willst du LDAP verwenden?

Falls nein, such die passende Zeile in der Apache-Konfiguration, die das Modul anfordert und kommentiere sie aus / entferne sie.

Falls ja: Hast du das passende Modul bereits installiert? Was hast du vor? Gehst du nach einer Anleitung vor?

Was mir gerade noch aufgefallen ist: Seit Einführung von systemd ist das empfohlene Tool zur Dienststeuerung systemctl. Z.B.:

sudo systemctl start apache2 

Dein Textausschnitt sieht zwar so aus, als würde auch dort systemctl wirken, aber ich habe früher ein paar schlechte Erfahrungen damit gesammelt, nicht die plattformeigenen Tools für sowas zu nehmen.

dl8aax

(Themenstarter)
Avatar von dl8aax

Anmeldungsdatum:
6. Mai 2016

Beiträge: 107

Moin,

nö LDAP will ich nicht verwenden. Ich find aber nix wo ich das auskommentieren kann.

mfg Dirk

Cranvil

Anmeldungsdatum:
9. März 2019

Beiträge: 990

Hast du das Paket aus den offiziellen Quellen installiert? Falls ja, sagt die Paketliste, dass du schauen solltest, ob die Datei /usr/lib/apache2/modules/mod_ldap.so vorhanden ist. Falls nicht, ggf. Paket entfernen und nochmals installieren.

Hast du vielleicht das Paket libapache2-mod-vhost-ldap installiert und es ist via Link im mods-enabled-Ordner aktiviert, ohne etwas sinnvolles zu tun?

Oder hast du irgendwann mal einer Anleitung folgend einen Riesenbatzen an Paketen via Copy & Paste (ggf. noch nach Aktivierung von Fremdquellen) auf einen Schlag installiert und weißt nicht mehr, was da alles mit bei war?

dl8aax

(Themenstarter)
Avatar von dl8aax

Anmeldungsdatum:
6. Mai 2016

Beiträge: 107

Moin,

das war es Ich habe libapache2-mod-vhost-ldap deinstalliert und nun funzt es

Dankeschön

mfg Dirk

Antworten |