VMware Cloud Community
pwollenburg
Contributor
Contributor

The /bin/ping -c 1 my_Hostname fails but chooses an IP Address different from /etc/hosts

All,

I am installing Oracle EBS R12.2 on a SLES 11 SP3 for VMware (x86_64)

The installation fails, using an IP address for the hostname that is different from the one in the /etc/hosts.

The /etc/hosts IP differs from the return from the nslookup

(Q)How do I get the installer to read the /etc/hosts file and use that FQDN and IP?

When the installer runs this command /bin/ping -c 1 my_Hostname it returns:

THE INSTALLER ERRORS:

“PING My_Hostname (198.105.254.240)”

--- My_Hostname ping statistics --

1 packets transmitted, 0 received, 100% packet loss, time 0ms

RW-50011: Error: - Mid-tier host ping has returned an error: 1 command: /bin/ping -c 1 My_Hostname.my_company.com

ping: unknown host My_Hostname.my_company.com

The /etc/hosts file has 192.168.0.121. When I ping my FQDN from my /etc/hosts file it returns the IP Address in the hostfile.

The /etc/nsswitch.conf is set to look at files and then DNS, but I believe nslookup only looks in DNS, hence Name Service Lookup

The # nslookup servername command returns

Server: 209.18.47.61

Address: 209.18.47.61#53

Non-authoritative answer:

Name: servername

Address: 198.105.254.240

Name: servername

Address: 198.105.244.240

"/etc/resolv.conf"

### Please remove (at least) this line when you modify the file!

search MY_Company.com

nameserver 209.18.47.61

nameserver 209.18.47.62

nameserver 192.168.0.1

options attempts:5

options timeout:15

Thanks,

Paul

0 Kudos
0 Replies