agetty: 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:

/sbin/agetty - from package: util-linux-ng

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

On Debian possible default full paths are:

/sbin/agetty - from package: util-linux

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