fail2ban-server: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/fail2ban-server - from package: fail2ban

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/fail2ban-server - from package: fail2ban

You may install the required package with command apt-get install {package}
Error in other languages:
fail2ban-server: bevel nie gevind nie
fail2ban-server: comandă negăsită
fail2ban-server: comando não encontrado
fail2ban-server: commande introuvable
fail2ban-server: command not found
fail2ban-server: käsku ei ole
fail2ban-server: không tìm thấy lệnh
fail2ban-server: komanda nerasta
fail2ban-server: Kommando nicht gefunden.
fail2ban-server: kommandot finns inte
fail2ban-server: komut yok
fail2ban-server: nie znaleziono polecenia
fail2ban-server: níor aimsíodh an t-ordú
fail2ban-server: no se encontró la orden
fail2ban-server: no s'ha trobat l'ordre
fail2ban-server: opdracht niet gevonden
fail2ban-server: parancs nem található
fail2ban-server: perintah tidak ditemukan
fail2ban-server: príkaz nenájdený
fail2ban-server: příkaz nenalezen
fail2ban-server: команда не найдена
fail2ban-server: командата не е открита
fail2ban-server: 命令找不到
fail2ban-server: コマンドが見つかりません