ldap-server-getcert: 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/ldap-server-getcert - from package: debian-edu-config

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