gnucash-valgrind: 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/gnucash-valgrind - from package: gnucash

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