ttserver: 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 Debian possible default full paths are:

/usr/lib/debug/usr/sbin/ttserver - from package: tokyotyrant-dbg
/usr/sbin/ttserver - from package: tokyotyrant

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