[INS-40904] Oracle_hostname does not resolve to a valid host name

Source: Internet
Author: User

When installing grid infrastructure with DNS, after installing to two nodes trust, the following error appears after clicking Next:

Search on the Internet, and some say in the individual nodes under the ORACLE user. Bash_profile Add the respective hostname of the export oracle_hostname=;

For example, two node host name Node1,node2; add Export Oracle_hostname=node1,export Oracle_hostname=node2

Then check the hostname=node2 of the Hostname:node1 Hostname=node1,node2 in the/etc/sysconfig/network of each node; Bash_profile in Oracle_. The hostname must be the same as the hostname in/etc/sysconfig/network.

I tried, and it turned out to be impossible.

INS-40904 cause and action from Oracle's website:

Http://docs.oracle.com/cd/E82638_01/ERRMG/INS-40001.htm#ERRMG-GUID-CDA98142-B5FE-46F2-AAEA-BAB3C55B6CC8

Cause:the value provided for Oracle_hostname does does resolve to a valid host name.

Action:provide a valid host name for Oracle_hostname,and restart the installer.

After a long time finally found the problem, my DNS reverse resolution has a problem, a little bit, you understand. Preparation is not ready, always go to the late to find the problem.

About public ip,private Ip,vip,scan-ip in the DNS or in the hosts, how to write?

If you do not have DNS, only with the Hosts file, of course, all written to the hosts, but Scan-ip can only write one. Of course, the final error will be reported INS-20802 Oracle Cluster verfication Utility failed. Again of course, this error can be ignored (because you use the Hosts file, Scan-ip only one, if you use DNS will not report an error " This is the online search for the explanation, the third time of course, I verify is wrong ").

Want to provide the wrong connection of the official website, did not find (the official website must have explained, but I did not search)

If using DNS:

The public IP is put in DNS

VIP put in DNS and hosts

Scan-ip put in DNS, three IP OH

Private IP that's all right.

Nonsense so much that actually can not look at I provide under connection and

https://docs.oracle.com/database/121/CWLIN/networks.htm#CWLIN216

Of course, I said above, the end will be error, ignore it (this figure and the above figure is the same, just to express the meaning)

I'm using a version of Oracle 11g R2,grid Infrastructure, which I didn't see.

For reference only, perhaps the problem of where I set up when I use DNS caused this problem to occur.

GNS has not been used, the following I put the above connection and then send again and intercept GNS diagram, above on the use of GNS of those IP configuration, in addition to the GNS itself need DNS, and other all put into the GNS

https://docs.oracle.com/database/121/CWLIN/networks.htm#CWLIN216

Many problems may appear the same error, so, to find their own problems, the other is the reference.

[INS-40904] Oracle_hostname does not resolve to a valid host name

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.