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

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

On Debian possible default full paths are:

/usr/bin/mktextfm - from package: texlive-binaries

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