Oracle installation Error [INS-06101] IP address of localhost could not being determined workaround

Source: Internet
Author: User

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.

Note that the name cannot be underlined

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=shark

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 shark

[Email protected] ~]# hostname

Dave

3. Modify the Hosts file

[Email protected] ~]# cat/etc/hosts

# don't remove the following line, orvarious programs

# that require network functionality Willfail.

127.0.0.1 localhost

192.168.7.2 Shark


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.