open_init_pty: 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/sbin/open_init_pty - from package: policycoreutils

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

On Debian possible default full paths are:

/usr/sbin/open_init_pty - from package: policycoreutils

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