ap-rrd: 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 Debian possible default full paths are:

/usr/bin/ap-rrd - from package: ap-utils

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