ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

Hello

I installed Oracle 11 g on Ubuntu 10.04 LTS(64bit) version. but I am not able to connect from the client computer to the oracle server. I got following error in my Ruby on Rails App

rake db: migrate
rake abandoned!
ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

(See full trace by running task with the option - trace)

==========================================================================
It's my lister.ora file

listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl.mysite.net)
(SID_NAME = orcl)
(ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
)
)

LOGGING_LISTENER = OFF

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1.mysite.net) (PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)

ADR_BASE_LISTENER = / u01/app/oracle

TRACE_LEVEL_LISTENER = OFF
======================================================

and my tnsnames.ora file

tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server.mysite.net) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)

=======================================================================

I was depending on status for orcl
bin/lsnrctl status orcl

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 22 January 2011 17:19:44

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

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.mysite)(PORT=1521) .net) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Beginning of January 22, 2011 14:24:04
Uptime 0 days 2 h 55 min 39 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server.mysite .net)(PORT=1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
Summary of services...
Service 'orcl.mysite.net' has 2 occurrences.
Instance "orcl", status UNKNOWN, has 1 operation for this service...
Instance "orcl", State LOAN, has 1 operation for this service...
Service 'orclXDB.mysite.net' has 1 instance (s).
Instance "orcl", State LOAN, has 1 operation for this service...
The command completed successfully



How to fix

Thank you
AVIN as

Hello

Please change ORACLE_HOME in listener.ora as /u01/app/oracle/product/11.2.0/dbhome_1--

Tags: Database

Similar Questions

  • ORA-12504: TNS:listener did not have the SID in CONNECT_DATA

    Dear all,

    IAM facing the problem of connection on the OEM Console is unable to connect to LISTENER_ORADB if I can connect to databases.

    AMT-04412: A problem reading or writing of an address caused by: oracle.net.config.SOExceptionConfig: Tns-04408: object type is not valid: 8

    ORA-12504: TNS:listener did not have the SID in CONNECT_DATA


    Thank you
    Iqbal...

    Paste the tnsname.ora and listener.ora

  • RMAN-04006: auxiliary database error: ORA-12504: TNS:listener has not been

    HIII...

    I was doing my dataguard configuration, my primary side is a 2 node RAC and my stand by is a single node.
    IM using the database and 11 GR 2 grid infrastructure.

    When I try to connect to the rating system standy priamry using RMAN im getting the following error.

    [*[*Oracle@Rac2 ~] rman target $ / auxiliary sys / sys@to_std *.

    Recovery Manager: release 11.2.0.1.0 - Production on Thu Sep 29 20:39:04 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: RAC (DBID = 2346715690)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04006: auxiliary database error: ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    My tnsnames.ora file is as follows

    to_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = STB.msftpnq.com)
    )
    )


    and my listsner.ora file is as follows

    list_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    )
    SID_LIST_list_std =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = STB.msftpnq.com)
    (SID_NAME = STB)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    )
    )


    Please can someone help me to solve the issue.


    Thanks in advance.

    change the string Service_name in the tnsnames.ora file in the following and try again

    (SERVICE_NAME = STB) will be replaced by (SERVICE_NAME = STB.msftpnq.com)

  • 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

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

  • 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

  • ORA-12518: TNS:listener could not hand off client connection

    Hello

    I'm getting "ORA-12518: TNS:listener could not hand off client connection" error trying to connect to the "PDB". Here are the details of my env and I do:

    Windows 7

    My PC to install Oracle 11 g 2 Client (that's how I got this PC). And I already 11 GR 2 installed Oracle software and a local database that is named "ORCL" (whichdesignates currently the stop).

    Yesterday, I installed Oracle 12 c (12.1.0) and created ORCL12C (CBD) and a PDBORCL (PDB). I connected to the PDBORCL as SYS and created user 'SCOTT '.

    I am able to connect to ORCL12C (PEH) without any problem (SQL * more and TOAD). I can go to PDBORCL (alter session set container = pdborcl) without problem. But I get the error above (ora-12518 am) when I try to connect to the user 'SCOTT' created in 'PDBORCL' using SQL * more or TOAD. I want to connect to the user SCOTT and create objects in schema SCOTT, etc.. I get the same error, even if I try to connect to the PDB as user SYS (alter session command works fine).

    I am new to 12 C. So it is quite possible that I'm doing something fundamentally wrong.

    C:\app\oracle\product\12.1.0\dbhome_1\BIN>sqlplus sys as sysdba
    SQL*Plus: Release 12.1.0.2.0 Production on Thu Nov 12 12:06:37 2015
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    SQL> show con_name
    CON_NAME
    ------------------------------
    CDB$ROOT
    
    SQL> select con_id,dbid,NAME,OPEN_MODE from v$pdbs;
        CON_ID       DBID NAME                           OPEN_MODE
    ---------- ---------- ------------------------------ ----------
             2  250475996 PDB$SEED                       READ ONLY
             3   94279121 PDBORCL                        READ WRITE
    SQL>  select service_id,name,pdb from v$services;
    
    
    SERVICE_ID NAME                                                             PDB
    ---------- ---------------------------------------------------------------- --------------
             6 pdborcl                                                          PDBORCL
             5 orcl12cXDB                                                       CDB$ROOT
             6 orcl12c                                                          CDB$ROOT
             1 SYS$BACKGROUND                                                   CDB$ROOT
             2 SYS$USERS                                                        CDB$ROOT
    
    
    SQL>
    
    
    
    SQL> select substr(username, 0, 15) username, user_id, account_status from dba_users where username = 'SCOTT';
    
    
    USERNAME                                                        USER_ID ACCOUNT_STATUS
    ------------------------------------------------------------ ---------- --------------------------------
    SCOTT                                                               103 OPEN
    
    
    SQL>
    
    
    
    
    
    

    Hello

    I think you are the problem of configuring the following listener results:

    >

    1. (SID_DESC =
    2. (GLOBAL_DBNAME = PDBORCL)
    3. (SID_NAME = PDBORCL)
    4. (ORACLE_HOME = u01/app/oracle/product/12.1.0/dbhome_1)
    5. )
    6. )

    >

    as you can see, you have defined an entry static listener for SID PDBORCL. If I read your message correctly, you are CDB Instance SID is ORCL12C and you're PDB is PDBORCL.

    So, in my opinion, as part of the configuration is the problem. PDB is saved as a dynamic Service to the Instance that you added

    an entry static listener for a non-existent Instance. And so you're static listener overlaying the APB Service dynamic PDBORCL configuration.

    and that is why it does not work.

    Look at the output of a registerd APB to a listener success:

    lsnrctl status

    ...

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM' READY State, has 1 operation for this service...

    Service 'ORCL12C' has 2 occurrences.

    Instance of 'ORCL12C', status UNKNOWN, has 1 operation for this service...

    'ORCL12C' instance, State LOAN, has 1 operation for this service...

    Service 'PDBORCL' has 1 instance (s).

    'ORCL12C' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    ..

    Concerning

    Timo

  • 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 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-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 - 12514: TNS:listener is not currently of service requested...

    Hello Experts,

    I could not able to connect a TOAD (Version 10.1.1.8). But I am able to connect to the SQL command prompt by using the same user name, password and SID. I was able to connect yesterday. Sometimes I reboot the system or restart the Oracle (Oracle listener and service) services.

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

    Advice me please.

    Thank you.

    you have a database installed in your pc?
    (1) if so then a toad specify the database, for example orcl.
    (2) then in sys as sysdba username.
    (3) give the password.
    4) connect as SYSDBA.

    so useful then please note the SNA.

    concerning

  • ERROR - ORA-12514: TNS:listener does not know now of immediate service

    Hi all
    Is the problem that I do face when I access oracle 10g database.it was wrking fine a few days back then I installed the developer 10g suite.after I am facing the problem (ERROR - ORA-12514: TNS:listener does not know currently of service requested in connect descriptor) every time I try and access my database.any 10 g help will be very appreciated.
    Thanks in advance
    Mourad

    Hello

    Make sure that you use right tnsnames.ora as you have it installled oracle developer suite after installation of the database so it could change your ORACLE_HOME as a result of developer. You have 2 choices

    1. replace oracle_home installation of oracle database in the variables env control panel system
    or
    1 copy the tnsnames.ora, listener.ora under Developer suite... location/networ/admin.

    If you are using on your local computer, you do not have this and you should be able to connect but if you use it is not bad either.

    Output from the following command post

    lsnrctl status
    

    Concerning

Maybe you are looking for

  • Firefox is from a script that accesses a malicious Web site?

    When I start Firefox, Avast gives me a warning that Firefox is from a script that is trying to access the website https://boncom.demdex.net. I tried ہ disabled add-ons Firefox and it still runs this script. None of the other browsers for this when I

  • Satellite M70-364 Question about upgrades?

    Hi, can someone point me in the direction to purchase some of these items.Battery... its a PA3465U-1BRS (6cell I think) I found on google a forum speaks using PA3457U-1BRS (8Cell) or I can better?DVD writer internalMore Ram Basically, I would like to

  • my computer screen is upside down!

    original title: my computer screen is upside down! I thought that by restarting the computer would change it back but it did not work, I need help! I WAS DOWNLOADING IMAGES WHEN THIS HAPPENED. I WAS ABOUT TO SELECT MORE THAN ONE IMAGE, I PRESSED CTRL

  • C:\Documents and Settings is not Accessible

    HelloIs anyone have the answer to this question?How is it that my default user that I created when I first set up my MS Vista SP1 may not access the C:\Document and Settings folder. The user is configured as an administrator, as surely as this user c

  • HP 530 Notebook Ram upgrade

    Hi all! I just joined this forum... I use HP 530 with Windows 7 Professional. This laptop came with only 1 GB of RAM, which is my concern at first... now, it has become quite impossible to run 7 with as much memory, as every time I get warnings of ex