apcsmart-old: 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/apcsmart-old - from package: nut

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