ratproxy: 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/bin/ratproxy - from package: ratproxy

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