ps.pl: 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/share/ledgersmb/bin/ps.pl - from package: ledgersmb
/usr/share/sql-ledger/bin/lynx/ps.pl - from package: sql-ledger
/usr/share/sql-ledger/bin/mozilla/ps.pl - from package: sql-ledger

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