afslog: 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/afslog - from package: heimdal-workstation

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

On Debian possible default full paths are:

/usr/bin/afslog - from package: heimdal-clients

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