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

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