LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 02-NOV-2005 11:58:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=codc182.rqinet.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 2 11:58:43 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
The name orcl.codc182.rqinet.com comes the way you have defined in the initfile.
When you are connecting locally you don't need the service name, you can connect trouble free.
When you do that from remote client/server you have troubles.
In your case the tnsping has identified the host and the the Listener was unable to connect to the database as it cannot recognize the SID thereafter.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Says to set the service_name right (to SID) in TNS file and connect.
The name orcl.codc182.rqinet.com comes the way you have defined in the initfile.
When you are connecting locally you don't need the service name, you can connect trouble free.
When you do that from remote client/server you have troubles.
In your case the tnsping has identified the host and the the Listener was unable to connect to the database as it cannot recognize the SID thereafter.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Says to set the service_name right (to SID) in TNS file and connect.
The database says thats the service name via show parameter service.
However I cannot connect locally if I reference the tnsnames entry.
There was a local listener defined in the pfile and it needed to be in the tnsnames. I dont really understand this local listener concept. I had added the local listener back in before but the tns alias is case sensitive until the database auto registers with the listener which takes a couple minutes.
Bookmarks