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

/lib/rc/bin/service_wasinactive - from package: openrc

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