ORA-12505, TNS:listener

Hello there, is it possible to connect Oracle Sql Developer to an Oracle Database via network? I have made attempts to connect via a network to a target database on a different computer and I get the error message
"Status : Failure -Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client..."
Please any clue on how to go about this?

How are you setting up the connection?
The message implies that one of the parameters you supplied is wrong (or possibly that the service is not running)
If you are using the basic tab, you need to supply host name, port number (probably 1521) and EITHER a SID or a SERVICE. If you have a local TNSNAMES.ORA look in there to see the relevant settings.

Similar Messages

  • ORA-12505, TNS:listener and ORA-12514: TNS:listener

    All,
    Connecting to the database through the SQL Developer is giving me the error "ORA-12505, TNS:listener does not currently know of SID given in connect descriptor"
    Database version : Oracle 10g XE
    O/S : Windows 7, 32 bit
    I have restarted my machine and tried but no luck. Tried from sqlplus also and the error was
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    Please provide me the steps to check and resolve this issue.
    Thank you very much in advance.
    Thanks

    Here is what I have in my tnsnames.ora file
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MSPL-08-09-D169.MSFTPNQ.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Database name is 'XE'

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

    Hello,
    I have a problem with Oracle XE. It was succesfully installed, but when I try connect I got an error message: ORA-12505, TNS:listener does not currently know of SID given in connect...
    I tried reinstall it, but result is still the same.
    Thank you for any help....
    With best regards
    Zdenek
    The important files are bellow:
    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 = pc4026)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pc4026)(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)
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 04-KVĚ-2012 08:11:58
    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 - Production
    Start Date 04-KVĚ-2012 07:50:45
    Uptime 0 days 0 hr. 21 min. 15 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\pc4026\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pc4026)(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
    lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 04-KVĚ-2012 08:12:32
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    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 "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
    The command completed successfully

    lsnrctl start
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 04-KVĚ-2012 08:24:25
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    tnsping
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 04-KVĚ-2012 08:25:00
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name

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

  • OEM 10g - ORA-12505: TNS:listener does not currently know of SID...

    Hello,
    In OEM (version 10.1.0.5 on Red Hat linux 4), on the page Database Instance: dbexemple.domain.be
    It says:
    - Database Instance > up
    - Listener > up
    - Agent connection to database > Status: Failed
    Details: Failed to connect to database instance: ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach).
    And my OEM database is always in Blackout state.
    I can connect on the database and if I select from global_name it gives me the good name.
    If I do lsnrctl status
    Service "dbexemple.domain.be" has 1 instance(s).
    Instance "emrep", status READY, has 1 handler(s) for this service...
    If I do lsnrctl services
    Service "dbexemple.domain.be" has 1 instance(s).
    Instance "dbexemple", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:44 refused:0 state:ready
    LOCAL SERVER
    So all looks normal. But my DB is still in blackout state.
    I did stop and start the agent > no change
    I did shutdown and start the database > no change
    I did stop the agent delete the $oracle_home/sysmen/emd/... files and start the agent and emctl upload... > no change
    In the targets.xml file from the agent I have:
    <Target TYPE="oracle_database" NAME="dbexemple.domain.be">
    <Property NAME="OracleHome" VALUE="/oracle/product/db10g"/>
    <Property NAME="UserName" VALUE="###" ENCRYPTED="TRUE"/>
    <Property NAME="MachineName" VALUE="machine.domain.be"/>
    <Property NAME="Port" VALUE="1521"/>
    <Property NAME="SID" VALUE="dbexemple"/>
    <Property NAME="ServiceName" VALUE="dbexemple.domain.be"/>
    <Property NAME="password" VALUE="###" ENCRYPTED="TRUE"/>
    </Target>
    Seems good also
    My tnsnames.ora
    DBEXEMPLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = machine.domain.be)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dbexemple.domain.be)
    tnsping dbexemple is also good:
    Used LDAP adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=machine)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=dbexemple.domain.be)))
    OK (10 msec)
    The DB is not in the listener.ora but anyway at the startup of the database the database register in the listener (can take some seconds).
    In OEM if I look at blackout, it says no blackout exists
    So after all these verifications my OEM database is still in blackout status and remain in blackout.
    I would like to find the reason why it stays like this and the agent finally stop giving me an error.
    thank you for your help,
    Loïc

    The fact is that I did not set any blackout for the emrep database. (no blackout are set at the moment in fact)
    So, we did change the HDD of the computer were was OEM to another HDD.
    The update to 10.1.0.5 was made before all this (2 weeks) and no problem appears after that.
    There's no blackout in OEM Blackouts:
    No Blackouts found.
    and no blackout with emctl:
    [oracle@computeroem bin]$ ./emctl status blackout
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    No Blackout registered.
    [oracle@computeroem bin]$ ./emctl status blackout emrep
    Oracle Enterprise Manager 10g Release 10.2.0.1.0.
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    No Blackout registered.
    At the link:
    http://computeroem.domain.be:4889/em/console/health/healthSystemError
    I get these:
    Loader
    https://computeroem.domain.be:3872/emd/main/
    14-Jan-2007 10:32:32 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-14 22:32:27) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 277, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    14-Jan-2007 10:32:32 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000003.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000003.xml
    Blackouts
    n/a
    14-Jan-2007 6:19:26 PM
    Error
    Duplicate start blackout record for 39EDA0C7E44C422698958F9463393C52 for target E9A00D9D6447DF4BE1CF43F7A94BF402
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:07:22 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-12 15:07:05) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 14, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:07:22 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000002.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000002.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:04:44 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target down received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts= 2007-01-12 14:56:52) (violation_level =CRITICAL) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 818 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 14, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 3:04:44 PM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000001.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000001.xml
    Blackouts
    n/a
    12-Jan-2007 10:10:23 AM
    Error
    end_blackout: unexpected current state 10
    Blackouts
    n/a
    12-Jan-2007
    10:05:28 AM
    Error
    Duplicate start blackout record for FD1380AAEB69BAE53339F58EA0C83ADC for target E9A00D9D6447DF4BE1CF43F7A94BF402
    Loader
    https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 9:57:16 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000001.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000001.xml
    Loader https://computeroem.domain.be:3872/emd/main/
    12-Jan-2007 9:57:15 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-12 09:56:53) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 270, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:07:17 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-08 09:07:02) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 25, File name:Severity
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:07:17 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000003.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000003.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:04:10 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000002.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000002.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 9:04:09 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target up received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts = 2007-01-08 09:01:54) (violation_level =CLEAR) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 959 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 151, File name:Severity
    Blackouts
    n/a
    8-Jan-2007 8:57:47 AM
    Error
    Duplicate start blackout record for 39EDA0C7E44C422698958F9463393C52 for target E9A00D9D6447DF4BE1CF43F7A94BF402
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 8:56:00 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ Loaded B0000000001.xml with errors; moving to errors directory, File name:/oracle2/product/oms10g/sysman/recv/B0000000001.xml
    Loader
    https://computeroem.domain.be:3872/emd/main/
    8-Jan-2007 8:56:00 AM
    Error
    Thread: SeverityLoad https://computeroem.domain.be:3872/emd/main/ java.sql.SQLException: ORA-20615: Severity received during blackout for : Target down received during blackout for : (target_guid = E9A00D9D6447DF4BE1CF43F7A94BF402) (policy_guid=3BF84446B273FE1F5743FD6293C7E192) (key_value= ) (collection_ts= 2007-01-06 01:25:35) (violation_level =CRITICAL) ORA-06512: at "SYSMAN.EM_VIOLATION_CHECKS", line 818 ORA-04088: error during execution of trigger 'SYSMAN.EM_VIOLATION_CHECKS' Error occured at line : 14, File name:Severity
    For the note, mostly I cannot do anything because I have no blackout name for the script. Still reading the note to see if some sql can help.
    Message was edited by:
    Loic

  • 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-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-12505: TNS:listener does not currently know of SID

    Hi,
    i have a problem connecting to the database
    when i try to connect to xe Oracle returns the error:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor.
    listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = mysqldb)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    mysqldb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mysqldb)
    (HS = OK)
    )

    812419 wrote:
    Hi,
    i have a problem connecting to the database
    when i try to connect to xe Oracle returns the error:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor.
    listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = mysqldb)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    mysqldb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = descordel01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mysqldb)
    (HS = OK)
    )ok, so we know what your config files look like, but we don't know what you DID to generate the error - we don't know what your exact connect command was.
    We also don't know if you tried to connect from the server or a remote client
    We also don't know if the tnsnames you show is from the same machine as you were using as the client when you got the error
    We also don't know if there were more than one tnsnames on the machine as you were using as the client when you got the error
    From a command prompt on the db server, issue 'lsnrctl status'.
    From a command prompt on the client machine, perform a tnsping and also an actual connect attempt.
    Copy both entire sessions - commands and response - and past into your next post.

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

    hi All ,
    I have strange issue where i m getting this error " ORA-12505, TNS:listener dose not currently know of SID given in connect"
    i have checked the following
    services_name
    host
    ip
    port
    and still getting this error ...

    Hi,
    this error will generally return that the database instance has not registered with the listener.
    Check for the listener services
    LSNRCTL SERVICES
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-JAN-2010 15:45
    :29
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ctsingmrsdacoe1.cts.com)
    (PORT=1521)))
    Services Summary...
    Service "+ASM_XPT" has 1 instance(s).
      Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:2 refused:0 state:ready
             LOCAL SERVER
    Service "+asm" has 1 instance(s).
      Instance "+asm", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:2 refused:0 state:ready
             LOCAL SERVER
    Service "DB10G_XPT" has 1 instance(s).
      Instance "db10g", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    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 "PRIM_DGMGRL" has 1 instance(s).
      Instance "PRIM", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:10 refused:0
             LOCAL SERVER
    Service "PRIM_XPT" has 1 instance(s).
      Instance "prim", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "STDBY_DGMGRL" has 1 instance(s).
      Instance "STDBY", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "db10g" has 1 instance(s).
      Instance "db10g", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "gmrtestdb" has 1 instance(s).
      Instance "gmrtestdb", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:936 refused:0 state:ready
             LOCAL SERVER
    Service "gmrtestdbXDB" has 1 instance(s).
      Instance "gmrtestdb", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: CTSINGMRSDACOE1, pid: 5652>
             (ADDRESS=(PROTOCOL=tcp)(HOST=ctsingmrsdacoe1.cts.com)(PORT=1097))
    Service "gmrtestdb_XPT" has 1 instance(s).
      Instance "gmrtestdb", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:936 refused:0 state:ready
             LOCAL SERVER
    Service "prim" has 1 instance(s).
      Instance "prim", status BLOCKED, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfullyCheck for your SID..
    Regards,
    Vijayaraghavan K

  • When the time of database connection got ORA-12505, TNS:listener does not currently know of SID

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

    The error means it is connecting to a server with Oracle on it but it does not know of a database with the SID you have supplied.
    You say "Test failed" - are you talking about the Create Database Connection dialog?
    If so then check the values in the Host Name and SID boxes. If you have a DBA then verify these are the correct values (also check the listener port with him/her, normally 1521).
    Is your SID just a single word or with dots e.g. of the form mydb.mycompany.world? If the latter then try using the Service Name rather than the SID.
    Kevin

  • 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

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

  • 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

Maybe you are looking for