tempfile: 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:

/bin/tempfile - from package: debianutils

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