w3af: 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/bin/w3af - from package: w3af-console

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