polarssl_dh_genprime: 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/polarssl_dh_genprime - from package: libpolarssl-runtime

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