sb2-session: 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/sb2-session - from package: scratchbox2

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