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

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

On Debian possible default full paths are:

/usr/bin/ogrtindex - from package: gdal-bin

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