euca-detach-vpn-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
/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/euca-detach-vpn-gateway - from package: euca2ools

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