Failed to start fail2ban service

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:55:48 UTC

Modified:

2017-02-12 18:20:35 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Failed to start fail2ban service

Symptoms

Internal error: f2bmng failed: ln -s '/usr/lib/systemd/system/fail2ban.service' '/etc/systemd/system/multi-user.target.wants/fail2ban.service' Job for fail2ban.service failed. See 'systemctl status fail2ban.service' and 'journalctl -n' for details.

ERROR:f2bmng:Failed to start fail2ban service

Message: f2bmng failed: ln -s '/usr/lib/systemd/system/fail2ban.service' '/etc/systemd/system/multi-user.target.wants/fail2ban.service' Job for fail2ban.service failed. See 'systemctl status fail2ban.service' and 'journalctl -n' for details. ERROR:f2bmng:Failed to start fail2ban service

File Agent.php
Line 243
Type PleskUtilException

Cause

fail2ban service was started manually with “–x” option.

Resolution

  1. Kill fail2ban service on server:

    kill `ps afvvx | grep -v grep | grep fail2ban-server | awk '{print $1}' | xargs`

    Note : In case of missing fail2ban processes, you will see incorrect command usage message.

  2. Start fail2ban from Tools & Settings -> Services Management -> IP Address Banning (Fail2ban) in Plesk GUI.

Have more questions? Submit a request
Please sign in to leave a comment.