NiRecordSynthetic: 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 CentOS possible default full paths are:

/usr/bin/NiRecordSynthetic - from package: openni-examples

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