b2m.xemacs21: 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/b2m.xemacs21 - from package: xemacs21-bin

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