stag-autotemplate: 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

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/stag-autotemplate - from package: libdbix-dbstag-perl

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