dislocate: 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/dislocate - from package: expect

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

On Debian possible default full paths are:

/usr/bin/dislocate - from package: expect

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