Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Database 11g Installation Issue: ORA-12560:TNS: protocol adapter error.

user8860348Aug 14 2013 — edited Aug 15 2013

Folks,

Hello. Initially, my Windows XP host name is "localhost" and IP address 127.0.0.1.

I installed Oracle Database 11g with Windows XP successfully and all Database clients work with Database instance correctly.

For some reasons, I uninstalled the entire Database Server and delete the entire installation directory /oracle.

I configured Windows XP IP address into 192.168.196.101 in order to ping other machines.

For my need, I installed Oracle Database 11g with Windows XP again. On step 7 of 8: Oracle Database Configuration Assistant, I got this error:

ORA-12560:TNS: protocol adapter error.

I click "Password Management" button, there are no rows in this Windows (no username, no lock accounts).

I check listener as below:

C:\>lsnrctl
LSNRCTL>start
Its output: listener name LISTENER has already been started.
LSNRCTL>status
Its output: ......Service DB1 has 1 instance. Instance DB1 status ready. The command completed successfully.

I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is :

listen[0]=LISTENER address=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(port=1522))

I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below

HOST=localhostĀ  port=1522

I think HOST=localhost and port=1522 is the cause of the error ORA-12560 because Windows XP has been configured into HOST=192.168.196.101.

But I don't understand how to solve this issue.

Can any folk tell me how to solve this issue ? need to cancel the installation on step 7 of 8 and install it again ?


Thanks.

This post has been answered by sb92075 on Aug 15 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2013
Added on Aug 14 2013
15 comments
1,873 views