hciattach: 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/sbin/hciattach - from package: bluez

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

On Debian possible default full paths are:

/usr/bin/hciattach - from package: bluez

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