-------- Forwarded Message -------- Subject: Re: [Fail2ban-users] Fehler zwischen Fail2Ban und Python Date: Thu, 8 Feb 2018 19:02:16 +0100 From: itsebiGaming <itsebigam...@gmail.com> To: Tom Hendrikx <t...@whyscream.net> Solved the problem. I deleted the file in usr/local/bin After the installation it works. Am 08.02.2018 18:58 schrieb "Tom Hendrikx" <t...@whyscream.net <mailto:t...@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 in resolving similar problems. Kind regards, Tom On 08-02-18 18:46, itsebiGaming wrote: > > Hey, > > So I tryed your steps. > > It doesn't work. > > 1) I installed python-pip > 2) remove fail2ban with apt > 3) remove fail2ban with pip > 4) install fail2ban with apt > 5) status fail2ban - error > > Unsupported pickle protocol. > > Is it possible to clean the packages or something else? > > itsebiGaming > > Am 08.02.2018 18:31 schrieb "Tom Hendrikx" <t...@whyscream.net <mailto:t...@whyscream.net> > <mailto:t...@whyscream.net <mailto:t...@whyscream.net>>>: > > Hi, > > Yes, the files in /usr/local are from a manual install. Probably you can > remove the install using pip: sudo pip uninstall fail2ban. To avoid > messing up your ubuntu install, consider to uninstall the ubuntu package > first, then remove the manual install, then reinstall the ubuntu package > again. > > Good luck, > > Tom > > On 08-02-18 18:02, itsebiGaming wrote: > > Hey, > > so.. i check your message in Dutch. Both, the fail2ban server and > client > > are in /usr/local/bin/fail2ban-server/client installed. > > So it is a manuell installation ? How should i remove the > installation ? > > (I installed the version with "sudo apt install fail2ban ") > > > > itsebiGaming > > > > Am 8. Februar 2018 um 17:43 schrieb itsebiGaming > <itsebigam...@gmail.com <mailto:itsebigam...@gmail.com> <mailto:itsebigam...@gmail.com <mailto:itsebigam...@gmail.com>> > > <mailto:itsebigam...@gmail.com <mailto:itsebigam...@gmail.com> <mailto:itsebigam...@gmail.com <mailto:itsebigam...@gmail.com>>>>: > > > > Okay... > > Hello, i have an problem with my linux Server and the fail2ban > > installation. > > The server makes an update and after this the command "sudo > > fail2ban-client status" says " unsupported pickle protocol: 4". > > After an research i found out that the problem must be Python. > > Before the Update from Ubuntu (Server: 16.04.03 LTS) it works but > > now it does not work. > > Is there any fix for this ? What informaton do you need from me ? > > > > itsebiGaming > > > > Am 8. Februar 2018 um 16:57 schrieb itsebiGaming > > <itsebigam...@gmail.com <mailto:itsebigam...@gmail.com> <mailto:itsebigam...@gmail.com <mailto:itsebigam...@gmail.com>> > <mailto:itsebigam...@gmail.com <mailto:itsebigam...@gmail.com> <mailto:itsebigam...@gmail.com <mailto:itsebigam...@gmail.com>>>>: > > > > Beiträge: 3 > <https://forum.ubuntuusers.de/author/itsebiGaming/ <https://forum.ubuntuusers.de/author/itsebiGaming/> > <https://forum.ubuntuusers.de/author/itsebiGaming/ <https://forum.ubuntuusers.de/author/itsebiGaming/>>> > > > > > > Zitieren <https://forum.ubuntuusers.de/post/8936481/quote/ <https://forum.ubuntuusers.de/post/8936481/quote/> > <https://forum.ubuntuusers.de/post/8936481/quote/ <https://forum.ubuntuusers.de/post/8936481/quote/>>> > > Beitrag <https://forum.ubuntuusers.de/post/8936481/ <https://forum.ubuntuusers.de/post/8936481/> > <https://forum.ubuntuusers.de/post/8936481/ <https://forum.ubuntuusers.de/post/8936481/>>> 7. Februar > > 2018 21:54 (zuletzt bearbeitet: 7. Februar 2018 21:55) > > > > Hallo zusammen, ich habe ein kleines Problem mit meinem Linux > > Server (Version Linux 4.4.0-112-generic #135-Ubuntu SMP x86_64 > > x86_64 x86_64 GNU/Linux / 16.04.03 ). Auf diesem hatte ich > > bereits Fail2Ban laufen, nachdem ich Updates eingespielt und > > Fail2Ban deinstalliert und wieder installiert hatte > (wollte eine > > Blockliste einbinden...), kann ich Fail2Ban zwar installieren, > > aber wenn ich den Befehl "fail2ban-client status " > eingebe, dann > > habe ich das Problem,dass folgende Fehlermeldung erscheint: > > "unsupported pickle protocol: 4". > > > > Nach einer Internetrecherche habe ich feststellen > müssen,dass es > > etwas mit Python zu tun haben muss. Fail2Ban (V.0.9.x) > wird mit > > Python installiert und nicht mit python3. Nun habe ich das > > Problem, dass ich sowohl Python als auch Python 3 installiert > > habe, und Fail2Ban- Server oder Client auf Python 3 und / oder > > auf Python reagiert und diese somit nicht kommunizieren > können. > > > > Könnte mir jemand helfen, wie bekomme ich Fail2Ban wieder an´s > > laufen ? Vor diesem letzten Update und der Neuinstallation > ging > > es einwandfrei. > > > > Fail2Ban habe ich auch schon mit den Befehlen "sudo apt > --purge > > remove fail2ban und sudo apt-get autoremove" > deinstalliert. nach > > einer erneuten Installation konnte ich das Problem > wiederherstellen. > > > > Es wäre wirklich wichtig, dass es wieder geht :D > > > > Danke ! > > > > itsebiGaming > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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> > <mailto: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> > <https://lists.sourceforge.net/lists/listinfo/fail2ban-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> > <mailto: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> > <https://lists.sourceforge.net/lists/listinfo/fail2ban-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
Description: OpenPGP digital 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