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

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

On Debian possible default full paths are:

/usr/bin/xdvipdfmx - from package: texlive-binaries

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