How will the listener know the SID given in connect descriptor?

HI,
i was trying to this tutorial and i found this error when i want to run one of the page to see if it works. In the end, it gives me deployment fail and oso
TNS:listener does not currently know of SID given in connect descriptor
How can i solve this problem?

WOW, what an error description. I love riddles :-)
It would be nice if you at least mention which sample (of the thousands available) you are following, which jdev version and any other useful information about your environment (i.e. DB you are using).
Timo

Similar Messages

  • 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

  • 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))

  • TNS:listener does not currently know of SID given in connect descriptor

    Hi
    I have installed 11g on Windows 7, the startup & shutdown of DB is normal.
    But connecting to a particular DB is giving a problem:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    in the listener.ora following entry is made:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $ORACLE_HOME)
    (SID_NAME = orcl_test)
    LIST1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    Also tried using ALTER SYSTEM REGISTER;
    still there is no connection being established.
    following outputs i am getting while connecting:
    SQL> connect test_db@tns_test
    Enter password:
    ERROR:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    Warning: You are no longer connected to ORACLE.
    While running lsnrctl status command, following error is appearing:
    C:\Windows\system32> lsnrctl status list1
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 28-SEP-2012 10:35
    :38
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias list1
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 28-SEP-2012 10:29:40
    Uptime 0 days 0 hr. 5 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File XXXXXXXXXXXXXXXXXXXXXXXXXXXX\listener.ora
    Listener Log File XXXXXXXXXXXXXXXXXXXXX\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    Please help...!!!

    Hi Niket,
    Thanks for the reply, i tried following as well in the listener file (still the error persistes):
    list1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $Oracle_home)
    (SID_NAME = sid_test)
    The tnsnames.ora entry:
    tns_test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sid_test)
    )

  • 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

  • Listener does not currently know of SID given in connection descriptor

    Oracle 11g R2 64bit on Windows 7 professional giving following Error
    Listener refused the connection with following error: ORA-12505, TNS: listener does not currently know of SID given in connect descriptor.
    Oracle 11g R1 64bit on windows 7 professional works perfectly fine
    Test through Net Manager. no use
    check files ../Network/Admin/listerner.ora and tnsnames.ora which is perfectly fine. Still getting same error when trying to connect using sql developer.

    C:\Windows\system32>lsnrctl stop
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 15-DEC-2011 00:14:40
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    C:\Windows\system32>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 15-DEC-2011 00:15:59
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Log messages written to c:\app\mycomputer\diag\tnslsnr\MW76O5RUIGAO3F\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MW76O5RUIGAO3F.dir.svc.accenture.com)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 15-DEC-2011 00:16:06
    Uptime 0 days 0 hr. 0 min. 5 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File c:\app\mycomputer\diag\tnslsnr\MW76O5RUIGAO3F\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MW76O5RUIGAO3F.dir.svc.accenture.com)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    C:\Windows\system32>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 15-DEC-2011 00:17:38
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "comcast" has 1 instance(s).
    Instance "comcast", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "comcastXDB" has 1 instance(s).
    Instance "comcast", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: MW76O5RUIGAO3F, pid: 5800>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MW76O5RUIGAO3F.dir.svc.accenture.com)(PORT=52996))
    The command completed successfully
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 15-DEC-2011 00:18:51
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 15-DEC-2011 00:16:06
    Uptime 0 days 0 hr. 2 min. 49 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File c:\app\mycomputer\diag\tnslsnr\MW76O5RUIGAO3F\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MW76O5RUIGAO3F.dir.svc.accenture.com)(PORT=1521)))
    Services Summary...
    Service "comcast" has 1 instance(s).
    Instance "comcast", status READY, has 1 handler(s) for this service...
    Service "comcastXDB" has 1 instance(s).
    Instance "comcast", status READY, has 1 handler(s) for this service...
    The command completed successfully

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

    Server OS: Win2k3
    DB version: 10.2.0.5
    Client OS: Win7
    Client version: 11.2.0.1
    Server has 3 databases - DEV, TEST, TRAIN.
    Getting the error "ORA-12505: TNS:listener does not currently know of SID given in connect descriptor." on both client and server's sqlplus connection when try to connect to TEST. TNSPING TEST on both client and server returns OK. However, LSNRCTL STATUS / SERVICE do not have TEST entry on it.
    Following are what's in my LISTENER.ORA on server
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = DEV)
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = TEST)
    SID_LIST_LISTENER =
    (SID_LIST =
        (SID_DESC =
          (SID_NAME = TRAIN)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
    (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = REGISTER))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORCLSVR)(PORT = 1521))
    SECURE_REGISTER_LISTENER = (IPC)
    Following are what's in my TNSNAMES.ORA on server
    TEST.ORCLSVR.XYZ.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
        (CONNECT_DATA =
          (SID = TEST)
          (SERVER = DEDICATED)
    DEV.ORCLSVR.XYZ.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
        (CONNECT_DATA =
          (SID = DEV)
          (SERVER = DEDICATED)
    TRAIN.ORCLSVR.XYZ.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
        (CONNECT_DATA =
          (SID = TRAIN)
          (SERVER = DEDICATED)
    ABCD_PROD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1522))
          (LOAD_BALANCE = OFF)
          (FAILOVER = OFF)
        (CONNECT_DATA =
          (SERVICE_NAME = ABCD_PROD)
    DEVX.ORCLSVR.XYZ.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1522))
        (CONNECT_DATA =
          (SID = DEVX)
          (SERVER = DEDICATED)
    LISTENER_DEVX =
      (ADDRESS = (PROTOCOL = TCP)(HOST = ORCLSVR.XYZ.COM)(PORT = 1522))
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    SQLPLUS connection from server
    sqlplus [email protected] as sysdba
    From client machine, TNSNAMES.ORA entries are:
    TESTORCLSVR =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
        (CONNECT_DATA =
          (SID = TEST)
          (SERVER = DEDICATED)
    DEVORCLSVR =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
        (CONNECT_DATA =
          (SID = DEV)
          (SERVER = DEDICATED)
    TRAINORCLSVR =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
        (CONNECT_DATA =
          (SID = TRAIN)
          (SERVER = DEDICATED)
    SQLPLUS from client
    sqlplus sys@TESTORCLSVR as sysdba
    What am I doing wrong? Why can't I connect?
    Thanks!

    Here are the results
    C:\>
    C:\>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.5.0 - Production on 08-JUL-2013 16:25
    :25
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.5.0 - Production
    Log messages written to c:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORCLSVR.XYZ.COM)(PO
    RT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.5.0 - Produ
    ction
    Start Date                08-JUL-2013 16:25:27
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         c:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORCLSVR.XYZ.COM)(PORT=1521)))
    Services Summary...
    Service "TRAIN.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
    Service "TRAINXDB.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
    Service "TRAIN_XPT.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>LSNRCTL STATUS
    LSNRCTL for 32-bit Windows: Version 10.2.0.5.0 - Production on 08-JUL-2013 16:30
    :50
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.5.0 - Produ
    ction
    Start Date                08-JUL-2013 16:25:27
    Uptime                    0 days 0 hr. 5 min. 23 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         c:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORCLSVR.XYZ.COM)(PORT=1521)))
    Services Summary...
    Service "TEST.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    Service "TESTXDB.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    Service "TEST_XPT.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    Service "TRAIN.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
    Service "TRAINXDB.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
    Service "TRAIN_XPT.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>LSNRCTL SERVICE
    LSNRCTL for 32-bit Windows: Version 10.2.0.5.0 - Production on 08-JUL-2013 16:31
    :00
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "TEST.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "TESTXDB.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: ORCLSVR, pid: 1660>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ORCLSVR.XYZ.COM)(PORT=1052))
    Service "TEST_XPT.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "TRAIN.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "TRAINXDB.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: ORCLSVR, pid: 1664>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ORCLSVR.XYZ.COM)(PORT=1053))
    Service "TRAIN_XPT.ORCLSVR.XYZ.COM" has 1 instance(s).
      Instance "train", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    As you can see, 2 / 3 are started and in service - this time missing DEV. And rightly, when I try to connect to DEV, I got the same error. Besides registering static, do you have any suggestions?
    Btw, thank you very much for your help.

  • ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)

    when i try to connect oem(oracle enterprise manager)..
    on oem console it returns followed error
    agent connection to instance
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    DATABASE INSTANCE DOWN
    SID
    orcl
    Oracle Home
    C:\app\user\product\11.2.0\dbhome
    in services.msc
    oracleagent,client ,oracleservice all are in started..
    please let me know how to solve issue..
    fyi-oracel 11g,on windows7 os

    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))

  • TNS:istener does not currently know of SID given in connect descriptor

    Hi,
    When we connecting Database through Jdeveloper while creating Business Components.
    while connecting Raises Error: Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Jdeveloper Version : Jdeveloper studio 11.1.1.5.0
    DataBase Version : Oracle 11g 11.2.0.1.0
    we provide below connection information more over listener are running state.
    Connection Type : Oracle(JDBC)
    userName : scott
    passowrd : scott
    DriverName : Thin
    HostName : localhost
    Port : 1521
    SID : orcl
    But we connecting to Database using SQL PLUS with same username/password ie scott/scott it established connection sucessfully.
    how to reslove this issue, can you please help us.
    tnsnames.ora file
    # tnsnames.ora Network Configuration File: E:\app\admin1\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Thanks,
    kumar
    Edited by: 961152 on Jun 7, 2013 8:54 PM

    1.) A little google search might help; e.g.http://ora-12505.ora-code.com/
    2.) If this doesn't help you should post to the correct forum: General Database Discussions
    cheers

  • Getting error Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    I have versions 11.1.1.7.0 and 12c installed and am using Oracle 11g Express on a Windows 7 laptop.  Both versions worked fine and then suddenly stopped.  I have looked thru all the threads and still cannot figure this out.  I have not changed anything recently.
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR fo
    ction
    Start Date                10-AUG-201
    Uptime                    0 days 1 h
    Trace Level               off
    Security                  ON: Local
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclex
    dmin\listener.ora
    Listener Log File         C:\oraclex
    alert\log.xml
    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
    Listener properties
    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 = Owner-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames properties
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Owner-PC)(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)

    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

  • Database access error: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    Hi All,
    I am using oracle 11g client library on Linux 64bit machine and trying to connect to oracle database using jdbc thin driver.
    The url format what I am trying to use is:
    jdbc:oracle:thin:@IP address:port:service_name
    When service_name = orcl : I am able to connect with the above syntax.
    But when the service_name is having . e.g service_name = orcl.177.39.45, with the above format I get the above error.
    If I change the URL syntax to following, it works
    jdbc:oracle:thin:@IP address:port/service_name
    But both seems to be valid syntax.
    So I would like to undestand the reason behind the same.
    When service_name is having ".", why ":"  does not work and "/"  works and when the service_name is without " ." , 1st format works.
    Is there any specific reason behind same?
    Please let me know,
    Thanks,
    Aarati

    Hello,
    as per the suggetion, I replaced the URL in the format
    URL=jdbc:oracle:thin:@15.154.47.235:1521/ORCL
    original URL :
    URL=jdbc:oracle:thin:@15.154.47.235:1521:ORCL
    With this I was able to access the main page and was not getting database access.
    But when I tried to perform some operations say list the submitted jobs, our application internally contacts Oracle database and gets the information stored in the database.
    its not able to get and it throws exception.
    So is there any reason behind this?
    Pasting our application logs for your referance
    Thu Aug 08 17:03:33 http-0.0.0.0-9000-1: [ERROR] Exception occurred
    com.hp.om.hpos.model.OperationException: Error listing jobs
            at com.hp.om.hpos.model.DPAUtils.DPAlistJobsInDB(DPAUtils.java:98)
            at com.hp.om.hpos.model.DomainGroup.listSubJobsInDB(DomainGroup.java:96)
            at com.hp.om.hpos.model.DomainGroup.listSubJobs(DomainGroup.java:91)
            at com.hp.om.wc.model.jobmanager.pagingmanager.PagingManager.ListJobs(PagingManager.java:381)
            at com.hp.om.wc.webapp.jobmanager.actions.AbstractJobSearchAction.loadSortedJobListing(AbstractJobSearchAction.java:49)
            at com.hp.om.wc.webapp.jobmanager.actions.AbstractJobSearchAction.loadJobListing(AbstractJobSearchAction.java:30)
            at com.hp.om.wc.webapp.jobmanager.actions.BasicSearchAction.doExecute(BasicSearchAction.java:358)
            at com.hp.om.wc.webapp.jobmanager.actions.WCBaseAction.execute(WCBaseAction.java:81)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Unknown Source)
    ~
    ~
    Thanks,
    aarati

  • 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

  • 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/

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

    Hi All
    I am not able to connect to the database I am getting the following error
    "TNS-12505: TNS:listener does not currently know of SID given in connect descriptor"
    Could anyone please suggest me what should be done. I tried to search for it but i couldn't find any solution so could anyone just help me out

    Did you try asking this over on the Database Forum, instead of here on the Linux Forum?
    For example, there is:
    Re: ORA-12505, TNS:listener does not currently know of SID given in connect
    Hope this helps.

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

    Agent Connection to Instance:
    Hi All
    I got an error :
    ORA-12505:TNS listener does not currently know of SID given in Connect descriptor(DBD:Error OCIServerAttach)
    Database Instance:
    Database instance also not working I am unable to connect to my database.
    so please give solution to recovery my database.

    Hey,
    When you are getting this error & where you are getting?
    Explain in detail....
    Cheers,
    Moorthy.GS

Maybe you are looking for