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

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