Again: ORA-12504: TNS:listener was not given the SERVICE_NAME...

Hi Guys,
I got this already discussed error and I am sorry, to start a new topic, but I just have no idea what to do else.
I have oracle11g - 32 bit running on my Windows 7 64 bit machine.
The database-server is running fine according to the Database-Control Webinterface.
Connecting with SQLPlus also works
Now my application tries to connect to
Server: localhost
Database: orcl
User: System
PW: myPw
I get: ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
I was reading many threads here and so I tried to configure the standard-listener using the netmanager with an additional SID named "orcl" which results in this listener.ora:
Line: -----
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\Andinger\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\Andinger\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = Oracle8)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Andband)(PORT = 1521))
ADR_BASE_LISTENER = E:\app\Andinger
Line: -----
This is my tnsnames.ora
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Andband)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Line: -----
What else could I check? What else could be the reason, that it doesn't work.
I appreciate any help, suggestins, hints... :)
Thanks
Andy
Edited by: 943829 on 01.07.2012 04:56
Edited by: 943829 on 01.07.2012 04:57

Thanks for your fast reply!
Attached all the stuff you asked for:
First the result of tnsping:
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2
012 19:19:33
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Parameterdateien benutzt:
E:\app\Andinger\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Adapter EZCONNECT zur Aufl÷sung des Alias benutzt
Verbindungsversuch mit (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROT
OCOL=TCP)(HOST=fe80::341a:eb0:3f57:ff6d%13)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(H
OST=192.168.0.146)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=2001:0:5ef5:79fb:341a
:eb0:3f57:ff6d)(PORT=1521)))
OK (20 ms)
This is the content of sqlnet.ora
# sqlnet.ora Network Configuration File: E:\app\Andinger\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
The status of the Listener:
C:\Users\Andinger>lsnrctl status
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2012 19:23
:25
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Andband)(PORT=1521)))
STATUS des LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Startdatum 01-JUL-2012 13:07:18
Uptime 0 Tage 6 Std. 16 Min. 7 Sek.
Trace-Ebene off
Sicherheit ON: Local OS Authentication
SNMP OFF
Parameterdatei des Listener E:\app\Andinger\product\11.2.0\dbhome_1\network\admi
n\listener.ora
Log-Datei des Listener e:\app\andinger\diag\tnslsnr\Andband\listener\alert\lo
g.xml
Zusammenfassung Listening-Endpunkte...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Andband)(PORT=1521)))
Services ▄bersicht...
Dienst "CLRExtProc" hat 1 Instanzen.
Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Dienst "Oracle8" hat 1 Instanzen.
Instanz "ORCL", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Dienst "orcl" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Dienst "orclXDB" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Der Befehl wurde erfolgreich ausgef³hrt.
And the Listener Service information:
C:\Users\Andinger>lsnrctl service
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2012 19:24
:37
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Andband)(PORT=1521)))
Services ▄bersicht...
Dienst "CLRExtProc" hat 1 Instanzen.
Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" eingerichtet:0 abgewiesen:0
LOCAL SERVER
Dienst "Oracle8" hat 1 Instanzen.
Instanz "ORCL", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" eingerichtet:12 abgewiesen:0
LOCAL SERVER
Dienst "orcl" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Handler:
"DEDICATED" festgelegt:371 abgelehnt:0 Status:ready
LOCAL SERVER
Dienst "orclXDB" hat 1 Instanzen.
Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
Handler:
"D000" eingerichtet:0 abgewiesen:0 aktuell:0 max:1022 Status:ready
DISPATCHER <machine: ANDBAND, pid: 3980>
(ADDRESS=(PROTOCOL=tcp)(HOST=Andband)(PORT=49189))
Der Befehl wurde erfolgreich ausgef³hrt.
I hope that you understand it. I installed a german version. If it is a problem, I can install the english version.

Similar Messages

  • ORA-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA

    Hi
    i installed a fresh oracle linux and installes 11.2.0 database server. the server works fine but i have a proplem to connect to the database from a windows 2008 r2
    client. For the client connection i installed the oracle instantclient on the windows system. Now i want to configure the system dsn to connect to the oracle
    server like this
    data source description: vSphere 64
    description: ----
    TNS Service Name: VCDB
    user id: system
    then i go to TEST connection
    Service Name: VCDB
    user name: system
    Password: mypassword
    so i copied the tnsnames.ora from the server to the client
    then i get
    ora-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
    here´s my tnsnames.ora from the client
    VCDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.31.98.173)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vcdb.vmware)
    i tested serveral config´s but nothing works. I can ping the server and also i cn telnet the server on port 1521. The listener on the server works fine
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-SEP-2010 20:48:52
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vc-db1.mydomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-SEP-2010 20:47:45
    Uptime 0 days 0 hr. 1 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/vc-db1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vc-db1mydomain)(PORT=1521)))
    Services Summary...
    Service "vcdb.vmware" has 1 instance(s).
    Instance "vcdb", status READY, has 1 handler(s) for this service...
    Service "vcdbXDB.vmware" has 1 instance(s).
    Instance "vcdb", status READY, has 1 handler(s) for this service...
    The command completed successfully
    but it´s not possible to create a connection to the server. My enviroment variables are this
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_HOSTNAME=vc-db1.mydomain
    ORACLE_SID=vcdb
    ORACLE_TERM=xterm
    so i think on the server site everything is correct. How could i establish a connection from the windows client
    to the linux database server. Or is ODBC the wrong method for this?
    Kind regards
    ACID25

    Hi,
    Check the listener log and see if the connection information is logged (in this case with error)
    If logged, then we are reaching the correct listener.
    Then check tnsping VCDB works fine along with sqlplus connection through listener using VCDB as connect string.
    If above both works, then issue can be isolated to ODBC configuration or setup issue.
    In case even if the tnsping / sqlplus is failing to connect with VCDB, then worth taking a client sqlent trace at level 16 and listener trace at level 16 to analyse the issue further.
    Thanks,
    Sathya

  • TNS:listener was not given the SID in CONNECT_DATA

    Hi Experts,
    I would like share my current issues that might you have this.
    Currently we have 1 external application that need to connect to oracle DB.
    The input are 3 things, database type (oracle), servername, DB username and password.
    I have created another SID on my DB. so 1 oracle running 2 SID.
    My tnsname.ora would be:
    NKD.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
    (CONNECT_DATA =
    (SID = NKD)
    (GLOBAL_NAME = NKD.WORLD)
    NKD_ORG.WORLD =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = NKDORG)
    (SERVICE_NAME = NKD_ORG)
    (GLOBAL_NAME = NKD_ORG.WORLD)
    LISTENER_NKDORG.WORLD =
    (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
    and my listener.ora
    ADR_BASE_LISTENER_NKDORG = /oracle
    SID_LIST_LISTENER_NKD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = NKD)
    (ORACLE_HOME = /oracle/NKD/112_64)
    CONNECT_TIMEOUT_LISTENER_NKD = 10
    LISTENER_NKDORG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1521))
    STARTUP_WAIT_TIME_LISTENER_NKD = 0
    ADMIN_RESTRICTIONS_LISTENER_NKD = on
    LISTENER_NKD =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = NKD.WORLD))
    (ADDRESS = (PROTOCOL = IPC)(KEY = NKD))
    (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
    TNSping successfull, lsnrctl status have The listener supports no services.
    I can connect to DB via sqlplus.
    But everytime the apps try to connect always given me: TNS:listener was not given the SID in CONNECT_DATA

    Hello;
    I think the issue is here, using both a service_name and a SID.
    NKD_ORG.WORLD =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = NKDORG)
    (SERVICE_NAME = NKD_ORG)
    (GLOBAL_NAME = NKD_ORG.WORLD)
    )SID missing from the CONNECT_DATA
    NKD_ORG.WORLD =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = SAP.WORLD)(PROTOCOL = TCP)(HOST = vdhsnkd)(PORT = 1527))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = NKDORG)
    (SERVICE_NAME = NKD_ORG)
    (GLOBAL_NAME = NKD_ORG.WORLD)
    )should be
    (CONNECT_DATA =
            (SERVICE_NAME = NKD_ORG)
        ) You have (SERVER = DEDICATED) and (SID = NKDORG) between
    In any event this is almost always an issue with the tsnames.ora file.
    http://docs.oracle.com/cd/B19306_01/win.102/b14307/featConnecting.htm#sthref114
    About Naming and Connect descriptors :
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/concepts.htm#i1041378
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#sthref683
    Worth checking the parameter "local_listener" I'm thinking this should be set default.
    Also check lsnrctl status and/or restart/start the listener
    TROUBLESHOOTING GUIDE TNS-12518 TNS listener could not hand off client connection [ID 550859.1]
    Best Regards
    mseberg
    Edited by: mseberg on Apr 5, 2012 5:39 AM
    Edited by: mseberg on Apr 5, 2012 7:07 AM

  • Hi...Please help...Getting ORA 12154 TNS Listener could not resolve...

    Hi,
    I have just loaded Oracle 10g Rel 2 in Win 2003 Enterprise Edition.
    But when I try to connect to sqlplus, I am getting ORA -12154 : TNS: Listener could not resolve the connect identified specified.
    I have registered the database, the listener and tnsnames have been set correctly.
    I have also set the Oracle Home environment variable.
    Still getting the error.
    Any help will be highly appreciated.
    Thanks,

    I agree
    ORA-12145: (does not exist in the standard manuals)
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    ORA-12541: TNS:no listener
    It is pretty easy to fat-finger these 4 message numbers. As a result, when a person has the actual and complete error message and an error number for a different message, it is usually not a bad idea to use the actual message. (Based on transposing only 3 digits compared to typing over 50 characters correctly.)
    In this case the OP has really bollixed things: Subject implies a true 12154, text in the thread is an actual 12514 but mentions 12154.
    As a result, there are several potentially correct answers, depending on the interpretation of the question.
    - sb92075 gave the correct answer based on the number
    - I gave the correct answer based on the message in the thread
    - Anurag and Ed gave the correct answer based on 'the question is not formed correctly'
    Edited by: Hans Forbrich on Jan 24, 2010 7:13 AM
    (BTW - ORA-12415 and ORA-12451 are the other permutations ... described http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e12400.htm#sthref3357)

  • An error was encountered performing the requested operation:  Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor    Vendor code 12505

    From sql developer I am trying to connect to database in my local machine. It shows the following below error. Any suggestions?
    An error was encountered performing the requested operation:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505

    lsnrctl results are as shown below
    C:\Users\ndodd_000>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:40
    :25
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                18-AUG-2013 15:29:41
    Uptime                    0 days 2 hr. 10 min. 50 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ndodd_000\product\11.2.0\dbhome_1\network\admin
    \listener.ora
    Listener Log File         c:\app\ndodd_000\diag\tnslsnr\Vamsi\listener\alert\log
    .xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service results
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:
    :20
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:186 refused:0 state:ready
             LOCAL SERVER
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: VAMSI, pid: 904>
             (ADDRESS=(PROTOCOL=tcp)(HOST=Vamsi)(PORT=49237))
    The command completed successfully

  • Error ORA-12505, TNS:listener does not currently know of SID given in co

    Hi ,
    When I am running the jdeveoper for my adf application , I am getting the follwoing error:
    starting weblogic with Java version:
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    =================================================
    I am using scott as the dabase name i.e. SID is scott and jdev version is 11.1.1.2, I am able to connect to scott database using sqlplus. e.g. hr/hr@scott is working fine in sqlplus.
    Any suggestions
    Thanks in advance

    Thanks for the response Frank,
    I got this issue resolved, I did find out that there were 2 db connections were there , One Connection I name was Scott and other as FOD. Scott had correct SID, and FOD had incorrect SID as XE. So I deleted the FOD Connection. and renamed the Scott Connection to FOD( SID is still Scott).

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect des

    Hello all,
    I installed a 10g client on a windows PC, which already had 8i installed.
    SQLPlus login works for databases in both environments, but now a 8i database cannot be connected from Visual Studio.
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    I immediately checked both tnsnames.ora, but I don't see anything wrong.
    sqlnet.ora has:
    SQLNET.AUTHENTIFICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Has anybody encountered this issue?
    I'm thinking of de-installing 10g now...
    Thanks in advance.

    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.
    Pay special attention to these possible reasons:
    - Check which services .......
    - Check that the SERVICE_NAME parameter ...........
    There's a mismatch between service_name is tnsnames.ora and service_name known by the actual listener.
    Werner

  • CF MX7- ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    Hi all,
    My System:
    ColdFusion MX 
    Version  7,0,2
    Windows 2003  
    Oracle 10G
    tnsnames.ora
    ABC.WORLD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = fds1611.HHS.com)(PORT = 1521))
        (LOAD_BALANCE = yes)
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = abc)
    This is how I setup in the CF Administrator:
    CF Data Source: myDataSource
    JDBC URL: jdbc:oracle:thin:@fds1611.HHS.com:1521:ABC
    Driver Class: oracle.jdbc.OracleDriver
    It is used to run fine with Oracle9; we upgraded to Oracle10G.  I wonder if that is the caused? What I need to do. Please help!
    I am able to connect to the database using Toad/SQL+, so I think tnsnames/Listener is fine.
    Error Msg:
    Connection verification failed for data source: myDataSource
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was: fds1611.HHS.com:1521:ABC
    The root cause was that: java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: fds1611.HHS.com:1521:ABC
    Thanks!

    tnsname.ora......
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    listner.ora...........................
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\user\product\11.2.0\d_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\d_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect

    Hi Friends,
    I have created 10g database for catalog.
    I kept the tns entry in some other server. Tnsping is working fine.. I can see the result.
    mexn01:$ tnsping rman09na
    TNS Ping Utility for HPUX: Version 9.2.0.5.0 - Production on 28-APR-2008 19:29:07
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    /apps/app/oracle/local/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))
    OK (0 msec)
    When I am trying to connect to the database I am getting following error..
    mexn01:$ sqlplus ismdba/xxxxx@rman09na
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Apr 28 19:29:22 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor
    Please help me..
    Thanks in advance.

    Try on the server where it doesn't work:
    sqlplus ismdba/xxxxx@"(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
    or
    tnsping "(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = torora60)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = rman09na)))"
    (note the double quotes)
    If that works then your tnsnames.ora is incorrect on that server.

  • ORA-12505, TNS:listener does not currently know of SID given in connect des

    Hello,
    After installation of Oracle Database Express Edition 11g and Oracle SQL Developer 3.0, I tryed connect a database.
    Informations entered :
    Nom de connexion : xe_sys
    Nom utilisateur : sys
    Mdp : *********
    Type de connexion : de base, role sysdba
    Nom d'hote : POST1.compteUs.local
    Port : 1521
    SID : XE
    when I tested the connection I have this famous message that appears:
    Statut : échec -Echec du test : Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    this is listener.ora :
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = POST1.compteUs.local)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    this is sqlnet.ora :
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    this is tnsname.ora :
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = POST1.compteUs.local)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Can you help me please ?
    Thanks

    Thanks of help.
    here, commande 'lsnrctl stat' executed :
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 10-OCT. -2012 08:
    40:29
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 10-OCT. -2012 03:30:05
    Uptime 0 days 5 hr. 10 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\POST1\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=POST1.compteUs.local)(PORT=1521)
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    So, I tryed :
    Informations entered :
    Nom de connexion : test
    Authentification OS
    Type connection : de base, role sysdba
    host name : POST1.compteUs.local
    Port : 1521
    Service name : XE
    And this is message erreur :
    Statut : échec -Echec du test : Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

  • Error ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    I have a java code that tries to connect to my oracle database.Below given the code snippet.
    I am getting error when I ran this code.
    Java code.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class jdbc {
       public static void main(String[] args) {
         try {
             Class.forName("oracle.jdbc.OracleDriver");
         } catch (ClassNotFoundException e) {
             e.printStackTrace();
             return;
         Connection connection = null;
         try {
             connection = DriverManager.getConnection(
                     "jdbc:oracle:thin:@localhost:1521:XE", "SCOTT",
                     "password");
         } catch (SQLException e) {
             e.printStackTrace();
             return;
    Error I am getting is
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Can Someone explain me what is wrong here?

    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ip
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tc
    Services Summary...
    Service "CLRExtProc" has 1 instance(
      Instance "CLRExtProc", status UNKN
    Service "PLSExtProc" has 1 instance(
      Instance "PLSExtProc", status UNKN
    The command completed successfully
    Obviously there is no handler for XE service.
    Maybe you changed hostname(this should be "Owner-PC") ?
    Try to manually start/stop db and see if there are some errors:
    sqlplus / as sysdba
    startup
    shutdown immediate
    If after that you still can't find cause, try to ask on oracle db forum.
    Dario

  • ORA-12505: TNS:listener does not currently know of SID given in connect

    hi Dears,
    i had insatlled new 11g on my Linux centios 5 system for testing purpose. when i started oem i can see agent is down but when i checked the agent status its saying below messages. i'm new to oracle . please guide me.
    oracle11@test bin]$ ./emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.2
    OMS Version : 10.2.0.4.2
    Protocol Version : 10.2.0.4.2
    Agent Home : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11
    Agent binaries : /sd01/oracle11/app/product/11.2.0/dbhome_1
    Agent Process ID : 4206
    Parent Process ID : 4181
    Agent URL : https://test:1830/emd/main
    Repository URL : https://test:5500/em/upload/
    Started at : 2011-11-21 14:30:21
    Started by user : oracle11
    Last Reload : 2011-11-21 14:36:23
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 762
    Size of XML files pending upload(MB) : 16.39
    Available disk space on upload filesystem : 77.21%
    Data channel upload directory : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11/sysman/recv
    Last attempted heartbeat to OMS : 2011-11-21 15:11:09
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    from OEM
    * Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    i had restarted the listener
    oracle11@test admin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:05:16
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER_1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-NOV-2011 15:05:16
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    in this server i have 10g home but in the different filesystem : /home/oracle/oracle/product/10.2.0/db_2
    11g home : /sd01/oracle11/app/product/11.2.0/dbhome_1
    as per the agent messages i thought to add SID LIST in listner but got error message when i start the listener.ora below listener.ora details
    # listener.ora Network Configuration File: /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.25.151)(PORT = 1523))
    SID_LIST_LISTENER_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = training11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = training11)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = orcl11)
    ADR_BASE_LISTENER_1 = /sd01/oracle11/app
    when i ran lsnrctl start LISTENER_1 i got below messages could any one please help me to solve this problem. my aim is when i start oem everything should work rightnow agent is down
    [oracle11@test bin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:27:38
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER_1 parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    NL-08014: Failed to initialize Diagnosability framework, falling back to old network tracing/logging
    NL-08002: Diagnosability context creation failed
    thanks ,
    john

    Johnvd wrote:
    hi Dears,
    i had insatlled new 11g on my Linux centios 5 system for testing purpose. when i started oem i can see agent is down but when i checked the agent status its saying below messages. i'm new to oracle . please guide me.
    oracle11@test bin]$ ./emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.2
    OMS Version : 10.2.0.4.2
    Protocol Version : 10.2.0.4.2
    Agent Home : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11
    Agent binaries : /sd01/oracle11/app/product/11.2.0/dbhome_1
    Agent Process ID : 4206
    Parent Process ID : 4181
    Agent URL : https://test:1830/emd/main
    Repository URL : https://test:5500/em/upload/
    Started at : 2011-11-21 14:30:21
    Started by user : oracle11
    Last Reload : 2011-11-21 14:36:23
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 762
    Size of XML files pending upload(MB) : 16.39
    Available disk space on upload filesystem : 77.21%
    Data channel upload directory : /sd01/oracle11/app/product/11.2.0/dbhome_1/test_training11/sysman/recv
    Last attempted heartbeat to OMS : 2011-11-21 15:11:09
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    from OEM
    * Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    i had restarted the listener
    oracle11@test admin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:05:16
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER_1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-NOV-2011 15:05:16
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    in this server i have 10g home but in the different filesystem : /home/oracle/oracle/product/10.2.0/db_2
    11g home : /sd01/oracle11/app/product/11.2.0/dbhome_1
    as per the agent messages i thought to add SID LIST in listner but got error message when i start the listener.ora below listener.ora details
    # listener.ora Network Configuration File: /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.25.151)(PORT = 1523))
    SID_LIST_LISTENER_1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = training11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = training11)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl11)
    (ORACLE_HOME = /sd01/oracle11/app/product/11.2.0/dbhome_1)
    (SID_NAME = orcl11)
    ADR_BASE_LISTENER_1 = /sd01/oracle11/app
    when i ran lsnrctl start LISTENER_1 i got below messages could any one please help me to solve this problem. my aim is when i start oem everything should work rightnow agent is down
    [oracle11@test bin]$ lsnrctl start LISTENER_1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-NOV-2011 15:27:38
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /sd01/oracle11/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /sd01/oracle11/app/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /sd01/oracle11/app/product/11.2.0/dbhome_1/network/log/listener_1.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1523)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.25.151)(PORT=1523)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER_1 parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    NL-08014: Failed to initialize Diagnosability framework, falling back to old network tracing/logging
    NL-08002: Diagnosability context creation failed
    thanks ,
    johnhttp://edstevensdba.wordpress.com/2011/03/19/ora-12514/

  • ORA-12505: TNS:listener could not resolve SID given in connect descriptor

    Dear experts,
    I restarted server since when i am getting this error while connecting with server.
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    what is that?
    and how can i resolve it?

    You are not the first person to ask this question.
    http://forums.oracle.com/forums/search.jspa?objID=f61&q=ORA-12505
    Highly likely you will find your answer in one of the posts.

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given

    Hi
    I have 3 server having oracle 9i database same version
    -one at head office
    -one at ours sister company and
    -one at port
    when i create string from Gui (SQL*NET configuration head office database)
    to connect sister co's database it works well and then i create db
    link by using this string its working fi9.
    but when i create string from head office to port database
    its giving me error when i test string during wizard
    Connecting..
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given
    in connect descriptor
    Although from port databse i can connect to head office database succesfully.
    I am giving correct machine name and sid during creating string from database SQL*NET configuration wizard.
    Why its giving ORA-12514 from Head office to connect port database
    but not from Port to Head office database nor from Head office to
    sister co's Data base?
    Khurram Siddiqui
    [email protected]

    Hi Pal Here is wot u required
    D:\oracle\ora92>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-JAN-2006 16:27:
    25
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "icsyard.com" has 2 instance(s).
    Instance "icsyard", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "icsyard", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:17 refused:0 state:ready
    LOCAL SERVER
    Service "icsyardXDB.com" has 1 instance(s).
    Instance "icsyard", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: ICSYARD, pid: 360>
    (ADDRESS=(PROTOCOL=tcp)(HOST=icsyard.icsdomain.com)(PORT=1141))
    The command completed successfully
    D:\oracle\ora92>
    Tnsname.Ora For Head Office
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HATAF.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = hataf)
    OEMREP.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OEMREP.gacpak.com)
    EXTPROC_CONNECTION_DATA.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    INST1_HTTP.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hataf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    KHURRAM.GACPAK.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = YAWAR)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = YAWAR.WORLD)
    Thanks for urs quick response
    Khurram Siddiqui
    [email protected]

  • ORA-12514: TNS:listener could not resolve SERVICE_NAME given in conne

    I am running Oracle 8.1.7.1.4 on Windows 2000. After I created a database TEST using a script created by my previous colleague, I got the following error:
    sqlplus SYSTEM/PASSWORD@TEST
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    Enter user-name:
    But if I enter system as username and the password, I could connect to sqlplus without any problem.
    I checked the OracleServiceTest is running as a Service, and here is what in my tnsnames.ora.
    TEST.UNHQ.UN.ORG =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    Here is what in my listener.ora file.
    (SID_DESC =
    (GLOBAL_DBNAME = TEST)
    (ORACLE_HOME = d:\oracle\ora817)
    (SID_NAME = TEST)
    The following is what in my sqlnet.ora file.
    NAMES.DEFAULT_DOMAIN = unhq.un.org
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Here are a few important lines in my init.ora file.
    db_name=TEST
    instance_name = TEST
    service_names = TEST
    I tried to use sqlplus system/[email protected], but got the same error.
    Any help would be greatly appreciated.
    Thanks,
    Jane

    Hi Werner:
    Thank you very much for your suggestions. Yeah, I have
    a db_domain = UNHQ.UN.ORG in my init.ora file. I tried
    to append it manually into the service_names in my
    init.ora file and made corresponding changes to
    tnsnames.ora file. Now I could access to TEST database
    without any problem.
    I have another question. How can I prevent the
    db_domain from appending to SERVICE_NAMES by default?
    By set it to db_domain="" or just don't have it in my
    init.ora file? I don't want to have the domain name
    appearing in my SERVICE_NAMES.
    Thanks,
    Jane

Maybe you are looking for

  • Hi Guys

    Hi Friends, I am running Payables Open Interface Import to load invoices from invoice interface table in R12. But I am facing below error: MSG-00883: After Repport Trigger: Setting the Org Context to Multiple I have done below steps further to fix my

  • Iphone 4 is not recognized by itunes and is only on emergency mode, keeps telling me to connect to itunes but when I connect iphone to computer it does not recognize it

    iphone 4 is not recognized by itunes and is only on emergency mode, keeps telling me to connect to itunes but when I connect iphone to computer it does not recognize it

  • IDVD no longer sees my DVD-R's to burn

    I just got done making a small movie in Imovie for a friend, and can't get IDVD to burn it now. I put in a Verbatim DigitalMovie DVD-R like I've always used in the past, but it just keeps telling me "Disc Insertion... Please insert a blank DVD-R disc

  • TFS2013 Custom Alert Email Issue

    Hi Folks, I need to create an alert for when a new work item is created on a team project.  I need the alert to work at the team level, however, instead of sending emails to the entire team I need them to go to just two members. When I try and create

  • Planvalue in cost center

    Dear Experts,                       Can any one tell me how to enter the plan value in cost center. thanks in advance regards avudaiappan