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

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/gnucash-env - from package: gnucash

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