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

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