Listener Refused The Connection With The Following Error Ora-12505
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss listener refused the connection with the following error ora-12505 in oracle sql developer the workings and policies of this site About Us Learn more ora 12505 error in sql developer about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow ora 12505 error in oracle 11g Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each
Listener Refused The Connection With The Following Error Ora-12514
other. Join them; it only takes a minute: Sign up ORA-12505, TNS:listener does not currently know of SID given in connect des up vote 1 down vote favorite 1 Please kindly help me as I just installed Oracle 11g but cannot connnect using SQL Devloper using the settings below: Username: system Password: mypassword Hostname: localhost Port: 1521 SID: ora 12505 error in oracle 12c XE Error message: Status : Failure -Test failed: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor I checked on Windows Services: OracleServiceXE: Started OracleXETNSListener: Started I also unable to connect to admin page: **http://localhost:8080/apex/f?p=4950** It says "This page can't be displayed" I also tested to connect using SqlPlus: Test 1: Result is ORA-12170: TNS:Connect timeout occurred C:\oraclexe\app\oracle\product\11.2.0\server\bin>sqlplus.exe system/mypassword@XE SQL*Plus: Release 11.2.0.2.0 Production on Tue Apr 22 11:22:31 2014 Copyright (c) 1982, 2010, Oracle. All rights reserved. ERROR: ORA-12170: TNS:Connect timeout occurred Enter user-name: Test 2: Result is Successful C:\oraclexe\app\oracle\product\11.2.0\server\bin>sqlplus.exe system/mypassword SQL*Plus: Release 11.2.0.2.0 Production on Tue Apr 22 11:33:22 2014 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production SQL> Test 3: Result is Successful C:\oraclexe\app\oracle\product\11.2.0\server\bin>sqlplus.exe / as sysdba SQL*Plus: Release 11.2.0.2.0 Production on Tue Apr 22 11:34:29 2014 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production SQL> Liste
connect to the appropriate Oracle database, we'll need to expound a bit on how Oracle behaves and, therefore, what is listener refused the connection with the following error ora-12519 causing this issue in the first place. SIDs vs SERVICE_NAMES
Listener Refused The Connection With The Following Error Ora-12528
It is important to understand the (slight) difference between what Oracle defines as a SID compared
Listener Refused The Connection With The Following Error Ora-12516
to a SERVICE_NAME, as we'll use this information to create a proper connection string later on. In Oracle, the system identifier (or SID) is a local identifier http://stackoverflow.com/questions/23209962/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-des of up to eight characters in length that is used to identify a particular database and differentiate it from other databases on the system. Often the SID is the prefix word or DB_UNIQUE_NAME that precedes the DB_DOMAIN. For example, the SID of our bookstore database, as seen in in the full global database name https://chartio.com/resources/tutorials/how-to-fix-ora-12505-tns-listener-does-not-currently-know-of-sid-given-in-connect-descriptor of bookstore.company.com. SERVICE_NAMES, on the other hand, represent the names by which database instances can be connected to. A SERVICE_NAME will typically follow the format of the SID followed by the database domain, like so: DB_UNIQUE_NAME.DB_DOMAIN The TNS Listener When a client is attempting to connect to an Oracle database, rather than connecting to the database directly, there is a broker service that intervenes and handles the connection request for the client. This broker application is known as the listener and it performs the task of listening for incoming client requests. When a request is received, the listener processes and forwards that request onto the appropriate Oracle database server using a service handler, which just acts as the connection between the listener and the database server. TNS Names and Configuration When connecting to an Oracle database, typically your database server will have tnsnames.ora, which is a configuration file that informs the server about NET_SERVICE_NAMES which are valid database con
log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://dba.stackexchange.com/questions/24857/listener-refused-the-connection-with-following-error-ora-12505-tns-listener-d site About Us Learn more about Stack Overflow the company Business Learn more https://community.oracle.com/thread/433363 about hiring developers or posting ads with us Database Administrators Questions Tags Users Badges Unanswered Ask Question _ Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute: listener refused Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Listener refused the connection with following error: ORA-12505, TNS: listener does not currently know of SID given in connect descriptor up vote 2 down vote favorite I am a newbie to oracle database. I am trying to make a connection listener refused the but I receive the following error: Listener refused the connection with following error: ORA-12505, TNS: listener does not currently know of SID given in connect descriptor. I have done my research online and after executing the lsnrctl status and lsnrctl service I get the following. Does anyone what I need to do? All kind of help is highly appreciated. Thanks. C:\Users\myComputer>lsnrctl start LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 24-SEP-2012 23:33 :29 Copyright (c) 1991, 2010, Oracle. All rights reserved. TNS-01106: Listener using listener name LISTENER has already been started C:\Users\myComputer>lsnrctl service LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 24-SEP-2012 23:33 :46 Copyright (c) 1991, 2010, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522))) Services Summary... Service "CLRExtProc" has 1 instance(s). Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:0 refused:0 LOCAL SERVER Service "oracle.220.8.191" has 1 instance(s). Instance "oracle", status READY, has 1 handler(s) for this service... Handler(s): "DEDICATED" established:166 refused:0 state:ready LOCAL SERVER Service "oracleXDB.220.8.191" has 1 instance(s). Instance "oracle", status READY, has 1 handler(s) for this service... Handler(s): "D000" established:0 refused:0 current:0 max:1022 state:ready DISPATCHER
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in General Database Discussions All PlacesDatabaseGeneral Database Discussions This discussion is archived 11 Replies Latest reply on Oct 14, 2006 6:37 AM by Mohammed Taj ORA-12505, TNS:listener does not currently know of SID given in connect des 538177 Oct 8, 2006 7:02 AM Hi, i'm new with Oracle. I'm using JDeveloper 10g, when i try to create a database connection with the hr/hr user i get this message: 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:ORCL Please, if somebpdy could give me a tip, i repeat, i'm new with Oracle. Thanks 460074Views Tags: none (add) This content has been marked as final. Show 11 replies 1. Re: ORA-12505, TNS:listener does not currently know of SID given in connect RPuttagunta Oct 8, 2006 7:25 AM (in response to 538177) Is the oracle service on your computer? Can you do this from your command line: tnsping ORCL; and paste what you get. Rahul. Message was edited by: RPuttagunta Like Show 0 Likes(0) Actions 2. Re: ORA-12505, TNS:listener does not currently know of SID given in connect Eduardo Legatti Oct 8, 2006 3:48 PM (in response to 538177) Hi, Check to make sure that the SID is correct. The SIDs that are currently registered with the listener can be obtained by typing: LSNRCTL SERVICES on the Server These SIDs correspond to SID_NAMEs in TNSNAMES.ORA or DB_NAME in the initialization file. Cheers Like Show 0 Likes(0) Actions 3. Re: ORA-12505, TNS:listener does not currently know of SID given in connect 538177 Oct 10, 2006 4:14 AM (in response to RPuttagunta) Rahul: when i type what you told me i get this: C:\Documents and Settings\Alejandro>tnsping ORCL TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 10-OCT-20 06 01:03:53 Copyright (c) 1997 Oracle Corporation. All rights reserved. Used parameter files: C:\oracle\ora91\network\admin\