afsmonitor: 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/afsmonitor - from package: openafs-client

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