dhis-genid: 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/dhis-genid - from package: dhis-tools-dns

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