ident2: 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 Debian possible default full paths are:

/usr/sbin/ident2 - from package: ident2

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