nodeattr: 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/nodeattr - from package: genders

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

On Debian possible default full paths are:

/usr/bin/nodeattr - from package: genders

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