cpandb: 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/cpandb - from package: libcpan-sqlite-perl

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