xapian-tcpsrv: 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/xapian-tcpsrv - from package: xapian-core

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

On Debian possible default full paths are:

/usr/bin/xapian-tcpsrv - from package: xapian-tools

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