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

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