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

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