gawk: 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:

/bin/gawk - from package: gawk
/usr/bin/gawk - from package: gawk

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

On Debian possible default full paths are:

/usr/bin/gawk - from package: gawk

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