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

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