audit2allow: 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/audit2allow - from package: policycoreutils-python

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

On Debian possible default full paths are:

/usr/bin/audit2allow - from package: policycoreutils

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