trademgen_with_db: 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/trademgen_with_db - from package: trademgen

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