[Fehler] Fail2Ban lässt sich nicht per apt-get install installieren

watchnerd

Neu angemeldet
Registriert
15 Dez. 2013
Beiträge
6
Hallo,

versuche gerade fail2ban zu installieren, dabei erhalte ich folgenden Fehler, den ich leider nicht richtig verstehe. Habe auch schon danach gegoogelt.

[src=bash]apt-get install fail2ban
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
fail2ban
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/104 kB of archives.
After this operation, 348 kB of additional disk space will be used.
Selecting previously unselected package fail2ban.
(Reading database ... 71642 files and directories currently installed.)
Unpacking fail2ban (from .../fail2ban_0.8.6-3wheezy2_all.deb) ...
Processing triggers for man-db ...
Setting up fail2ban (0.8.6-3wheezy2) ...
insserv: warning: script 'S99firewall' missing LSB tags and overrides
insserv: warning: script 'firewall' missing LSB tags and overrides
insserv: There is a loop at service firewall if started
insserv: There is a loop between service rc.local and mountnfs if started
insserv: loop involving service mountnfs at depth 6
insserv: loop involving service networking at depth 5
insserv: loop involving service mountnfs-bootclean at depth 8
insserv: There is a loop between service rc.local and mountall if started
insserv: loop involving service mountall at depth 4
insserv: loop involving service checkfs at depth 3
insserv: loop involving service kbd at depth 9
insserv: loop involving service urandom at depth 6
insserv: There is a loop between service rc.local and mountall-bootclean if started
insserv: loop involving service mountall-bootclean at depth 6
insserv: There is a loop between service rc.local and udev if started
insserv: loop involving service udev at depth 1
insserv: There is a loop at service rc.local if started
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service mdadm at depth 1
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rc.local and mountdevsubfs if started
insserv: loop involving service mountdevsubfs at depth 2
insserv: loop involving service mountkernfs at depth 1
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: Starting firewall depends on rc.local and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing fail2ban (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for python-central ...
Errors were encountered while processing:
fail2ban
E: Sub-process /usr/bin/dpkg returned an error code (1)[/src]

Woran liegt's?

Grüße
 
Sieht mir so aus, als würde fail2ban ein Init-Script mit der Abhängigkeit "$all" in die rc (den Autostart) schreiben (oder du mal eines geschrieben haben) - da es aber selbst als Dienst (wie auch andere) registriert ist und damit auf sich selbst aufbaut, würde es mit seinem eigenen Start warten, bis es gestartet ist (loop auf selbst). Wird sich wahrscheinlich auflösen, wenn du ihm ein Startscript verpasst, das auch die richtig gesetzt hat. Zumindest hatte ich die Meldung auch mal, als ich mein allererstes Minecraft-Server-Script geschrieben habe und die LSB-Tags vergessen hatte. Dann kamen die nächsten Installationen zu den gleichen Meldungen.
 
  • Thread Starter Thread Starter
  • #3
Sorry, dass ich mich erst jetzt melde.

Ein Neustart hat das Problem gelöst.

Danke dir für Erläuterung, aber es hat sich ja schon fast von alleine gelöst. :D

EDIT: Vielleicht funktioniert es nun, weil ich mein Firewall-Script vor dem Neustart deaktiviert habe? Mein Firewall-Script benutzt iptables, Fail2Ban soweit ich weiß auch.
 
Zuletzt bearbeitet:
Zurück
Oben