xsd2inst: 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/xsd2inst - from package: xmlbeans

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