[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fail2ban-users
Subject:    [Fail2ban-users] Fwd: Re:  Fehler zwischen Fail2Ban und Python
From:       Tom Hendrikx <tom () whyscream ! net>
Date:       2018-02-08 18:20:28
Message-ID: 7a1e792a-a3e8-beaf-ae7b-7fb1acb644a7 () whyscream ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


-------- Forwarded Message --------
Subject: 	Re: [Fail2ban-users] Fehler zwischen Fail2Ban und Python
Date: 	Thu, 8 Feb 2018 19:02:16 +0100
From: 	itsebiGaming <itsebigaming@gmail.com>
To: 	Tom Hendrikx <tom@whyscream.net>



Solved the problem.
I deleted the file in usr/local/bin
After the installation it works.=C2=A0

Am 08.02.2018 18:58 schrieb "Tom Hendrikx" <tom@whyscream.net
<mailto:tom@whyscream.net>>:

    Hi,

    after doing the pip uninstall, there shouldn't be any fail2ban-client=
 or
    fail2ban-server binary on your machine. If there is, find it using
    which, locate, find or whatever your favourite tool is.

    If you find something, please report the location. You probably need =
to
    remove it, and the accompanying python library files too.

    Ow, and please keep replies on the list, others might be interested i=
n
    resolving similar problems.

    Kind regards,

    =C2=A0 =C2=A0 =C2=A0 =C2=A0 Tom

    On 08-02-18 18:46, itsebiGaming wrote:
    >
    > Hey,=C2=A0
    >
    > So I tryed your steps.=C2=A0
    >
    > It doesn't work.=C2=A0
    >
    > 1) I installed python-pip
    > 2) remove fail2ban with apt
    > 3) remove fail2ban with pip=C2=A0
    > 4) install fail2ban with apt=C2=A0
    > 5) status fail2ban - error=C2=A0
    >
    > Unsupported pickle protocol.=C2=A0
    >
    > Is it possible to clean the packages or something else?=C2=A0
    >
    > itsebiGaming=C2=A0
    >
    > Am 08.02.2018 18:31 schrieb "Tom Hendrikx" <tom@whyscream.net
    <mailto:tom@whyscream.net>
    > <mailto:tom@whyscream.net <mailto:tom@whyscream.net>>>:
    >
    >=C2=A0 =C2=A0 =C2=A0Hi,
    >
    >=C2=A0 =C2=A0 =C2=A0Yes, the files in /usr/local are from a manual i=
nstall.
    Probably you can
    >=C2=A0 =C2=A0 =C2=A0remove the install using pip: sudo pip uninstall=
 fail2ban. To
    avoid
    >=C2=A0 =C2=A0 =C2=A0messing up your ubuntu install, consider to unin=
stall the
    ubuntu package
    >=C2=A0 =C2=A0 =C2=A0first, then remove the manual install, then rein=
stall the
    ubuntu package
    >=C2=A0 =C2=A0 =C2=A0again.
    >
    >=C2=A0 =C2=A0 =C2=A0Good luck,
    >
    >=C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 Tom
    >
    >=C2=A0 =C2=A0 =C2=A0On 08-02-18 18:02, itsebiGaming wrote:
    >=C2=A0 =C2=A0 =C2=A0> Hey,
    >=C2=A0 =C2=A0 =C2=A0> so.. i check your message in Dutch. Both, the =
fail2ban
    server and
    >=C2=A0 =C2=A0 =C2=A0client
    >=C2=A0 =C2=A0 =C2=A0> are in /usr/local/bin/fail2ban-server/client i=
nstalled.
    >=C2=A0 =C2=A0 =C2=A0> So it is a manuell installation ? How should i=
 remove the
    >=C2=A0 =C2=A0 =C2=A0installation ?
    >=C2=A0 =C2=A0 =C2=A0> (I installed the version with "sudo apt instal=
l fail2ban ")
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0> itsebiGaming
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0> Am 8. Februar 2018 um 17:43 schrieb itsebiGami=
ng
    >=C2=A0 =C2=A0 =C2=A0<itsebigaming@gmail.com <mailto:itsebigaming@gma=
il.com>
    <mailto:itsebigaming@gmail.com <mailto:itsebigaming@gmail.com>>
    >=C2=A0 =C2=A0 =C2=A0> <mailto:itsebigaming@gmail.com
    <mailto:itsebigaming@gmail.com> <mailto:itsebigaming@gmail.com
    <mailto:itsebigaming@gmail.com>>>>:
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Okay...
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Hello, i have an problem wi=
th my linux Server and the
    fail2ban
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0installation.
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0The server makes an update =
and after this the command "sudo
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0fail2ban-client status" say=
s " unsupported pickle
    protocol: 4".
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0After an research i found o=
ut that the problem must be
    Python.
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Before the Update from Ubun=
tu (Server: 16.04.03 LTS) it
    works but
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0now it does not work.
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Is there any fix for this ?=
 What informaton do you need
    from me=C2=A0 ?
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0itsebiGaming
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Am 8. Februar 2018 um 16:57=
 schrieb itsebiGaming
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0<itsebigaming@gmail.com <ma=
ilto:itsebigaming@gmail.com>
    <mailto:itsebigaming@gmail.com <mailto:itsebigaming@gmail.com>>
    >=C2=A0 =C2=A0 =C2=A0<mailto:itsebigaming@gmail.com <mailto:itsebigam=
ing@gmail.com>
    <mailto:itsebigaming@gmail.com <mailto:itsebigaming@gmail.com>>>>:
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Beitr=C3=A4ge=
: 3
    >=C2=A0 =C2=A0 =C2=A0<https://forum.ubuntuusers.de/author/itsebiGamin=
g/
    <https://forum.ubuntuusers.de/author/itsebiGaming/>
    >=C2=A0 =C2=A0 =C2=A0<https://forum.ubuntuusers.de/author/itsebiGamin=
g/
    <https://forum.ubuntuusers.de/author/itsebiGaming/>>>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Zitieren
    <https://forum.ubuntuusers.de/post/8936481/quote/
    <https://forum.ubuntuusers.de/post/8936481/quote/>
    >=C2=A0 =C2=A0 =C2=A0<https://forum.ubuntuusers.de/post/8936481/quote=
/
    <https://forum.ubuntuusers.de/post/8936481/quote/>>>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Beitrag <http=
s://forum.ubuntuusers.de/post/8936481/
    <https://forum.ubuntuusers.de/post/8936481/>
    >=C2=A0 =C2=A0 =C2=A0<https://forum.ubuntuusers.de/post/8936481/
    <https://forum.ubuntuusers.de/post/8936481/>>> 7. Februar
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A02018 21:54 (z=
uletzt bearbeitet: 7. Februar 2018 21:55)
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hallo zusamme=
n, ich habe ein kleines Problem mit
    meinem Linux
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Server (Versi=
on Linux 4.4.0-112-generic #135-Ubuntu
    SMP x86_64
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0x86_64 x86_64=
 GNU/Linux / 16.04.03 ). Auf diesem
    hatte ich
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0bereits Fail2=
Ban laufen, nachdem ich Updates
    eingespielt und
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Fail2Ban dein=
stalliert und wieder installiert hatte
    >=C2=A0 =C2=A0 =C2=A0(wollte eine
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Blockliste ei=
nbinden...), kann ich Fail2Ban zwar
    installieren,
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0aber wenn ich=
 den Befehl "fail2ban-client status "
    >=C2=A0 =C2=A0 =C2=A0eingebe, dann
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0habe ich das =
Problem,dass folgende Fehlermeldung
    erscheint:
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"unsupported =
pickle protocol: 4".
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Nach einer In=
ternetrecherche habe ich feststellen
    >=C2=A0 =C2=A0 =C2=A0m=C3=BCssen,dass es
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0etwas mit Pyt=
hon zu tun haben muss. Fail2Ban (V.0.9.x)
    >=C2=A0 =C2=A0 =C2=A0wird mit
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Python instal=
liert und nicht mit python3. Nun habe
    ich das
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Problem, dass=
 ich sowohl Python als auch Python 3
    installiert
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0habe, und Fai=
l2Ban- Server oder Client auf Python 3
    und / oder
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0auf Python re=
agiert und diese somit nicht kommunizieren
    >=C2=A0 =C2=A0 =C2=A0k=C3=B6nnen.
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0K=C3=B6nnte m=
ir jemand helfen, wie bekomme ich Fail2Ban
    wieder an=C2=B4s
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0laufen ? Vor =
diesem letzten Update und der
    Neuinstallation
    >=C2=A0 =C2=A0 =C2=A0ging
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0es einwandfre=
i.
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Fail2Ban habe=
 ich auch schon mit den Befehlen "sudo apt
    >=C2=A0 =C2=A0 =C2=A0--purge
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0remove fail2b=
an und sudo apt-get autoremove"
    >=C2=A0 =C2=A0 =C2=A0deinstalliert. nach
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0einer erneute=
n Installation konnte ich das Problem
    >=C2=A0 =C2=A0 =C2=A0wiederherstellen.
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Es w=C3=A4re =
wirklich wichtig, dass es wieder geht :D
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Danke !
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0itsebiGaming
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0

=C2=A0-------------------------------------------------------------------=
-----------
    >=C2=A0 =C2=A0 =C2=A0> Check out the vibrant tech community on one of=
 the world's most
    >=C2=A0 =C2=A0 =C2=A0> engaging tech sites, Slashdot.org! http://sdm.=
link/slashdot
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0>
    >=C2=A0 =C2=A0 =C2=A0> ______________________________________________=
_
    >=C2=A0 =C2=A0 =C2=A0> Fail2ban-users mailing list
    >=C2=A0 =C2=A0 =C2=A0> Fail2ban-users@lists.sourceforge.net
    <mailto:Fail2ban-users@lists.sourceforge.net>
    >=C2=A0 =C2=A0 =C2=A0<mailto:Fail2ban-users@lists.sourceforge.net
    <mailto:Fail2ban-users@lists.sourceforge.net>>
    >=C2=A0 =C2=A0 =C2=A0> https://lists.sourceforge.net/lists/listinfo/f=
ail2ban-users
    <https://lists.sourceforge.net/lists/listinfo/fail2ban-users>
    >=C2=A0 =C2=A0 =C2=A0<https://lists.sourceforge.net/lists/listinfo/fa=
il2ban-users
    <https://lists.sourceforge.net/lists/listinfo/fail2ban-users>>
    >=C2=A0 =C2=A0 =C2=A0>
    >
    >
    >
    >=C2=A0 =C2=A0

=C2=A0-------------------------------------------------------------------=
-----------
    >=C2=A0 =C2=A0 =C2=A0Check out the vibrant tech community on one of t=
he world's most
    >=C2=A0 =C2=A0 =C2=A0engaging tech sites, Slashdot.org! http://sdm.li=
nk/slashdot
    >=C2=A0 =C2=A0 =C2=A0_______________________________________________
    >=C2=A0 =C2=A0 =C2=A0Fail2ban-users mailing list
    >=C2=A0 =C2=A0 =C2=A0Fail2ban-users@lists.sourceforge.net
    <mailto:Fail2ban-users@lists.sourceforge.net>
    >=C2=A0 =C2=A0 =C2=A0<mailto:Fail2ban-users@lists.sourceforge.net
    <mailto:Fail2ban-users@lists.sourceforge.net>>
    >=C2=A0 =C2=A0 =C2=A0https://lists.sourceforge.net/lists/listinfo/fai=
l2ban-users
    <https://lists.sourceforge.net/lists/listinfo/fail2ban-users>
    >=C2=A0 =C2=A0 =C2=A0<https://lists.sourceforge.net/lists/listinfo/fa=
il2ban-users
    <https://lists.sourceforge.net/lists/listinfo/fail2ban-users>>
    >
    >




-------------------------------------------------------------------------=
-----
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    Fail2ban-users mailing list
    Fail2ban-users@lists.sourceforge.net
    <mailto:Fail2ban-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/fail2ban-users
    <https://lists.sourceforge.net/lists/listinfo/fail2ban-users>



["signature.asc" (application/pgp-signature)]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic