All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

Re: Use SQL*Plus 10g to connect to 9i databases

Stephen Andert


If I use SQL*Plus for Windows version 9, it works.  I copied the tnsnamed.ora from the Ora9 HOME to the Ora10 HOME, so the connect info should be the same.
DB and listener are up.

Thanks for any thoughts.
On 9/13/06, Bobak, Mark <Mark.Bobak@il.proquest.com> wrote:
The error means that you've connected to a listener at the host/port specified in your connect string, but the listener you've connected to doesn't recognize the value of SERVICE_NAME specified in the connect string. 
On the database server, where the listener is running, if you do a 'lsnrctl services', is the service you're trying to connect to listed there?  Also on the database server, what if you connect to the database with "/ as sysdba", and do 'alter system register;"?  Then try the lsnrctl command again, is the service listed?  Did that fix the problem?  If not, are there multiple listeners on that database server?  Maybe you're connecting to the wrong one, and it doesn't support that service?
Hope that helps,

Mark J. Bobak
Senior Oracle Architect
ProQuest Information & Learning

"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects."   --Robert A. Heinlein


From: oracle-l-bounce@freelists.org [mailto: oracle-l-bounce@freelists.org] On Behalf Of Stephen Andert
Sent: Wednesday, September 13, 2006 5:36 PM
To: oracle-l@freelists.org
Subject: Use SQL*Plus 10g to connect to 9i databases

SQL*Plus is installed on my laptop and I want to use it to connect to as many databases as I can. (mainly 9i variants)  I have updated the tnsnames.ora in the 10g home to contain all the entries, and when I use the command-line tnsping, it resolves the names, but when I use 10G SQL*Plus for Windows, it tells me

ORA-12514: TNS:listener does not currently know of service requested in connect

SP2-0640: Not connected

What am I missing?
Bonus points if you can tell me how to connect 10g EM Database Control to other databases (i.e. especially 9i)
Stephen Andert

Aesop - "After all is said and done, more is said than done."

Stephen Andert

Aesop - "After all is said and done, more is said than done."