ldattach: 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/ldattach - from package: util-linux-ng

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

On Debian possible default full paths are:

/usr/sbin/ldattach - from package: util-linux

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