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
Tags: Database
Similar Questions
-
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 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
SanjayYou 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 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:20user12222356 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".
-
ORA-12505, TNS:listener is not currently of SID...
The President complied,
I installed
It worked fine for 2 days and its suddenly began raise the following error:Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production With the Partitioning, OLAP and Data Mining options
My listener.orajava.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 tnsnames.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 sqlnet.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 JDBC class:# 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)
Journal of the listenerimport 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; } }
Thank you and best regardsTNSLSNR 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
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 could not resolve SID in connection descript
Hello!
I have a teacher of XP SP2 on my computer. I installed Oracle XE, ODP as a customer. I clould connect to my db. Then I put the proxy data. Next day, when I started my computer, I clould not connet to db. I got an error: ORA-12505: TNS: listener could not resolve SID in connection descript.
I change all *.ora files, but I checked and I found nothing. I started the lsnrctl and there was no xe services. I couldn't connect to the db with the Oracle SQLDeveloper. I have disabled the connection to the local network (without rebooting), then I clould connect to the db. Then I enabled the LAN connection and everything was OK. So, when I restart my computer I have to turn off the connection to the local network, and then connect to the db and activate the connection to the local network.
What clould be the problem?
Thank you.Hi Pavan
Orace XE use CLRExtProc in the default listener.
for example:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
)LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP) (HOST = APPLIED - NB.datacom.co.nz)(PORT = 1521))
)
)DEFAULT_SERVICE_LISTENER = (XE)
See you soon,.
Francisco Munoz Alvarez
http://www.oraclenz.com -
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
-
ERROR: ORA-12514: TNS:listener is not currently of service required
My database in GNU / Linux, I by default SID like ORCL, and I created 3 other occurrences of DB (TST1, FS2 and TST3). As long as my system has not been retired, I'm Basel connect to instances. Once straightened out my system I'm unable to connect to the new DB instances... Adivice pl... Thank you...
In sqlplus: name of username/password @ ORCL - works fine...
name of user/password @TST1 or of other services... .i am getting... error... ERROR: ORA-12514: TNS:listener is not currently of service required
I created all the DB instances using below command:
DBCA-silent - createDatabase-templateName - General_Purpose.dbc - gdbname TST1-sid TST1 responsefile - NO_VALUE - characterSet AL32UTF8 - memoryPercentage 40 - emConfiguration LOCAL
Published by: user10980939 on July 20, 2011 14:16Salvation;
Post your TNSNAMES.ora entery please
Respect of
HELIOS -
Hello
I installed Oracle 4 months before and work perfectly fine on until now. I could not able to connect to any DB or URL http://127.0.0.1:8080/apex/f? p = 4950
The connection failed with the below error
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
Results of the LSNRCTL STATUS as below
C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL STATUS
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 12:43
: 55
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod
ction
3 January 2016 start date 12:43:51
Uptime 0 days 0 h 0 min 4S
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\RAJESHK-PANTAR\lis
tener\alert\log. XML
Summary of endpoints listening...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = localhost) (IN.
RT = 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
C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL SERVICE
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 13:0
: 08
Copyright (c) 1991, 2014, 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
Please help with what deliver you.
1. control file backup to trace using the "alter database backup controlfile to trace as 'C:\control.bkp ';
2. turn off your database
3 startup nomount
4. create controlfile from the backup created controlfile command. For example. See below (it is extracted from the trace my database controlfile. RESETLOGS option use as in 1st line
CREATE CONTROLFILE REUSE DATABASE "WIN1DB" RESETLOGS NOARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO01.LOG' SIZE 50M BLOCKSIZE 512, GROUP 2 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO02.LOG' SIZE 50M BLOCKSIZE 512, GROUP 3 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO03.LOG' SIZE 50M BLOCKSIZE 512 -- STANDBY LOGFILE DATAFILE 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSTEM01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSAUX01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\UNDOTBS01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\USERS01.DBF', 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\EXAMPLE01.DBF' CHARACTER SET WE8MSWIN1252 ;
5 mount the database 'edit the editing of the database'
6 open the database using newspapers to reset "alter database open resetlogs.
Thank you!
-
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-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:
Entries of listening port on node 1[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:
[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]$
Tnsnames.ora entries are as below:$ 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
Any help?[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) ) )
Kind regards
Published by: LazyDBA11g on August 11, 2012 21:58
Published by: LazyDBA11g on August 12, 2012 03:27LazyDBA11g 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 - 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
-
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
EYADHello
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-12521: TNS:listener is not currently of requested instance...
Hi all.
I get this error ORA-12521 after system rebootOracle database 11g Release2 Oracle Grid 11g Release2 Oracle linux 5.5.
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.
Note:-he started working, but when I reboot the system, then the same error is provided.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
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
-
Where is the function "import/export" for backingup/restore bookmarks file?
3.6 x, I could go to the Bookmarks tab and open the "export bookmarks" and saves it to the top of my favorites to an external backup drive. Conversely, I could go to the bookmarks and open the Bookmarks 'import' and put in a file of saved bookmarks.
-
Update Windows installed 17 updates except kb2160841 .net Framework 4.0. I'm using vista Home premium. I rebooted my computer and tried to install it still no luck. Please help me solve this problem, since it is tagged as critical. Thank you
-
Hello I would like to know where I can upgrade the RAM to my laptop? MO: 2190US
-
How to take a screenshot and save photos on hp-Pavilion 15-n228us
I was wondering if I can take a screenshot and save in my pictures. As with an Iphone.
-
Hard drive (external), that the Go is not what I ordered.
I am a new Member to the forum and with computers. I bought a new Iomega, drive external hard 250 GB of dell, however, when I plugged in the computer it is only display 232 GB, is this something I should be of concern on? What is the problem?