ORA-12505 TNS Listener does not currently in SID

Hello
When I try to connect to Oracle Sql developer, error "ORA-12505 TNS Listener does not currently of SID given in connect descriptor". ""
I use 11 GR 1 material on Windows XPSP2 platform. But several sql works very well.
Thank you

Published by: user12222356 on April 11, 2010 07:20

user12222356 wrote:
This time the Sql developer is connected successfully. But there is not a question of being happy because what happens frequently. Sometimes is connected while sometimes the connection refused... All, it seems, is that SQL Developer connection to the Oracle server depends on luck.
Is there any solution to get rid of this problem?

It's a matter of timing.

First thing that should be launched is the listener. Who should be started on boot. For a laptop or another machine which uses the DHCP protocol, the listener must be configured to talk to the loopback adapter.

Then the database should be started to talk to listening on the port of sight to the listener - it is applied either with the "LOCAL_LISTENER" database being left to null (for the default listener on 1521). This can be checked by "Lsnrctl status" showing the instance of database such as saved and available.

Then the SQLDeveloper can start up, pointing to the same host, port, and service/instance, as shown in "lsnrctl status".

Tags: Database

Similar Questions

  • ORA-12505, TNS: Listener does not currently of SID in the connection descriptor (code: 2 011)

    I get this error when you try to create a data store for Oracle database of the Disqualification.

    ORA-12505, TNS: Listener does not currently of SID in the connection descriptor (code: 2 011)

    I am able to connect to this database by using the same credentials through SQL, but the Disqualification, I'm not. Do I need to do anything in linux server before the implementation of Oracle data warehouses?

    Thank you

    Ravi

    There are a number of ways.

    1 use a JNDI connection configured in WebLogic and select by name

    2. use the LDAP connection or TNS - see http://docs.oracle.com/middleware/1213/edq/DQEXT/config_dbase.htm#DQEXT202

    3. Add an oracle.xml file in [local disqualification home] / dbconnectors with the following content. This will allow you to select the service name in the standard Oracle data store wizard:

    Class = "com.datanomic.utils.databasespecies.species.Oracle"

    MaxNameLength = "30" invalidnamechars ="" ' >

    {JDBC:Oracle:Thin:@${service = "srv"? /': "} ${host}: ${port} {service ="srv"? '/' : ':'}${sid}

    Oracle

    {JDBC:Oracle:Thin:@${service = "srv"? /': "} ${host}: ${port} {service ="srv"? '/' : ':'}${sid}

    ${superior (schema = "? user: schema)}

    dbproductname ~ = '(?i) oracle'

    name ~ = ' $BIN\\ [A-Za-z0-9 + /] {22, 24} ==------$\\p {digit} +'

    user = ${user}

    password = ${password}

    FetchSize = 100

    BatchSize = ${export.batchsize}

    void = TRUNCATE TABLE %s

    ALTER SESSION SET CURRENT_SCHEMA = ${schema}

    1521

  • ORA-12505, TNS:listener is not currently of SID...

    The President complied,

    I installed
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    It worked fine for 2 days and its suddenly began raise the following error:
    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: localhost:1521:XE 
    My listener.ora
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
          (PROGRAM = extproc)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          )
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
          )
        )
      )
    My tnsnames.ora
    # tnsnames.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    My sqlnet.ora
    # sqlnet.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    My JDBC class:
    import java.sql.Connection;
    import java.sql.DriverManager;
    
    
    public class DB{
    
        public static Connection getOracleConnection() throws Exception {
        String driver = "oracle.jdbc.driver.OracleDriver";
        String url = "jdbc:oracle:thin:@127.0.0.1:1521:XE";
        String username = "RMS";
        String password = "s09204031";
    
        Class.forName(driver); 
        Connection cnn = DriverManager.getConnection(url, username, password);
        return cnn;
      }
    }
    Journal of the listener
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production on 17-NOV-2009 16:01:55
    
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    
    System parameter file is c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    Log messages written to c:\oracle\product\10.1.0\db_1\network\log\listener.log
    Trace information written to c:\oracle\product\10.1.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    
    Started with pid=3644
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-NOV-2009 16:01:57 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0
    17-NOV-2009 16:02:47 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * services * 0
    17-NOV-2009 16:02:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0
    Thank you and best regards

    Run "lsnrctl status" and if she does not see that your XE service you may need to manually add in listener.ora part SID_LIST:
    for example:

    SID_LIST_LISTENER10G =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = XE)
    (SID_NAME = XE)
    (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
    )
    )

    or similar...

    Also, make sure that you can resolve localhost for example ping localhost

    Edited by: Kecskemethy November 17, 2009 06:12

  • ORA-12505, TNS:listener is not currently of SID given in connect the

    Hi, I have a problem connecting to the repository working ODI...

    The master repository and repository of work are installed in the Oracle 11g company Manager...

    From my PC, I can connect to the master repository and I can see the repository to work, but when I try to connect I get this message:

    oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: categorizar sin Excepcion durante el acceso al repositorio.
    Could not make JDBC connection; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
    at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
    to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:581)
    at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:755)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$ 4 (SnpsDialogLoginDetail.java:743)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$ 2.performAction(SnpsDialogLoginDetail.java:287)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.LoginFactory.modifyLogin(LoginFactory.java:334)
    to com.sunopsis.graphical.dialog.SnpsDialogLogin$ 3.performAction(SnpsDialogLogin.java:185)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:182)
    at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
    ... more than 144
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    ... more than 154
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
    at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    to oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java:48)
    to $Proxy0.getConnection (Unknown Source)
    to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)
    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:439)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1610)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1446)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
    at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
    ... 14 more

    Please, if someone could give me a tip. Thank you!!!

    Looks like a problem with the tnsnames file / wrong sid. try using tnsping > that you will be in your tnsnames.ora.

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

    Whenever I reboot OS, I have the following error for oracle 11g. Can someone please help me if the tnsname/listener file is correct. The oracle SID is orcl and it is installed in my local computer.

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

    Stanley:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\oracle\product\11.2.0\dbhome_2)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\oracle\product\11.2.0\dbhome_2\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\oracle


    TNSNAME:

    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))


    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

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


    ORACLE_HOME=C:\app\oracle\product\11.2.0\dbhome_2
    path=C:\app\oracle\product\11.2.0\dbhome_2\bin; C:\Informatica\PowerCenter8.6.1\server\bin; C:\app\oracle\product\11.2.0

    Thank you

    Sanjay

    You are welcome.
    Kind to mark your thread as an answer to help keep the forum clean. Thank you!

    Kind regards
    Thierry

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

    I know, I know there are tons of info about this error on the net. BUT. I tried to figure out all day, please help :(

    We are on Oracle 10.2.0.4, Solaris 5.10

    1 Tnsnames.ora on the Solaris box where Oracle is installed is as follows:
    flexprd1 =
      (DESCRIPTION =
        (SDU = 4096)
        (TDU = 4096)
        (ADDRESS = (PROTOCOL = TCP)(Host = PRODX)(Port = 1523))
        (CONNECT_DATA =
          (SID = flexprd1)
        )
      )
    2 Listener.ora is as follows:
    LISTFLEX =
      (ADDRESS_LIST =
            (ADDRESS= (PROTOCOL= TCP)(Host=PRODX)(Port= 1523)(QUEUESIZE=200))
      )
    
    SID_LIST_LISTFLEX =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME= FLEXPRD)
          (ORACLE_HOME= /app/oracle/OraHome1)
          (SDU = 4096)
          (TDU = 4096)
          (SID_NAME = flexprd1)
        )
      )
    3 Tnsnames.ora on the application (Win 2000) Server uses DNS names and is as follows:
    flexprd1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = PRODY)(PORT = 1523))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = flexprd1)
        )
      )
    5. I can't telnet from the application server to the zone of solaris on port 1523 (so it isn't a problem of port)

    6. I can't flexprd1 tnsping from servers of application and solars as follows:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (SDU = 4096) (TDU = 4096) (ADDRESS = (PROTOCOL = TCP)(Host = PRODX)(Port = 1523)) (CONNECT_DATA = (SID = flexprd1)))
    OK (40 msec)
    7. services and the status of the listener seem ok:
     lsnrctl status listflex
    
    LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 24-MAY-2010 16:05:23
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=PRODX)(Port=1523)(QUEUESIZE=200))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTFLEX
    Version                   TNSLSNR for Solaris: Version 10.2.0.4.0 - Production
    Start Date                21-MAY-2010 15:34:20
    Uptime                    3 days 0 hr. 31 min. 3 sec
    Trace Level               dev
    Security                  ON: Password or Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /app/oracle/OraHome1/network/admin/listener.ora
    Listener Log File         /app/oracle/OraHome1/network/log/listflex.log
    Listener Trace File       /app/oracle/OraHome1/network/trace/listflex.trc
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRODX)(PORT=1523)))
    Services Summary...
    Service "FLEXPRD" has 1 instance(s).
      Instance "flexprd1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    SERVICES
    LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 24-MAY-2010 16:05:51
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=PRODX)(Port=1523)(QUEUESIZE=200))
    Services Summary...
    Service "FLEXPRD" has 1 instance(s).
      Instance "flexprd1", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    8 NETSTAT:
     netstat -a | grep 1523
          *.1523               *.*                0      0 49152      0 LISTEN
    dbfarmprd2.es.gwu.edu.45492 PRODX.1523 49354      0 49152      0 TIME_WAIT
    9 SQLNET. ORA on the application server which I'm getting ORA-12505 is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    10. when I try to use SQL * more from the application server, I get ORA-12505. I'm sure it's something very stupid, but I can't. Any input would be much appreciated! Thank you!

    post the last lines of 40-60 of /app/oracle/OraHome1/network/log/listflex.log

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

    Hello

    I was trying to set up a database connection in Oracle developer j 12 c.

    It's showing this exception.

    I m in this news. Could someone help me pls to solve this issue.

    I have attached the screen for reference.

    https://www.dropbox.com/SC/ua5a92q6kwwflui/wiuCXO_gaG

    Thank you

    Lax

    Database, you are trying to connect is ORCL? If Yes, then you suggest that you write ORCL in the dialog box where you are supposed to write the instance that is directed by the attachment instead of XE what we ORCL

  • ORA-12505, TNS:listener has not currently SID /on sqldeveloper k.w.

    Hello

    I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded

    but I have this error:

    Listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Codice fornitore 12505

    the default sid name in sqldeveloper is "xe".

    I have tiyped

    tsping orcl:

    and SERVICES LSNRCTL:

    What should I type in SID?

    Help, please

    Thank you

    2846174 wrote:

    Hello

    I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded

    but I have this error:

    Listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Codice fornitore 12505

    the default sid name in sqldeveloper is "xe".

    It can be the default, but it may not be suitable for YOUR installation.

    I have tiyped

    tsping orcl:

    If we see that if you use tnsnames.ora to solve your connection request, the net service name "orcl" (that you specified on your tnsping) solves a service name (not a SID) of "orcl.homenet.telecomitalia.it".  Nowhere it is not a reference to XE in YOUR configuration.

    and SERVICES LSNRCTL:

    And we see that your listener support an instance named "orcl".  Once again, XE is not found.

    What should I type in SID?

    Maybe nothing.  Maybe you're using the wrong "type of connection', 'base', select 'tns '.

    Then 'network alias' dropdown will be filled with your tnsnames.ora file, to choose one.

    OR...

    Leave connection type as ' basic' and instead of 'SID', supply "service name".  If you go this route, you will need to provide the correct host name and port.  You can get the values of what you saw when you made "tnsping.

    Help, please

    Thank you

  • ORA-12514 TNS: Listener does not currently of service required

    Hi all


    I created a thread here only three days ago on the question above:

    ORA-12514 TNS: Listener does not currently of service required

    and I ended install oracle again this time around just after 2 days I'm getting the same problem again. I have not yet published that any same file not open it not even anywhere near her. Can anyone tell me the reason?

    Thank you and best regards,

    Lucky aka Lastw0nd3r

    Published by: lastw0nd3r on August 5, 2010 07:24

    SQL NET should now work for you.*
    If so, please mark as ANSWER

    but where was I wrong?

    the database is not started so the listener did not know the DB Service

  • Listener (and the database instance) does not start automatically: ORA-12514: TNS:listener does not currently of service requested in connect descriptor

    Hi all... I am a newbie with oracle database.,.

    I have the problem of monitoring:

    I installed Oracle Database 11 g R2 XE on my CentOS 6.5 guest operating system.

    I changed the host name in my CentOS so (where installed oracle 11g R2 XE) after the installation was completed successfully.

    Installation-) before and during the hostname is localhost.

    (-) After the installation, I changed the host name in VMCentOS

    From the moment where I changed the host name, nothing starts automatically. In particular, the listener and the database instance does not start automatically.

    When I start the listener manually and I try to connect to the instance of database with SQLPLUS I get this error:

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

    I think that the problem is due host name changed because I have to test and debug the object, re-installed a machine virtual operating system CentOS, re-installed oracle database 11 g and I do not have this problem. The database instance and the listener starts automatically!

    Can someone tell me if, maybe, the problem is with the host has changed? ... and why?

    P.S.: After changing the hostname I also modified the listener.ora and the tnsnames.ora by changing the HOST with the correct host name.

    Hello

    It seems that you don't install Oracle Database Express Edition (XE). If you post this question in the wrong forum.

    When you install EA or there is no script that starts the database at startup.

    If you wish, you can create by yourself. For example search for instructions to Google how to create script.

    Kind regards

    Jari

  • SQL Developer error 12505 TNS:listener does not know of SID given currently

    Hi all I got this 12505 error today when you try to start sql developer. I tried browsing the forums for a possible solution, but none were found that workes on my pc.
    My specs are:

    OS: Windows 7 Home Premium *.
    DB: Oracle 11g Express Edition

    My listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\app\Enric0\product\11.2.0\dbhome_3)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\app\Enric0\product\11.2.0\dbhome_3)
    (= Extproc PROGRAM)
    )

    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\Enric0\product\11.2.0\dbhome_3)
    (= Extproc PROGRAM)
    )
    )

    My tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST= localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )


    lsnrctl status gives me this

    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 12 February 2013 22:22
    : 14

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

    Connection 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 - Prod
    ction
    Start date February 12, 2013 22:00:29
    Uptime 0 days 0 h 21 min 48 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Default Service XE
    Listener parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\Enric0-PC\listener
    \alert\log. XML
    Summary of endpoints listening...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = Enric0-PC)(PORT=1521)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    The command completed successfully

    lsnrctl service gives me this

    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 12 February 2013 22:23
    : 34

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    Managers:
    "DEDICATED" set up: 0 denied: 0
    LOCAL SERVER
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Managers:
    "DEDICATED" set up: 0 denied: 0
    LOCAL SERVER
    The command completed successfully

    and tnsping xe gives me this

    AMT Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 12-FEB-2
    013 22:24:12

    Copyright (c) 1997, 2010, Oracle. All rights reserved.

    Use settings files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Enric0-P
    (((C) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)

    This error has occurred to me before, and I have reinstalled oracle xe and developer and it worked. Even now he is back and I want a bit of difficulty it cos he was buggine me a lot. Any help would be greatly appreciated. Thank you for your attention.

    986483 wrote:
    Hi all I got this 12505 error today when you try to start sql developer. I tried browsing the forums for a possible solution, but none were found that workes on my pc.


    My specs are:

    OS: Windows 7 Home Premium *.

    NO Oracle version is already certified or supported on any Windows Home Edition.

    It seems that DB has not yet been started.

  • ORA-12514: TNS: Listener does not currently of service co

    I get the following error message when I connect to the database box I avoid the error without the downtime of the database in the standard edition

    909258 wrote:
    I have a small doubt listener.log and listener.ora both are the same or different

    They are different files for different purposes.

    Listener.ora is NOT necessary

    oracle@bcm-laptop:~$ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-FEB-2012 20:07:05
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-FEB-2012 20:06:17
    Uptime                    0 days 0 hr. 0 min. 48 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/bcm-laptop/listener/alert/log.xml
    
  • ORA-12514: TNS:listener is not currently in service

    I installed Oracle Database 11 g and I can access jet database SQL Plus and everything ok, but when I install developer Oracle 11 g and when I try to connect from the form of database, I can't.

    and when I go to the Network Configuration Wizard and add the connection I find this error "" ORA-12514: TNS:listener does not currently of service requested in connect descriptor "and when I check the service all the Oracle service works very well."

    I need help to solve this problem.

    Thank you
    EYAD

    Hello

    I think that your installation of forms is not configured properly again to connect to the database.

    Try to connect to sqlplus in forms_home with the name of the service, if you can connect to the database from there, you will be able to connect using forms also.

    You have netconfiguration manager in you installation of forms, you can use it to add an entry of tns for your database

    You can post your tnsnames.ora content of $ORACLE_INSTANCE/config

    Please see the thread {: identifier of the thread = 1091615}

    Concerning
    SANAE

  • ORA-12514: TNS:listener is not currently of service required in the cunt

    Hi Experts,

    I have installed Oracle RAC in the slot environment. But unable to connect ASM instance using the string tns

    This is production DB up and running.

    RAC 2 nodes
    Oracle RAC 11.2.0.1.0
    ASM

    Enterprise Linux Server version 5.5 (Carthage)
    X 64 processor type
    64-bit operating system

    Getting error below when connecting with the instance asm directly:
    [oracle@ admin]$ sqlplus sys@asm as sysasm
    
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    
    
    Enter user-name:
    Entries of listening port on node 1
    [oracle@ admin]$ cat listener.ora
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2))))                # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3))))                # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON                # line added by Agent
    
    SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
             (SID_NAME = +ASM1)
             (GLOBAL_DBNAME=ASM)
             (ORACLE_HOME = /u01/app/11.2.0/grid)
          )
          (SID_DESC =
             (SID_NAME = PLSExtProc)
             (ORACLE_HOME = /u01/app/11.2.0/grid)
             (PROGRAM = extproc)
          )
       )
    [oracle@ admin]$
    $ lsnrctl services
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 12-AUG-2012 00:31:04
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "ASM" has 1 instance(s).
      Instance "+ASM1", 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
     
    Tnsnames.ora entries are as below:
    [oracle@ admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: 
    
    /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    XXX =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = xxx)
        )
      )
    
    ASM =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xxxdata-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ASM)
          (SID_NAME = +ASM1)
        )
      )
    Any help?

    Kind regards

    Published by: LazyDBA11g on August 11, 2012 21:58

    Published by: LazyDBA11g on August 12, 2012 03:27

    LazyDBA11g wrote:
    Hi Experts,

    ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = ucbdata-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ASM)
    (SID_NAME = + ASM1)
    )
    )

    Any help?

    Hello

    First check that your asm is listening on listening port scan. If it is installed by default, so I suggest you change "(HÔTE = ucbdata-scan) ' to the local host where the asm instance"

    second thing is there is typo in your tnsnames file. change this part "(SERVICE_NAME = ASM)" to "(SERVICE_NAME = + ASM).

    It may be useful

    See you soon
    Fiedi

  • ORA-12521: TNS:listener is not currently of requested instance...

    Hi all.
    Oracle database 11g Release2
    Oracle Grid 11g Release2
    Oracle linux 5.5.
    I get this error ORA-12521 after system reboot
    This problem only in ud1 UD2 works very well there is no error with the same configuration
    but only get error on Node1.
    He started working, but when I reboot the system then its the following error throughing
    a lot of research and I did the same to what was mentioned in these documents.
    I have read somewhere its just temporary error but if its temporary so why its giving the same error all the time on my Node1?
    There should be reason for this guide please so me and if possible help me out.thanks beforehand.
    Here is the error.
    SQL*Plus: Release 11.2.0.1.0 Production on Tue May 31 01:38:46 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter user-name: sys/****@racdb1-taf as sysdba
    ERROR:
    ORA-12521: TNS:listener does not currently know of instance requested in
    connect descriptor
    Note:-he started working, but when I reboot the system, then the same error is provided.

    Hello

    Try the following.

    RACDB2-TAF =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = racnode2-vip)(PORT = 1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = racnode1-vip)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = racdbXDB.localdomain.com)
          (INSTANCE_NAME = racdb2)
          (FAILOVER_MODE=
          (BACKUP=RACDB1-TAF)
          (TYPE=SELECT)
          (METHOD=PRECONNECT)
         )
        )
      )
    
    RACDB1-TAF =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = racnode1-vip)(PORT = 1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = racnode2-vip)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = racdbXDB.localdomain.com)
          (INSTANCE_NAME = racdb1)
          (FAILOVER_MODE=
          (BACKUP=RACDB2-TAF)
          (TYPE=SELECT)
          (METHOD=PRECONNECT)
         )
        )
      )
    

    Sarah

Maybe you are looking for