samba_upgradedns: 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/sbin/samba_upgradedns - from package: samba

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