gethostip: 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/gethostip - from package: syslinux

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

On Debian possible default full paths are:

/usr/bin/gethostip - from package: syslinux-utils

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