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

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