cracklib-format: 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/sbin/cracklib-format - from package: cracklib

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

On Debian possible default full paths are:

/usr/sbin/cracklib-format - from package: cracklib-runtime

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