gosa-encrypt-passwords: 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/sbin/gosa-encrypt-passwords - from package: gosa

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