db5.1_printlog: 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/db5.1_printlog - from package: db5.1-util

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