ola_plugin_state: 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/ola_plugin_state - from package: ola

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

On Debian possible default full paths are:

/usr/bin/ola_plugin_state - from package: ola

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