Home » RDBMS Server » Server Administration » ORA-12514 during database startup (windows xp, oracle 11.2.0.2)
ORA-12514 during database startup [message #577893] Thu, 21 February 2013 09:14 Go to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
While starting up the database, I get the following error :

SQL> STARTUP
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Re: ORA-12514 during database startup [message #577894 is a reply to message #577893] Thu, 21 February 2013 09:26 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
as a general rule "local" STARTUP should not throw TNS error,
so I am curious as to what EXACTLY was done to get to the SQL> prompt

ORA-12514 ALWAYS only occurs due to a problem on DB Server system.
One cause of this problem is when the Oracle database is down & needs to be started.
A remote client send a request to the Listener asking to be connected to a specific service.
If/when the listener does not know anything about that service, the listener responds with ORA-12514

post results from the following two OS commands:
lsnrctl status
lsnrctl service

Since every connection request to the listener gets logged, listener.log file will contain a line with 12514 as status code.

*This line contains valuable debugging details. So post this line & surrounding lines.*

for additional debugging suggestions read the URL below:
http://edstevensdba.wordpress.com/2011/03/19/ora-12514/



Re: ORA-12514 during database startup [message #577899 is a reply to message #577894] Thu, 21 February 2013 10:10 Go to previous messageGo to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
I was trying to use impdp command using sys user. I got the error "ORA-28009: connection as SYS should be as SYSDBA or SYSOPER", so I changed the value of O7_DICTIONARY_ACCESSIBILITY to true. It needed bouncing of the database. I could shutdown the database, but not startup. While startup, I got the error "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor".

content of listener file
-------------------------
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\lg123\product\11.2.0\dbhome_2)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\lg123\product\11.2.0\dbhome_2\bin\oraclr11.dll")
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = LNGDAYD-5002192.legal.regn.net)(PORT = 1522))
)
)

ADR_BASE_LISTENER = C:\app\lg123


content of tnsnames.ora file
-----------------------------
LISTENER_AVAYA =
(ADDRESS = (PROTOCOL = TCP)(HOST = LNGDAYD-5002192.legal.regn.net)(PORT = 1522))


ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

AVAYA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = LNGDAYD-5002192.legal.regn.net)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = avaya.legal.regn.net)
)
)


AVAYA_CERT = (DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=cpdb2a113vip.hostname.com)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=cpdb2a114vip.hostname.com)(PORT=1521))
(LOAD_BALANCE=yes)
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=AVYOADB_SERVICE.olscert.lexisnexis.com)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRI ES=180)(DELAY=5))))

content of sqlnet.ora file
---------------------------
SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)



result of lsnrctl status
-------------------------
C:\Documents and Settings\lg123>lsnrctl status

LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 21-FEB-2013 10:47
:47

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 05-FEB-2013 08:18:18
Uptime 16 days 2 hr. 29 min. 30 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\lg123\product\11.2.0\dbhome_2\network\admin\
listener.ora
Listener Log File C:\app\lg123\diag\tnslsnr\LNGDAYD-5002192\listener\
alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LNGDAYD-5002192.legal.regn.net)(PORT
=1522)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

C:\Documents and Settings\lg123>


Re: ORA-12514 during database startup [message #577900 is a reply to message #577899] Thu, 21 February 2013 10:11 Go to previous message
lg123
Messages: 225
Registered: August 2008
Senior Member
I was able to startup the database. The reason why I got the error is because I need to start in the server and not from the client.
Previous Topic: Manullay Oracle Database Creation
Next Topic: uncommit change and redo record ?
Goto Forum:
  


Current Time: Thu Mar 28 07:09:27 CDT 2024