Install Oracle 11GR2, error: [INS-06101] IP address of localhost could not be determined
This error occurs because the host name and the/etc/hosts file are inconsistent, just write the hostname and its IP to the/etc/hosts file, OK.
To view host name and IP address relationships:
[[Email protected]~]# cat/etc/sysconfig/network
Networking=yes
Networking_ipv6=no
Hostname=localhost.localdomain
The host name here is Localhost.localdomain.
[[Email protected]~]# cat/etc/hosts
# do not removethe following line, or various programs
# that requirenetwork functionality would fail.
127.0.0.1localhost
Here we modify the hostname, Linux under the change/etc/sysconfig/network hostname need to restart the system to take effect.
Modify the network file, and then use the hostname command to specify the host name, you do not have to restart the OS.
1. Modify the/etc/sysconfig/network file
[[Email protected]~]# cat/etc/sysconfig/network
Networking=yes
Networking_ipv6=no
Hostname=dave
2. Use the hostname command to modify the hostname, which will invalidate the restart, but we have modified it in the first step. So it's okay to fail.
[Email protected] ~]# hostname
localhost
[Email protected] ~]# hostname Dave
[Email protected] ~]# hostname
Dave
3. As long as the hostname is written to the/etc/hosts file can be resolved, the IP is the current ifconfig query to the IP
Vi/etc/hosts, add the following:
192.168.1.4 Yangchen
Run the installation file again and go through it successfully.
Oracle installation Error [INS-06101] IP address of localhost could not being determined resolution enter journal title