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

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