View previous topic :: View next topic |
Author |
Message |
ptitfluff Tux's lil' helper
Joined: 11 Mar 2004 Posts: 96 Location: Lyon
|
Posted: Tue Mar 01, 2005 10:43 am Post subject: [fail2ban]impossible a relancer (resolu) |
|
|
Bonjour a tous,
Suite a la discussion sur cette analyseur de log, me suis dit : je teste
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 |
|
|
LostControl l33t
Joined: 02 Mar 2004 Posts: 885 Location: La Glane, Suisse
|
Posted: Tue Mar 01, 2005 7:22 pm Post subject: |
|
|
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
A+ _________________ http://www.jaqpot.net
http://www.fail2ban.org |
|
Back to top |
|
|
ptitfluff Tux's lil' helper
Joined: 11 Mar 2004 Posts: 96 Location: Lyon
|
Posted: Tue Mar 01, 2005 8:56 pm Post subject: |
|
|
... merci ca marche !!!!! |
|
Back to top |
|
|
|
|
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
|
|