Sign up ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I have installed Oracle 12c on Windows Server 2008 and during installation it shows the following warning:

[INS-20802] oracle net configuration assistant failed

When I click retry it continues the installation, but at the end Enterprise Manager (EM) is not accessible.

After some Googling I realized that the problem is related to the port.

Can anyone help me how to solve this issue?

share|improve this question

migrated from Apr 2 '14 at 8:07

This question came from our site for professional and enthusiast programmers.

Did you have another Oracle installation on that computer? – a_horse_with_no_name Apr 2 '14 at 8:56
There should be more detail to this error message. Another popup with a more specific cause of the failure. – Andrew Brennan Apr 2 '14 at 9:25
No i didn't have any other installation of Oracle on this machine. – Ali Apr 2 '14 at 9:48
And check your firewall. – steve Apr 2 '14 at 17:22

1 Answer 1

You should provide the installation trace file in order to identify the problem correctly.

Usually the NCA checks for the ports required by Oracle to function, and because you can also configure them manually, when a port verification fails, only a warning is issued, even though it's quite critical.

First of all check if the standard ports required by Oracle (1158, 1521 etc) are not used by another application.

Open the tracefile, and looks at two key elements: the Local Host IP Address and make sure the IP is correct (otherwise check the hosts file); and the other is the message returned by the port checked.

If you want to avoid a reinstallation, you can configure the portlist.ini file and set a new free port for Oracle's services.

share|improve this answer
Thank you so much for your answer. The portlist.ini file is empty. could you tell me how I can configure this file ? – Ali Apr 3 '14 at 1:28
You can use [emca -config dbcontrol db] and [emca -repos create/recreate] in order to configure the database (including ports) and recreate the db repository. – ddaniel Apr 3 '14 at 6:50
in the log file it shows : INFO: Read: Listener start failed. can it cause the problem ? – Ali Apr 3 '14 at 7:16
Can you please post an extract of the log/trace file? Preferably the full trace for this installation. – ddaniel Apr 3 '14 at 7:30
WARNING: Skipping line: Listener Control complete. INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0 INFO: Read: Listener start failed. WARNING: Skipping line: Listener start failed. – Ali Apr 3 '14 at 9:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.