Guest_imported
New member
- Jan 1, 1970
- 0
I am new at this, so please bear with me. We have installed two different Oracle 8i databases on one server. I can connect to the database that was first created, but when I try to connect to the second database, I get a "TNS:could not resolve service name". My listener.ora contains both SIDs, as stated in the user guides, but I still can't connect.
************
...
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = sid1)
(SID_NAME = sid1)
)
(SID_DESC =
(GLOBAL_DBNAME = sid2)
(SID_NAME = sid2)
)
**************
Is there something I should do on the the listener.ora? My tnsnames.ora file does have an entry for both SIDs. I don't know what to do. Please help.
Sincerely,
Pedro Mercado
************
...
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = sid1)
(SID_NAME = sid1)
)
(SID_DESC =
(GLOBAL_DBNAME = sid2)
(SID_NAME = sid2)
)
**************
Is there something I should do on the the listener.ora? My tnsnames.ora file does have an entry for both SIDs. I don't know what to do. Please help.
Sincerely,
Pedro Mercado