globus-domainname: 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/globus-domainname - from package: globus-common-progs

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

On Debian possible default full paths are:

/usr/bin/globus-domainname - from package: globus-common-progs

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