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

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