euca-attach-internet-gateway: 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

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/euca-attach-internet-gateway - from package: euca2ools

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