rsyslog-recover-qi.pl: 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:

/bin/rsyslog-recover-qi.pl - from package: rsyslog7

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