rvi: 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:

/bin/rvi - from package: vim-minimal

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