Fail2ban debian 8

Discussion in 'Installation/Configuration' started by albegior, May 4, 2015.

  1. albegior

    albegior New Member

    Ispconfig works fine on debian 8 but I have thi error on Fail2Ban Log
    Data from: 2015-05-04 07:15
    fail2ban is not installed at this server.
    See more (for debian) here...

    Executing /etc/init.d/fail2ban status ..



    ‚óŹ fail2ban.service - LSB: Start/stop fail2ban
    Loaded: loaded (/etc/init.d/fail2ban)
    Active: active (exited) since Mon 2015-05-04 13:12:47 CEST; 14min ago
    Process: 4554 ExecStop=/etc/init.d/fail2ban stop (code=exited, status=0/SUCCESS)
    Process: 4564 ExecStart=/etc/init.d/fail2ban start (code=exited, status=0/SUCCESS)

    May 04 13:12:47 cloud002 fail2ban[4564]: Starting authentication failure monitor: fail2banERROR Found no accessible config files for 'filter.d/sasl' under /etc/fail2ban
    May 04 13:12:47 cloud002 fail2ban[4564]: ERROR Unable to read the filter
    May 04 13:12:47 cloud002 fail2ban[4564]: ERROR Errors in jail 'sasl'. Skipping...
    May 04 13:12:47 cloud002 fail2ban[4564]: failed!
     
    Last edited: May 4, 2015
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. albegior

    albegior New Member

    Hi Till
    I have just upgraded my server from debian 7 to 8 and I see that error on ispconfig panel and on webmin.
    Fail2ban service doesn't start:
    Found no accessible config files for 'filter.d/sasl' under /etc/fail2ban
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Update your fail2ban config so that it is like the one in the debian 8 tutorial.
     
    webguyz likes this.
  5. albegior

    albegior New Member

    ok, done, now it works fine...

    There is only one more error on ISPConfig cron log, like this:
    Mon May 4 12:27:08 CEST 2015 PHP Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 62
    Mon May 4 12:27:09 CEST 2015 DB::__construct Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
     

Share This Page