inherit2: 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/inherit2 - from package: pvm-examples

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