Home » RDBMS Server » Server Administration » ORA-12514 TNS listener could not resolve servce_name
ORA-12514 TNS listener could not resolve servce_name [message #179648] Wed, 28 June 2006 05:29 Go to next message
sreehari
Messages: 101
Registered: May 2006
Senior Member
Hi all

When i try to log on to the database, i am getting the error.

Could u tell me how to deal with this error..
Noter:Listener is already running in the server.

Thanks
Re: ORA-12514 TNS listener could not resolve servce_name [message #179657 is a reply to message #179648] Wed, 28 June 2006 05:56 Go to previous messageGo to next message
Frank Naude
Messages: 4580
Registered: April 1998
Senior Member
$ oerr ora 12514
12514, 00000, "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.


Try this:

SQL> ALTER SYSTEM REGISTER;

System altered.

icon4.gif  Re: ORA-12514 TNS listener could not resolve servce_name [message #179661 is a reply to message #179657] Wed, 28 June 2006 05:59 Go to previous messageGo to next message
shahnazurs
Messages: 240
Registered: June 2005
Location: India
Senior Member
could you please let me know what is the version or oracle as well as in which OS it is been installed?
Re: ORA-12514 TNS listener could not resolve servce_name [message #179663 is a reply to message #179657] Wed, 28 June 2006 06:05 Go to previous messageGo to next message
sreehari
Messages: 101
Registered: May 2006
Senior Member
I am not able to connect as system user...
where can i give that command...

Thanks
Re: ORA-12514 TNS listener could not resolve servce_name [message #179664 is a reply to message #179661] Wed, 28 June 2006 06:06 Go to previous messageGo to next message
sreehari
Messages: 101
Registered: May 2006
Senior Member
Oracle 10g
Win 2000

Thanks
Re: ORA-12514 TNS listener could not resolve servce_name [message #179785 is a reply to message #179648] Wed, 28 June 2006 13:51 Go to previous messageGo to next message
Vamshee
Messages: 32
Registered: February 2005
Member
Could you please post your tnsnames.ora/sqlnet.ora file

Check your tns entries and try to do a "tnsping " to the db that you are trying to connect to.

Thnx
Vamshee
Re: ORA-12514 TNS listener could not resolve servce_name [message #180289 is a reply to message #179648] Sun, 02 July 2006 21:39 Go to previous message
czetsuya
Messages: 4
Registered: June 2006
Location: Philippines
Junior Member

//listener.ora should be something like this
//manually add the first SID_DESC according to your settings

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = <name>)
      (ORACLE_HOME = <OH>)
      (GLOBAL_DBNAME = <name.domain>)
    )
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
      (PROGRAM = extproc)
    )
  )


# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

name =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = name)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

//it should work fine now but you have to manually restart the 
//database instance
//BTW lsnrctl stop and start the listener first before editing conf 
//files.
Previous Topic: add partition and values Partition errors
Next Topic: How to add tablespace or datafile in Disaster recovery server (Oracle8.1.6) in Solaris 5.8
Goto Forum:
  


Current Time: Fri Sep 20 10:47:30 CDT 2024