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

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

On Debian possible default full paths are:

/usr/lib/rancid/bin/rancid - from package: rancid

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