This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject
  • RSA.com
  • Home
  • Advisories
    • SecurID
    • SecurID Governance & Lifecycle
  • Documentation
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID App
      • SecurID Authenticator for macOS
      • SecurID SDK
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
    • Technology Partners
  • Downloads
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID Authenticator for macOS
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
  • Community
    • SecurID
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
    • SecurID Governance & Lifecycle
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Ideas & Suggestions
      • Community Support Articles
      • Community Support Forum
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Education
    • Blog
    • Browse Courses
      • SecurID
      • SecurID Governance & Lifecycle
    • Certification Program
    • New Product Readiness
    • Student Resources
Sign In Register Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Announcements

The email address for SecurID Community notifications is changing

View Details

SecurID® Governance & Lifecycle Knowledge Base

Find answers to your questions and identify resolutions for known issues with knowledge base articles written by SecurID Governance & Lifecycle experts.
  • SecurID Community
  • :
  • Products
  • :
  • SecurID Governance & Lifecycle
  • :
  • Knowledge Base
  • :
  • install.sh fails with 'gethostip: command not found' and  'gethostip -d <domainname> does not match ...
  • Options
    • Subscribe to RSS Feed
    • Bookmark
    • Subscribe
    • Email to a Friend
    • Printer Friendly Page
    • Report Inappropriate Content

install.sh fails with 'gethostip: command not found' and  'gethostip -d <domainname> does not match hostname -i' errors installing RSA Identity Governance & Lifecycle

Article Number

000032028

Applies To

RSA Product Set: RSA Identity Governance & Lifecycle 
RSA Version/Condition: All
Platform:  Red Hat Enterprise Linux (RHEL)
Platform/Application Server: WildFly
 

Issue

The RSA Identity Governance & Lifecycle installation fails with the following errors:
 
# cd /tmp/aveksa/staging
# ./install.sh
.
.
.
Checking /etc/hosts file entry...
common.sh: line 508: gethostip: command not found 
gethostip -d <domainname> does not match hostname -i
Make sure <domain-name> is set to <ip-address> in your etc/hosts

#

 

Cause

The first error:
 
gethostip: command not found 
 
occurs because either:
  • the default location of the gethostip file, /usr/bin, is not in the root user's PATH environment variable, or
  • the command does not exist on the system because the Operating System (OS) package (syslinux) that contains the gethostip command is not installed.

The second error:
 
gethostip -d <domainname> does not match hostname -i
 
occurs as a result of the first error. Because the command is not found, no information is returned from the gethostip comand, so it cannot match any information returned by the hostname command regardless of whether the contents of the /etc/hosts file are correct or not. 


The most common reason for this error is that the syslinux package has not been installed. When installing an Operating Systems, not all packages are installed by default.
 

Resolution

If gethostip does NOT exist in /usr/bin, check to see if the Operating System (OS) package that contains the gethostip command, syslinux, has been installed.

If gethostip does exist in /usr/bin and /usr/bin is not defined in the PATH environment variable, then add /usr/bin to the PATH environment variable.   


EXAMPLES


If the below commands return no information, then corrective action must be taken. The examples show the information returned, when the Operating System is installed properly.
  1. Check to see if syslinux has been installed. As root, execute the following:
# rpm -qf /usr/bin/gethostip
syslinux-4.02-7.2.el5
If the above command returns no results, then install syslinux using a tool such as rpm or yum. The version of syslinux should be appropriate for the version of RHEL that has been installed. Examples of appropriate commands include the following:
yum install -y syslinux
or
rpm -Uvh <RH OS media location>/syslinux*
  1. Check to see if the gethostip file exists in /usr/bin, and if /usr/bin is defined in the PATH environment variable. As root, execute the following:
# ls -l  /usr/bin/gethostip
-rwxr-xr-x 1 root root 8728 Oct 15  2012 /usr/bin/gethostip

# echo $PATH
.:/u01/app/oracle/product/12.1.0/db_1/bin::/etc/alternatives/java_sdk_1.7.0/bin:
/usr/kerberos/sbin:/usr/kerberos/bin:/opt/ant/ant/bin:/usr/bin:/bin:/sbin:
/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:
/mnt/sysimage/sbin:/mnt/sysimage/usr/X11R6/bin:/root/bin
If /usr/bin is not in the PATH environment variable, it can be added by running a command similar to this:
# export PATH = $PATH:/usr/bin

 
Tags (38)
  • All Versions
  • Any Version
  • Aveksa
  • Break Fix
  • Break Fix Issue
  • Broken
  • Customer Support Article
  • Environment
  • Every Version
  • Identity
  • Identity G&L
  • Identity Governance & Lifecycle
  • Identity Governance and Lifecycle
  • IG&L
  • IGL
  • Install
  • Install Error
  • Install Issue
  • Installation
  • Installation & Upgrade
  • Installation Issue
  • Issue
  • Issues
  • KB Article
  • Knowledge Article
  • Knowledge Base
  • Operating System Issue
  • Operation System
  • OS
  • Platform
  • Problem
  • RSA Identity
  • RSA Identity G&L
  • RSA Identity Governance & Lifecycle
  • RSA Identity Governance and Lifecycle
  • Upgrade
  • Upgrades
  • Version Agnostic
0 Likes
Was this article helpful? Yes No
Share
No ratings

In this article

Version history
Last update:
‎2020-12-12 08:43 AM
Updated by:
Administrator RSA-KB-Sync Administrator

Related Content

Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • Customer Success
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.