omniNames: 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/omniNames - from package: omniORB-servers

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

On Debian possible default full paths are:

/usr/bin/omniNames - from package: omniorb-nameserver

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