Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

TNS-12557

Posted on 2010-11-23
8
Medium Priority
?
2,079 Views
Last Modified: 2012-06-27
# listener.ora Network Configuration File: C:\app\Khan\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = test)(PORT = 1521))
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = oracle11)
      (ORACLE_HOME = C:\app\Khan\product\11.1.0\db_1)
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = oracle10)
      (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    )
  )


C:\app\MohammedKhan\product\11.1.0\db_1\NETWORK\ADMIN>lsnrctl status

LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 23-NOV-2010 11:54
:24

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12557: TNS:protocol adapter not loadable
 TNS-12560: TNS:protocol adapter error
  TNS-00527: Protocol Adapter not loadable

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=IBM-4B98511D472)(PORT=15
21)))
TNS-12557: TNS:protocol adapter not loadable
 TNS-12560: TNS:protocol adapter error
  TNS-00527: Protocol Adapter not loadable
0
Comment
Question by:hussainkhan22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 5

Expert Comment

by:Erk333
ID: 34198884
0
 
LVL 13

Expert Comment

by:George K.
ID: 34198937
You have 2 ORACLE_HOME installed.
You have to either uninstall latest oracle_home or
On the other hand you can edit registry
HKEY_LOCAL_MACHINE. - SOFTWARE - ORACLE
Right click on the Oracle_HOME one to be deleted and delete.
Then update respectively environment variables -> Right click My computer -Properties.
0
 

Author Comment

by:hussainkhan22
ID: 34198988
Can I have two oracle homes on my laptop. I used to have two oracle homes and worked fine but now I don't know why is it giving problems. I have oracle 10g and oracle 11g databases on windows xp. I really appreciate your help. Thanks in advance
Listener.docx
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 13

Expert Comment

by:George K.
ID: 34199038
0
 
LVL 13

Assisted Solution

by:George K.
George K. earned 1000 total points
ID: 34199048
0
 

Author Comment

by:hussainkhan22
ID: 34205111
Sorry getting confused. Can you please tell me the exact steps instead of link to resolve my issue. I really appreciate your help. Thanks in advance
0
 

Author Comment

by:hussainkhan22
ID: 34205166
C:\>rman catalog rman/rman@oracle11

Recovery Manager: Release 11.1.0.6.0 - Production on Wed Nov 24 07:26:09 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

connected to recovery catalog database

RMAN> connect target system/system@oracle10

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12541: TNS:no listener

RMAN> exit

C:\>set ORACLE_SID=oracle10

C:\>set ORACLE_HOME=C:\oracle\product\10.2.0\db_1

C:\>rman target system/system@oracle10

Recovery Manager: Release 11.1.0.6.0 - Production on Wed Nov 24 07:27:42 2010

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-03000: recovery manager compiler component initialization failed
RMAN-06035: wrong version of recover.bsq, expecting 11.1.0.6, found 10.2.0.0

C:\oracle\product\10.2.0\db_1\BIN>rman target system/system@oracle10

Recovery Manager: Release 10.2.0.1.0 - Production on Wed Nov 24 07:28:20 2010

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: ORACLE10 (DBID=2466766041)

RMAN> connect catalog rman/rman@oracle11

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04004: error from recovery catalog database: ORA-12541: TNS:no listener
0
 
LVL 5

Accepted Solution

by:
Anand earned 1000 total points
ID: 34273594
Try this simple test
rename C:\app\Khan\product\11.1.0\db_1\network\admin\listener.ora  to listener.ora.old
lsnrctl start
lsnrctl status ( give this command until you see the database service as registered in the status. it might take few minutes to see this)
try to connect to the database using the tnsnames alias entry
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question