Home
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: [suse-oracle] how to get rid of ORA-12514

michael d taylor

2006-09-18

Replies:
Try changing LISTENER = to DB002 = in listener.ora, and change the port
in both listener.ora and tnsnames.ora to anything other than 1521. 1522
should be fine. It appears the auto registration to the local_listener
init parameter is not working. Then start the listener with lsnrctl
start db002.

-Michael

-----Original Message-----
From: Sebastian Reitenbach [mailto:reitenbach@(protected)]
Sent: Monday, September 18, 2006 9:05 AM
To: suse-oracle@(protected)
Subject: [suse-oracle] how to get rid of ORA-12514

Hi,

I am using oracle 10g. after a reboot of the database server, I get the
ORA-12514: TNS:listener does not currently know of service requested in
connect
when I try to connect to it via sqlplus.
looking at ora-code.com, it says, I shall wait a bit, it needs to
register to
the listener.

just for testing, I created a new database with dbca, activated it
in /etc/oratab, then restarted oracle. It says the listener is fine, it
says
the database was successfully warm started.

a tnsping works well:

TNS Ping Utility for Linux: Version 10.1.0.3.0 - Production on
18-SEP-2006
17:45:28

Copyright (c) 1997, 2003, Oracle. All rights reserved.

Used parameter files:
/opt/oracle/app/oracle/10.1.0/Db_1/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =
192.168.0.13)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)
(SERVICE_NAME
= db002)))
OK (0 msec)


and a lsnrctl status shows me:
lsnrctl status

LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 18-SEP-2006
17:50:21

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias              LISTENER
Version             TNSLSNR for Linux: Version 10.1.0.3.0 -
Production
Start Date           18-SEP-2006 17:42:47
Uptime             0 days 0 hr. 7 min. 34 sec
Trace Level          user
Security            ON: Local OS Authentication
SNMP               OFF
Listener Parameter
File  /opt/oracle/app/oracle/10.1.0/Db_1/network/admin/listener.ora
Listener Log
File      /opt/oracle/app/oracle/10.1.0/Db_1/network/log/listener.log
Listener Trace
File     /opt/oracle/app/oracle/10.1.0/Db_1/network/trace/listener.trc
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.13)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
The command completed successfully

shouldn't there be a Service db002 listed? this is my listener.ora file:
# listener.ora Network Configuration
File: /opt/oracle/app/oracle/10.1.0/Db_1//network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
  (SID_DESC =
   (SID_NAME = PLSExtProc)
   (ORACLE_HOME = /opt/oracle/app/oracle/10.1.0/Db_1)
   (PROGRAM = extproc)
  )
)

LISTENER =
(DESCRIPTION_LIST =
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
  )
  (DESCRIPTION =
   (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.13)(PORT = 1521))
  )
)

TRACE_LEVEL_LISTENER = USER

I added the following to the SID_LIST_LISTENER:
  (SID_DESC =
   (SID_NAME = db002)
   (ORACLE_HOME = /opt/oracle/app/oracle/10.1.0/Db_1)
  )

then a lsnrctl status showed me the db002, but still the same error when

trying to connect to the database with sqlplus.
but afaik, I do not need to add this snippet in the listener.ora file,
the
database should register automatically.

any hint how do I let the listener know about the databases available,
what I
can do or where to look for errors or warning messages?

kind regards
Sebastian


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting