Sample-NiSimpleRead: 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/Sample-NiSimpleRead - from package: openni-utils

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