name2addr: 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/name2addr - from package: ndisc6

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

On Debian possible default full paths are:

/usr/bin/name2addr - from package: ndisc6

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