rpws: 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/rpws - from package: ratpoison

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

On Debian possible default full paths are:

/usr/bin/rpws - from package: ratpoison

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