aoecfg: 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/aoecfg - from package: aoetools

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

On Debian possible default full paths are:

/sbin/aoecfg - from package: aoetools

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