xml2gbs: 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/xml2gbs - from package: sword

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

On Debian possible default full paths are:

/usr/bin/xml2gbs - from package: libsword-utils

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