nag-convert-datatree-shares-to-sql: 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/nag-convert-datatree-shares-to-sql - from package: php-horde-nag

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/nag-convert-datatree-shares-to-sql - from package: php-horde-nag

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