smokeapi: 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/smokeapi - from package: smoke-dev-tools

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