Oracle Installation Error [ins-06101] IP address of localhost cocould not be determined Solution

Source: Internet
Author: User

 

Error: [ins-06101] IP address of localhost cocould not be determined when installing Oracle 11gr2

 

This error occurs because the host name and/etc/hosts file are inconsistent. You only need to write the host name and its IP address to the/etc/hosts file and then OK.

 

View the relationship between the host name and the IP Address:

 

[Root @ localhost ~] # Cat/etc/sysconfig/Network

Networking = Yes

Networking_ipv6 = No

Hostname = localhost. localdomain

 

The host name here is localhost. localdomain.

 

[Root @ localhost ~] # Cat/etc/hosts

# Do not removethe following line, or various programs

# That requirenetwork functionality will fail.

127.0.0.1localhost

 

Modify the host name. in Linux, You need to restart the system to modify the hostname in/etc/sysconfig/network.

 

In addition to modifying the network file, run the hostname command to specify the host name, so you do not need to restart the OS.

 

1. Modify the/etc/sysconfig/Network File

[Root @ localhost ~] # Cat/etc/sysconfig/Network

Networking = Yes

Networking_ipv6 = No

Hostname = Dave

 

2. Use the hostname command to modify the host name. The modification and restart will fail, but we have modified it in the first step. So it does not matter if it fails.

[Root @ localhost ~] # Hostname

Localhost

[Root @ localhost ~] # Hostname Dave

[Root @ localhost ~] # Hostname

Dave

 

3. Modify the hosts file

 

[Root @ localhost ~] # Cat/etc/hosts

# Do not remove the following line, orvarious programs

# That require Network functionality willfail.

127.0.0.1 localhost

192.168.3.222 Dave

 

Run the installation file again.

 

 

 

 

 

Bytes -------------------------------------------------------------------------------------------------------

Blog: http://blog.csdn.net/tianlesoftware

WEAVER: http://weibo.com/tianlesoftware

Email: dvd.dba@gmail.com

Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)

Super DBA group: 63306533 (full); dba4 group: 83829929 (full) dba5 group: 142216823 (full)

Dba6 group: 158654907 (full) dba7 group: 69087192 (full) dba8 group: 172855474

DBA super group 2: 151508914 dba9 group: 102954821 chat group: 40132017 (full)

-- Add the group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, the application is rejected.

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.