socket_getnameinfo: 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

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/bin/socket_getnameinfo - from package: libsocket-getaddrinfo-perl

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