Hi guys, I accidentally disabled the fail2ban-client.service service and can no longer enable it, can you help me? service fail2ban-client status ● fail2ban-client.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) service fail2ban-client start Failed to start fail2ban-client.service: Unit fail2ban-client.service failed to load: No such file or directory. Thanks so much for any help!
Try installing fail2ban again. Maybe you removed some file it needs? It might be helpful if you told what Operating System this host has.
PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.11 (jessie) Release: 8.11 Codename: jessie