sam2p: 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/sam2p - from package: sam2p

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