pegasus-exitcode: 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/pegasus-exitcode - from package: pegasus-wms

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