dh_installinit: 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/dh_installinit - from package: debhelper

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