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

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