xapian-replicate: 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-replicate - 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-replicate - from package: xapian-tools

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