During the installation of Oracle database 19c on Linux/OL8 , you may come across an error “ [INS-20802] Oracle Net Configuration Assistant failed ” This error occurred due to below error message. Further, you can read more detail from Oracle Official support portal
[FATAL] [DBT-06103] The port (5,500) is already in use.
ACTION: Specify a free port.
Cause: [INS-20802]
You can install Oracle Database on a non-networked computer. If the computer, such as a laptop, is configured for DHCP and you plan to connect the computer to the network after the Oracle Database installation, then use the ping command on the computer on which you want to install the database to check if the computer can connect to itself.
When we tried to investigate the cause of issue, we found some ports were already been used.
[root@linux oracle]# grep -w 5500 /etc/services
fcp-addr-srvr1 5500/tcp # fcp-addr-srvr1
fcp-addr-srvr1 5500/udp # fcp-addr-srvr1
another reason found, missing a short name hotstname in /etc/hosts file. Perform this step by first using only the host name and then using the fully qualified name, which should be in the /etc/hosts file. there should be Only FQDN (Fully Qualified Name) in the host file.
Resolution: [INS-20802]
First, we will find the short name of host with below command
[root@linux oracle]# hostname -s
Now, open file /etc/hosts to edit by adding short name after FQDN
#IP_ADDRESS HOSTNAME_WITH_DOMAIN HOSTNAME
172.16.17.253 oradb.a2zeducate.com oradb
Conclusion:
Hopefully, you may find the best solution which faced issue [INS-20802] Oracle Net Configuration Asistant failed during oracle database 19c installation by adding host name.
Read More:
How to Install Oracle Linux 9.1 with Screenshot: A Complete Step-by-Step Guide for Beginners