cube_stat: 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/cube_stat - from package: cube

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