Error fail2ban in FilterPyinotify callback: ‘module’ object has no attribute ‘_strptime_time’

Esta mañana al resetear el servicio fail2ban me he encontrado con esto: service fail2ban status ● fail2ban.service – LSB: Start/stop fail2ban Loaded: loaded (/etc/init.d/fail2ban) Active: active (running) since jue 2017-01-12 10:03:11 CET; 30s ago Process: 2674 ExecStop=/etc/init.d/fail2ban stop (code=exited, status=0/SUCCESS) Process: 2810 ExecStart=/etc/init.d/fail2ban start (code=exited, status=0/SUCCESS) CGroup: /system.slice/fail2ban.service └─2820 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid ene 12 10:03:11 server fail2ban.actions[2820]: INFO Set banTime = 86400 ene 12 10:03:11 server fail2ban.jail[2820]: INFO Jail ‘sshd’ started ene 12 10:03:11 server fail2ban.jail[2820]: INFO Jail ‘sshd-ddos’ started ene 12 10:03:11 server fail2ban.jail[2820]: INFO Jail ‘roundcube-iredmail’ started ene 12 10:03:11 server fail2ban.jail[2820]: INFO Jail ‘dovecot-iredmail’ started ene 12 10:03:11 server fail2ban.jail[2820]: INFO Jail ‘postfix-iredmail’ started ene 12 10:03:11 server fail2ban[2810]: Starting authentication failure monitor: fail2ban. ene 12 10:03:11 server systemd[1]: Started LSB: Start/stop fail2ban. ene 12 10:03:11 server fail2ban.filter[2820]: ERROR Error in FilterPyinotify callback: ‘module’ object has no attribute ‘_strptime_time’ ene 12 10:03:11 server fail2ban.filter[2820]: ERROR Error in FilterPyinotify callback: ‘module’ object has no attribute ‘_strptime_time’ El Workaround que he aplicado es establecer en polling el backend para averiguar las modificaciones en ficheros de forma que no utilice librerías externas. (editar jail.conf) # «backend» specifies the backend used to get files modification. # Available options are «pyinotify», «gamin», «polling» and «auto». # This option can be overridden in each jail as well. # # pyinotify: requires pyinotify (a file alteration monitor) to be installed. #            If pyinotify is not installed, Fail2ban will use auto. # gamin:     requires Gamin (a file alteration monitor) to be installed. […]

» Leer más

Configuración y puesta en marcha de un VPS Linux Debian

Desde SOSPedia.net nos traen este artículo que tiene por título Configuración de un VPS Linux sobre un dominio usando Debian 8 y un extenso índice: 1. Registros DNS en el panel del dominio 2. Resolución inversa en el panel del vps 3. Primera conexión como root via SSH 4. Instalación de iredmail 5. Comprobad el webmail 6. Comprobad el panel de control de email 7. Nos están atacando? 8. Cambiar puerto SSH 9. DKIM DNS – amavisd-new showkeys|testkeys 10. Qué más cosas vamos a hacer 11. Editar las urls / alias por defecto 12. Antivirus 13. Instalar y configurar rkhunter anti rootkits 14. Resolver errores: perl warning Setting locale failed 15. Verificar y cambiar la hora del sistema 16. Importante: Como se ve desde fuera nuestro VPS 17. Direcciones web con Utilidades DNS y más 18. fail2ban: modificar configuración para recibir emails 19. Servidor Web Apache 20. Instalar un servidor de ftp interno (localhost) 21. Usar método descarga directo 22. Instalar un firewall a WordPress 23. Certificado digital gratuito aceptado por todos los navegadores Además le acompaña un vídeo tutorial de como solicitar un certificado digital SSL para TLSificar un servidor Web.

» Leer más
1 2 3 4 5 … 10