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

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

On Debian possible default full paths are:

/usr/bin/mawk - from package: mawk

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