db42_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 CentOS possible default full paths are:

/usr/bin/db42_printlog - from package: compat-db42

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