2xml: 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/2xml - from package: xml2

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

On Debian possible default full paths are:

/usr/bin/2xml - from package: xml2

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