"Cannot resolve hostname" error

  • KM02123396
  • 03-Feb-2016
  • 03-Feb-2016

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

During ESM CORRe installation ManagerSetup will exit installation and /opt/arcsight/manager/logs/hostname_ping.log will show error in the title.

Question

Configure DNS Server

Before troubleshooting this issue make sure to review the steps on KB "Failed to get ip address" not found

# vi /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.8 labcr1 labcr1.hpeswlab.net

# vi /etc/resolv.conf

search hpeswlab.net

nameserver 192.168.1.1

Note that the name server must match the one in /etc/sysconfig/network-scrpts/ifcfg-eth0

DEVICE=eth0

NAME=eth0

DNS1=192.168.1.1

DOMAIN=hpeswlab.net

#NM_CONTROLLED=no

ONBOOT=yes

HWADDR=00:0C:29:F9:ED:05

#TYPE=Ethernet

BOOTPROTO=static

IPADDR=192.168.1.8

#NETMASK=255.255.255.0

USERCTL=no

PEERDNS=no

check_link_down() {

return 1;

}

# reboot