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

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