No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 uMate User Guide 36

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Error Occurred During uMate Running on Linux

Error Occurred During uMate Running on Linux

Symptom:

linux:linux:Name or service not known is displayed in the ErrorMessage column of the program running result list, as shown in Figure 6-1.

Figure 6-1 Running error

Cause:

The hostname is not configured during the OS installation and the default hostname localhost is used. This results in a resolution error.

Solution:

  1. Run the hostname command to obtain the host name.
    linux:/home # hostname 
    linux
  2. Check the /etc/hosts file for the 127.0.0.1 configuration information.
    linux:/home # cat /etc/hosts 
    # 
    # hosts         This file describes a number of hostname-to-address 
    #               mappings for the TCP/IP subsystem.  It is mostly 
    #               used at boot time, when no name servers are running. 
    #               On small systems, this file can be used instead of a 
    #               "named" name server. 
    # Syntax: 
    # 
    # IP-Address  Full-Qualified-Hostname  Short-Hostname 
    # 
    127.0.0.1       localhost

    The host name linux is not configured in 127.0.0.1.

  3. Add the host name linux to the /etc/hosts file. Use a space to separate localhost and linux.
    linux:/home # cat /etc/hosts 
    # 
    # hosts         This file describes a number of hostname-to-address 
    #               mappings for the TCP/IP subsystem.  It is mostly 
    #               used at boot time, when no name servers are running. 
    #               On small systems, this file can be used instead of a 
    #               "named" name server. 
    # Syntax: 
    # 
    # IP-Address  Full-Qualified-Hostname  Short-Hostname 
    # 
    127.0.0.1       localhost linux
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000068881

Views: 73781

Downloads: 5056

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next