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

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