xpat: 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/bin/xpat - from package: alliance

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