dpkg erro ao instalar o fail2ban no ubuntu 15.04

1

Estou tentando reinstalar o fail2ban após a atualização de 14.10 para 15.04. Eu estava recebendo esses erros, então eu fiz o apt-get remover o fail2ban e, em seguida, o apt-get install fail2ban, no entanto, eu ainda recebo essas mensagens de erro ao instalar outros pacotes.

Saída de "sudo apt-get install -f"

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up fail2ban (0.9.1-1) ...
Job for fail2ban.service failed. See "systemctl status fail2ban.service" and "journalctl -xe" for details.
invoke-rc.d: initscript fail2ban, action "start" failed.
dpkg: error processing package fail2ban (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 fail2ban
E: Sub-process /usr/bin/dpkg returned an error code (1)'

Saída de "statusctl status fail2ban.service"

● fail2ban.service - Fail2Ban Service
   Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor     preset: enabled)
   Active: failed (Result: start-limit) since Sun 2015-07-26 22:03:08 EDT; 4min 48s ago
 Docs: man:fail2ban(1)
  Process: 3036 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=255)

Jul 26 22:03:08 pimr15 systemd[1]: Failed to start Fail2Ban Service.
Jul 26 22:03:08 pimr15 systemd[1]: Unit fail2ban.service entered failed state.
Jul 26 22:03:08 pimr15 systemd[1]: fail2ban.service failed.
Jul 26 22:03:08 pimr15 systemd[1]: fail2ban.service holdoff time over, scheduling restart.
Jul 26 22:03:08 pimr15 systemd[1]: start request repeated too quickly for fail2ban.service
Jul 26 22:03:08 pimr15 systemd[1]: Failed to start Fail2Ban Service.
Jul 26 22:03:08 pimr15 systemd[1]: Unit fail2ban.service entered failed state.
Jul 26 22:03:08 pimr15 systemd[1]: fail2ban.service failed.

Além disso, devo salientar que parece que o fail2ban está de fato funcionando, pois "sudo fail2ban-client status" retorna minhas cadeias

    
por llldino 27.07.2015 / 04:13

1 resposta

1

Eu adicionei a dependência "python3-systemd" e continuei recebendo o erro, no entanto, ao reiniciar, o código do dpkg foi corrigido e pronto. Caminho para mim! : D

    
por llldino 27.07.2015 / 05:32