eric4-tray: 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/eric4-tray - from package: eric

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