cfdoc: 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/sbin/cfdoc - from package: cfengine2

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