mark_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
/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:

/lib/rc/sbin/mark_service_wasinactive - from package: openrc

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