• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

fail2ban fails to enable new jails

H9k

Regular Pleskian
Running Debian 7.9 and Plesk 12.5 update 1.
I want to enable plesk-wordpress and plesk-modsecurity, but it fails:

Code:
Unable to switch on the selected jails: f2bmng failed: ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR NOK: ("invalid literal for int() with base 10: 'INFO'",)
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR NOK: (2, 'No such file or directory')
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
...
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-modsecurity']' returned non-zero exit status 255
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR NOK: ("invalid literal for int() with base 10: 'INFO'",)
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR NOK: (2, 'No such file or directory')
...
ERROR NOK: (2, 'No such file or directory')
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
...
ERROR NOK: ('Invalid command (no set action or not yet implemented)',)
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-wordpress']' returned non-zero exit status 255
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-modsecurity, plesk-wordpress
 
Hmmm maybe the reason was I already had my own jail named "wordpress".
I removed it, and now I was able to enable the jails properly.
 
Back
Top