g_traj: 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/g_traj - from package: gromacs

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

On Debian possible default full paths are:

/usr/bin/g_traj - from package: gromacs

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