Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fail2ban]impossible a relancer (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
ptitfluff
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2004
Posts: 96
Location: Lyon

PostPosted: Tue Mar 01, 2005 10:43 am    Post subject: [fail2ban]impossible a relancer (resolu) Reply with quote

Bonjour a tous,

Suite a la discussion sur cette analyseur de log, me suis dit : je teste :D

Le probleme, c'est que j'ai pas vraiment poussé le test tres tres loin ... J'ai fait la malheureuse erreur d'eteindre ma machine alors que fail2ban etait lancé en arriere plan.

Depuis, impossible a relancer :
si je tente de relancer avec un fail2ban.py -d
Code:
03/01/05 11:20:30.682 [0.022 (0.022)] ERROR main [Main (429)] Fail2Ban already running with PID 13723


si je tente un fail2ban.py -k, pour tuer toute les instances de fail2ban ...
Code:
Traceback (most recent call last):
  File "/usr/bin/fail2ban.py", line 380, in ?
    killPID(int(pid))
  File "/usr/bin/fail2ban.py", line 199, in killPID
    return os.kill(pid, 2)
OSError: [Errno 3] No such process


et bien sur, je ne trouve pas le process 13723 quand je fais un ps ou un top

Je ne sais pas du tout comment ca marche python, alors la gestion des processus .... Est ce un probleme de python, du logiciel ????

Si une bonne ame passe par la

ps : pour ceux qui voudrait tester :?
les ebuild sont disponible ici-> http://fail2ban.sourceforge.net/ebuilds/


Last edited by ptitfluff on Tue Mar 01, 2005 8:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Tue Mar 01, 2005 7:22 pm    Post subject: Reply with quote

Salut,

Il faut juste supprimer le fichier "fail2ban.pid" qui doit se trouver dans "/tmp" par défaut.
Code:
rm /tmp/fail2ban.pid

Tu pourras relancer ensuite Fail2Ban :D

A+
_________________
http://www.jaqpot.net
http://www.fail2ban.org
Back to top
View user's profile Send private message
ptitfluff
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2004
Posts: 96
Location: Lyon

PostPosted: Tue Mar 01, 2005 8:56 pm    Post subject: Reply with quote

:cry: ... merci ca marche !!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum