foghorn: 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/sbin/foghorn - from package: foghorn

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