afserver: 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 Debian possible default full paths are:

/usr/bin/afserver - from package: apf-server

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