dateutils.dgrep: 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/dateutils.dgrep - from package: dateutils

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