fail2ban is not installed at this server

Discussion in 'Installation/Configuration' started by cubells, Jul 12, 2010.

  1. cubells

    cubells HowtoForge Supporter

    Weird error.

    Debian lenny

    Fail2ban installed but I get this message on control pannel:

    fail2ban is not installed at this server.
    See more (for debian) here...

    # ps -A | grep fail
    4337 ? 00:02:03 fail2ban-server

    # ls -la /var/log | grep "fail"
    -rw-r----- 1 root adm 0 11 jul 06:25 fail2ban.log
    -rw-r----- 1 root adm 0 4 jul 06:25 fail2ban.log.1
    -rw-r----- 1 root adm 290 4 jul 06:25 fail2ban.log.2.gz
    -rw-r----- 1 root adm 333 27 jun 06:25 fail2ban.log.3.gz
    -rw-r--r-- 1 root root 160320 10 jul 17:28 faillog

    Where's the problem???
  2. till

    till Super Moderator

    Post the output of:

    which fail2ban-client
  3. cubells

    cubells HowtoForge Supporter

    # which fail2ban-client

    I reload fail2ban and now I get this:

    # /etc/init.d/fail2ban restart
    Restarting authentication failure monitor: fail2ban failed!

    where can I check??
  4. till

    till Super Moderator

    Take a look in the syslog.
  5. 007007

    007007 New Member

    I have the same problem, and i am sure that fail2ban is installed ...

    any idea please ?
  6. till

    till Super Moderator

    Take a look at the syslog and if there is a fail2ban log, check this too.
  7. 007007

    007007 New Member

  8. till

    till Super Moderator

    What exactly have you done before the monitor stopped working and how is this related to cubecells thread that you added your question to?
  9. 007007

    007007 New Member

    before it worked well

    but yesterday I added some info on the DNS(soa), and hop nothing works !!

    This morning I deleted the entry in DNS, but it still does not work ....
    Last edited: Jul 22, 2010
  10. till

    till Super Moderator

    @cubecells: these answers are not related to your problem.


    Most likely the databse dont get filled as the server is not able to find the mysql serveranymore to insert the data which caused by the wrong dns record. As this affects most likely also the process that writes the data to disk, then your dns changes have not been removed yet as the access to the mysql databse is blocked.

    What you can try is to stop the local dns server for a few minutes and wait. Hopefully the system is able to connect then to mysql gaian and so update the records and rewrite the dns.
  11. 007007

    007007 New Member

    ok, the solution is the stop dns with this command :

    /etc/init.d/mydns stop

    and wait, after :

    /etc/init.d/mydns start

    yes ?

Share This Page