aa-complain: 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 Debian possible default full paths are:

/usr/sbin/aa-complain - from package: apparmor-utils

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