invoke-rc.d: 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/sbin/invoke-rc.d - from package: file-rc
/usr/sbin/invoke-rc.d - from package: openrc
/usr/sbin/invoke-rc.d - from package: sysv-rc

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