pst2pdf: 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/pst2pdf - from package: texlive-pstricks

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