xnbd-bgctl: 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/sbin/xnbd-bgctl - from package: xnbd-server

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