gdal_retile.py: 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/gdal_retile.py - from package: gdal-python

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

On Debian possible default full paths are:

/usr/bin/gdal_retile.py - from package: python-gdal

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