avahi-resolve-host-name: 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/avahi-resolve-host-name - from package: avahi-tools

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

On Debian possible default full paths are:

/usr/bin/avahi-resolve-host-name - from package: avahi-utils

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