Fail2Ban: Failed during configuration: Have not found any log file for sshd jail

Discussion in 'Installation/Configuration' started by Rex, Apr 10, 2022.

  1. Rex

    Rex Member

    Dear All
    I got follwing error message when starting fail2ban. Failed during configuration: Have not found any log file for sshd jail.
    ubuntu 20.04 with ISPConfig 3.2.8p1. Any advice on troubleshoot?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you altered fail2ban configuration? If yes, what is the configuration now?
    Do you have sshd server installed?
    Code:
    apt policy openssh-server
    Is sshd running?
    Code:
    systemctl status ssh.service
     
  3. Rex

    Rex Member

    Code:
    apt policy openssh-server
    openssh-server:
      Installed: 1:8.2p1-4ubuntu0.4
      Candidate: 1:8.2p1-4ubuntu0.4
      Version table:
     *** 1:8.2p1-4ubuntu0.4 500
            500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
            100 /var/lib/dpkg/status
         1:8.2p1-4ubuntu0.2 500
            500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
         1:8.2p1-4 500
            500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
    For sshd, it should be running because I can ssh in.
     

Share This Page