Unable to create a subscription or open Jails in Fail2Ban: f2bmng failed: ERROR:f2bmng

Follow

Comments

4 comments

  • Avatar
    Proyecto Hosting

    Excelente funciono a la perfecccion!

    0
    Comment actions Permalink
  • Avatar
    Ehud Ziegelman (Edited )

    Hi Leonid Gukhman,

     

    Isn't step (2) for all content of a directoy?

    cp -a /etc/fail2ban/* /root/fail2ban_backup/*

     

    Cause... Step (6) failed

    mv /root/fail2ban_backup/jail.local /etc/fail2ban/.

     

    Or.. maybe it should be copy and not not move:

    cp /root/fail2ban_backup/jail.local /etc/fail2ban/

     

    Or.. first the directory /etc/fail2ban/ should be created

     

    And... is the /. at the end of step (6) correct?

     

    0
    Comment actions Permalink
  • Avatar
    Ehud Ziegelman (Edited )

    Seems your instructions... broke my server

     

    1) Error: Unable to get the list of jails: f2bmng failed: ERROR:__main__:No option 'logpath' in section: 'ssh'.

    2) 500 Error: f2bmng failed: ERROR:__main__:No section: 'Definition'

     

     

    500 PleskUtilException

    f2bmng failed: ERROR:__main__:No section: 'Definition'

    Type PleskUtilException
    Message f2bmng failed: ERROR:__main__:No section: 'Definition'
    File Agent.php
    Line

    196

     

     

    0
    Comment actions Permalink
  • Avatar
    Ehud Ziegelman

    Please check your guidance. I am afraid, it breaks the fail2ban service.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request