makedb: 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 CentOS possible default full paths are:

/usr/bin/makedb - from package: nss_db

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/makedb - from package: libnss-db

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