dpns-rename: 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/dpns-rename - from package: dpm

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/dpns-rename - from package: dpm

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