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

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