irattach: 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/irattach - from package: irda-utils

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

On Debian possible default full paths are:

/usr/sbin/irattach - from package: irda-utils

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