astdb2bdb: 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/lib/debug/usr/sbin/astdb2bdb - from package: asterisk-dbg
/usr/sbin/astdb2bdb - from package: asterisk

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