xorpsh: 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/lib/xorp/bin/xorpsh - from package: xorp
/usr/sbin/xorpsh - from package: xorp

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