Home » RDBMS Server » Server Administration » Multiplie Homes - TNS Problems
Multiplie Homes - TNS Problems [message #60083] Wed, 14 January 2004 06:01 Go to next message
JOHN
Messages: 182
Registered: April 1998
Senior Member
Hello there. Please can anyone help?

We are building a server with 2 Oracle databases on running different applications which are connected. One is version 9.2 and the other is 8.1.7.

I am getting ORA-12560: TNS:protocol adapter error when trying to connect to the 8.1.7 version.

I can TNSPING both of the different SIDS ok. Here is the output from LSNRCTL - STATUS on the 8.1.7 SID:

Services Summary...
  B0D           has 1 service handler(s)
  PLSExtProc            has 1 service handler(s)
  RQD           has 1 service handler(s)
The command completed successfully
LSNRCTL>

And here is the output from LSNRCTL - STATUS from the 9.2 SID

Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeEXTPROC1ipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=brksapbd.hayscsg.com)(PORT=1527
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeB0Dipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeB0D.worldipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeRQDipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\.pipeRQD.worldipc)))
Services Summary...
Service "B0D" has 1 instance(s).
  Instance "B0D", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service.
Service "RQD" has 1 instance(s).
  Instance "RQD", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

At present only the 9.2 database is up and running.

Sorry for the length of this post but I am stumped! Any help would be appreciated.

John.
Re: Multiplie Homes - TNS Problems [message #60084 is a reply to message #60083] Wed, 14 January 2004 09:48 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
how are u connecting?
are u using an tnsconnectstring?

export ORACLE_SID=817
create ur connectstring to connect to 920 in $ORACLE_HOME_817/network/admin/tnsnames.ora
then
sqlplus user/pass@tns920

else

set ur ORACLE_SID=920
create ur connectstring to connect to 817 in $ORACLE_HOME_920/network/admin/tnsnames.ora
then
sqlplus user/pass@tns817
Re: Multiplie Homes - TNS Problems [message #60123 is a reply to message #60084] Fri, 16 January 2004 12:32 Go to previous message
Steve Callan
Messages: 44
Registered: January 2004
Member
Why not simply use TNS_ADMIN environment variable that points to a single directory containing a tnsnames.ora file, where the file contains connection info for both instances?
Previous Topic: found dead shared server 's000.pid =(10,1)
Next Topic: Oracle LOGIN Problem
Goto Forum:
  


Current Time: Fri Sep 20 10:34:10 CDT 2024