Home » RDBMS Server » Networking and Gateways » ORA-12514: TNS:listener does not currently know of service requested in connect
ORA-12514: TNS:listener does not currently know of service requested in connect [message #295859] Wed, 23 January 2008 14:59 Go to next message
monto
Messages: 60
Registered: November 2007
Location: DALLAS
Member
Hi ,
I am getting the following error

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

1)I could locally logon to the db without alias
2)Tried changing from service_name to sid no luck

[amuwsdv@ammvpdv amuwsrt01]$ lsnrctl status LISTENER_AMUWSDV

LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 23-JAN-2008 20:50:15

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ammvpdv.am.kwe.com)(PORT=1526)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER_AMUWSDV
Version                   TNSLSNR for Linux: Version 10.1.0.5.0 - Production
Start Date                23-JAN-2008 20:10:39
Uptime                    0 days 0 hr. 39 min. 36 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /amuwsdv01/app/oracle/product/10.1.0se/network/admin/listener.ora
Listener Log File         /amuwsdv01/app/oracle/product/10.1.0se/network/log/listener_amuwsdv.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ammvpdv.am.kwe.com)(PORT=1526)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1526)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
SQL> show parameter service_

NAME                                 TYPE
------------------------------------ ---------------------------------
VALUE
------------------------------
service_names                        string
amuwsdv.am.kwe.com


Here is my tnsnames.ora

AMUWSDV.AM.KWE.COM =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = ammvpdv.am.kwe.com)(PORT = 1526))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = amuwsdv)
    )
  )


Listener.ora
SID_LIST_LISTENER_AMUWSDV =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /amuwsdv01/app/oracle/product/10.1.0se)
      (PROGRAM = extproc)
    )
  )

LISTENER_AMUWSDV =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ammvpdv.am.kwe.com)(PORT = 1526))
      )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1526))
      )
    )
[amuwsdv@ammvpdv admin]$ sqlplus system@amuwsdv.am.kwe.com

SQL*Plus: Release 10.1.0.5.0 - Production on Wed Jan 23 20:58:00 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor

.Please let me know what needs to be done to fix it.

Regards
Re: ORA-12514: TNS:listener does not currently know of service requested in connect [message #295862 is a reply to message #295859] Wed, 23 January 2008 15:05 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
First thought: service_name is amuwsdv.am.kwe.com not amuwsdv

Regards
Michel
Re: ORA-12514: TNS:listener does not currently know of service requested in connect [message #295863 is a reply to message #295859] Wed, 23 January 2008 15:06 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.

- Check which services are currently known by the listener by executing: lsnrctl services <listener name>

- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.

- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.

- Check for an event in the listener.log file.

Regards
Michel
Re: ORA-12514: TNS:listener does not currently know of service requested in connect [message #295864 is a reply to message #295859] Wed, 23 January 2008 15:08 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Second thought: do you have local_listener set to LISTENER_AMUWSDV as "lsnrctl status LISTENER_AMUWSDV" does not return this service.

Regards
Michel
Re: ORA-12514: TNS:listener does not currently know of service requested in connect [message #295866 is a reply to message #295864] Wed, 23 January 2008 15:13 Go to previous messageGo to next message
monto
Messages: 60
Registered: November 2007
Location: DALLAS
Member
Sorry my bad about service name did't cahnge it back after making a change it to SID,about local listener i specified it this morning need to bounce the db,do you think that should fix it?
Re: ORA-12514: TNS:listener does not currently know of service requested in connect [message #295870 is a reply to message #295866] Wed, 23 January 2008 15:28 Go to previous messageGo to next message
Michel Cadot
Messages: 68641
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
I think so unless there are other errors.
Start to fix these ones then see what happens.

You can dynamically change local_listener and force the database to register using "alter system register".

Regards
Michel

[Updated on: Wed, 23 January 2008 15:30]

Report message to a moderator

Re: ORA-12514: TNS:listener does not currently know of service requested in connect [message #296107 is a reply to message #295859] Thu, 24 January 2008 10:58 Go to previous message
monto
Messages: 60
Registered: November 2007
Location: DALLAS
Member
Thanks Michel it worked after Local_Listener parameter has been added.

Regards
Previous Topic: IPv6 and Oracle 9i -10g
Next Topic: Heterogeneous Database connections Oracle, SQL Server 2005 and MS Access
Goto Forum:
  


Current Time: Fri Apr 19 01:40:36 CDT 2024