0

I installed fail2ban but When I enter fail2ban-client status in the Linux terminal, I get the following warnings:

fail2ban.configreader [1616]: ERROR Found no accessible config files for 'filter.d/murmur' under /etc/fail2ban fail2ban.configreader [1616]: ERROR No section: 'Definition' fail2ban.configreader [1616]: ERROR No section: 'Definition' fail2ban.configreader [1616]: ERROR No section: 'Definition' fail2ban.configreader [1616]: ERROR No section: 'Definition' fail2ban.configreader [1616]: ERROR No section: 'Definition' fail2ban [1616]:ERROR Failed to access socket path: /var/run/fail2ban/fail2ban.sock. Is fail2ban running?

By the way, I know there is a problem with the configuration, but I do not know how to configure it

5
  • Edit your question to include your fail2ban config file so we can see what's wrong
    – Juxtaposed
    Sep 9, 2020 at 18:07
  • I checked again and found that there is no file that contains the fail2ban configuration. All related folders are also empty @Juxtaposed
    – esmaeil
    Sep 10, 2020 at 7:53
  • The output asks "Is fail2ban running?". So did you check if it's running?
    – Juxtaposed
    Sep 10, 2020 at 9:23
  • I am thankful with your guidance! How is it possible to run this program when there is no configuration file !? How do I check if fail2ban is running? @Juxtaposed
    – esmaeil
    Sep 11, 2020 at 5:55
  • I solved the problem.@Juxtaposed
    – esmaeil
    Sep 13, 2020 at 7:35

1 Answer 1

0

I solved the problem. The problem was that the fail2ban folder was empty in the path / etc / fail2ban. I downloaded the pack from the official site fail2ban.org and transferred the contents of this pack to / etc / fail2ban.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.