ORA-12505 on Oracle Database 10g Express Edition: TNS:listene

Hi all,
I am aware that there has been several posts about this subject but i still cant seem to be able to resolve my problem.
I am new to this but I did read through all information I could find and nothing helps.
I am trying to connect to oracle database from sqldeveloper and i am getting that error.
I am just following the tutorials on the net and they simply say to connect using SID: orcl but that does not seem to work for me.
Can someone please explain to me how to find out how to change the paths (i suspect the problem lies there) so i can connect?
Natalia

Oracle XE SID is ... XE and not orcl.
Did you also check:
$ oerr ora 12505
12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
// *Cause:  The listener received a request to establish a connection to a
// database or other service. The connect descriptor received by the listener
// specified a SID for an instance (usually a database instance) that either
// has not yet dynamically registered with the listener or has not been
// statically configured for the listener. This may be a temporary condition
// such as after the listener has started, but before the database instance
// has registered with the listener.
// *Action:
//  - Wait a moment and try to connect a second time.
//  - Check which instances are currently known by the listener by executing:
//    lsnrctl services <listener name>
//  - Check that the SID parameter in the connect descriptor specifies
//    an instance known by the listener.
//  - Check for an event in the listener.log file.

Similar Messages

  • ORA-12505 on Oracle Database 10g Express Edition: TNS:listener

    In Developer3, trying to connect to Oracle Database 10g Express Edition give me:
    Listener refused the connection with the following error:
    ORA-12505 TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505
    Edited by: 873444 on Jul 22, 2011 3:23 AM

    SID given in connect descriptorSo what is the SID you're asking for ... the client in use may not know the XE tnsalias, especially if the client is not running in the same ORACLE_HOME as the database.
    The client needs to know how to get to the database- a `tnsping xe` reveals the path to the current ORACLE_HOME/network/admin/sqlnet.ora file for your environment but that may not be the same ORACLE_HOME used by "developer 3".

  • Oracle Database 10g Express Edition How to change the prot 8080 ????

    Hello I have installed Oracle Database 10g Express Edition
    it listen to port 8080 how can I change it to prot i want ?
    Thanks

    Above post addressed you query. But i suggest Book Mark following doc,it will address most of the queries regarding XE Database
    Oracle Database Express Edition 2 Day DBA

  • Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition

    G'Day Apex gurus,
    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    I went to the steps:
    @apexins SYSAUX SYSAUX TEMP /i/
    Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
    @apxchpwd
    with not problems
    Then I connected to SQL*Plus as SYS by:
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    Enter password: xxxxxxxxxxx
    but when I tried to run:
    @APEX_HOME/apex/apxldimg.sql APEX_HOME
    where APEX_HOME is Apex3.2.1 in my case
    SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
    Directory created.
    declare
    *+
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.17
    Directory dropped.
    Can anyone help me in how to trouble shout this?
    I tried to continue by following the steps document
    @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    but when I tried to login in:
    http://localhost:8080/apex/f?p=4550:1
    when I type the credentials
    system
    system
    systempassword
    nothing happens
    or even If I try:
    http://localhost:8080/apex/f?p=4550:10
    admin
    adminpassword
    nothing happens here too.
    I appreciate any help
    Kind regards
    Carlos

    My database version is 10.2.0.1.0 Oracle express.
    Operating system is Windows Vista.
    I started installing using the following commands.
    @ C:\temp\apex\apexins.sql
    it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
    If I supply the value for images the sqlplus window closes after scrolling a lot of info.
    Enroute it also prompts me for a value for 9:
    I don't know what the input shall be.
    Then it again stops at enter value for version:
    I used 3.2.1.0
    The window scrols a while and closes.
    later I changed the password and ran the command.
    @c:\temp\apex\apxldimg.sql c:\temp
    but no success with installation.
    the output is as following.
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/sairam as sysdba;
    Connected.
    SQL> @ c:\temp\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    SQL> @c:\temp\apex\apxldimg.sql c:\temp
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.32
    Directory dropped.
    SQL>
    Does this require XE 11 or anything else.
    This will happen even if I supply as following(closing of sqlplus in the begining).
    @ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
    Any help.

  • [Oracle Database 10g Express Edition] Don't UP

    Hi,
    I've installed the "Oracle Database 10g Express Edition" in my laptop, ThinkPad T60. The installation finish fine or I think that.
    In the event viewer I don't see any error.
    But I cant sing on in SQL/PLUS and I can't go to web config. All services are up.
    The erro when i conect by SQL PLUS are:
    SQL> connect system/PASSWORD as sysdba
    ERROR:
    ORA-12560: TNS:error del adaptador de protocolo
    SQL> connect system/PASSWORD@localhost as sysdba
    ERROR:
    ORA-12514: TNS:el listener no conoce actualmente el servicio solicitado en el
    descriptor de conexión
    I cant found the error becose It happens.
    I uninstall the database, erase the registry of Windows and Install again. But nothing success. I uninstall again, erase the registry, download again from www.oracle.com all continuous one equally.
    Thanks for all!

    SQL*Plus: Release 10.2.0.1.0 - Production on Vie Oct 20 14:47:04 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect / as sysdba
    Conectado a una instancia inactiva.
    SQL> connect sys/PASSWORD@localhost as sysdba
    ERROR:
    ORA-12514: TNS:el listener no conoce actualmente el servicio solicitado en el
    descriptor de conexi¾n
    Advertencia: íYa no estß conectado a ORACLE!
    SQL>
    The Services are UP.
    The name of enviourment varible is oracle_sid but the value is?
    In My PC --> Propierties ---> Advanced Option ---> Enviorurment variable
    System or User?
    Thanks an i waiting for your help

  • How to Connect Oracle Database 10g Express Edition ?

    From example
    http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
    using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
    using Oracle.DataAccess.Types;
    string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open(); <== Connect Error
    Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
    I used
    Visual Studio 2005
    Oracle Database 10g Express Edition
    setup "Oracle Developer Tools for Visual Studio .NET with ODAC 10.2.0.2.21"
    Best Regards,
    Edited by: user1949694 on 8 ก.ย. 2552, 9:20 น.

    I search "tnsnames.ora" in my computer. I found 3 file
    1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
    2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
    3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
    How to entry in your tnsnames.ora file File1, File2, File3
    How to called "ORCL"?
    Please Help Me Step by Step
    Thank You.
    : )

  • Connecting to Oracle Database 10g Express Edition

    Hello guys,
    Im running Windows XP SP2.
    Ive just installed Oracle SQL Developer and Oracle Database 10g Express Edition.
    Im trying to connect via SQL Developer with:
    hr/hr (yes, ive unlocked this user)
    localhost:1521
    sid:orcl
    but then it says:
    "Status: Failure -Listener refused the connection with the following error:ORC-12505, TNS:listener does not currently know of SID given in connect descript..."
    i guess its smth wrong with my SID.
    Im total newbie to oracle, keep that in mind.
    Please help!

    The default SID for Oracle Database 10g Express Edition is XE.

  • Oracle Database 10g Express Edition and xmlelement

    Hi
    when i tried to execute the following Sql command on a Oracle Database 10g Express Edition
    select level,xmlelement(evalname(desc), value1)
    from hr.xml_local
    connect by prior id = id - 1 start with level = 1
    i got this error:
    ORA-19039: The keyword EVALNAME is reserved for future use as a builtin function.
    is there a workaround to avoid this?
    MDK.

    mdrake wrote:
    Catch-22.. The other way of doing this easily is XQuery, but since in 10.2.0.1.0 XQuery had a dependancy on Java, and Java is not supported in XE we are back to square 1.
    The only other ways are (a) string manipulation - which I refuse to discuss, or (b) DOM-APIOr Oracle Support providing the person with the relevant "alter session set events ..." statement to switch on that feature in 10.2.0.1 (as shown in the SQL and PL/SQL forum thread). Obviously as it's from Oracle support, it can't be supplied on the forums.
    ;)

  • Connecting form 6i  to oracle database 10G express edition

    I am unable to connect forms 6i to oracle database 10G express edition.
    form builder closes without any message.

    Hi, i was try that solution, but have some problem.
    1) I have stopped other database (Oracle 8i, OracleService + Listener), none Oracle service was running.
    2) I was install Oracle XE Univ.
    3) Run sqlplus from XE
    "D:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus system/PASSWORD@xe as sysdba"
    4) Shutdown immediate - OK
    5) Startup mount - failed
    SQL> startup mount
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    6) I was check registry "hkey_local_machine\software\oracle" and delete key "local" (walue was set to connection to 8i database).
    7) I was checking status of Listener from XE (after shutdown).
    "Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=jacek)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully"
    Have anyone suggestion how to connect "directly" to XE (without @CONNECTION string) ?
    If source of problem can be having DB 8i installed on same machine ?
    BBye.

  • Problems with Oracle Database 10g Express Edition and JBoss

    Hi all,
    I try to use Oracle Database 10g Express Edition and JBoss, but sometimes i have a connection problems.
    Sometimes i have starnge warning:
    WARN [JBossManagedConnectionPool] Unable to fill pool
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    and:
    org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    Oracle Database 10g Express Edition support Distributed Transaction Processing (DTP) XA interface or not?
    Some ideas?
    Thanks in advance!
    Stoyan

    Hi,
    yes, it will work, but only with the Western European Edition, not the Unicode release.
    See this thread for details:
    Re: Connection error from SqlPlus 8.0 to Oracle XE in the same computer
    Regards,
    ~Dietmar.

  • Can't succesfully install Oracle Database 10g Express Edition on Ubuntu

    Hi,
    I've been trying to install Oracle Database 10g xe on Ubuntu 10.04 and when I execute the .deb package (oracle-xe-universal_10.2.0.1-1.0_i386.deb) I get a quick installation that doesn't ask me for any configuration settings. When the installation is finished I don't get any menu in my Applications menu named "Oracle Database 10g Express Edition" as specified in Getting Started Guide (I only get some items grouped into an category called "Other" (Backup Database, Get Started, Get Started With Oracle Database 10g Express Edition, Go To Online Forum, Read Documentation, Read Online Help, Register For Online Forum, Restore Database, Run SQL Command Line, Start Database and Stop Database). As a consequence I can't access the Oracle Database Home Page.
    In addition when I click on Start Database I get the following message: "Operation failed. josep is not member of 'dba' group".
    I've tried to re-download the packages and to configure it by editing /etc/init.d/oracle-xe but this doesn't solve my problem.
    can you give me some help?
    Thabk you in advance!

    Markus Waldorf wrote:
    Did you run the post-installation?
    $ sudo /etc/init.d/oracle-xe configureYes I've done it but it doesn't seem to work...

  • Oracle Database 10g Express Edition Bugs

    Product:Oracle Database 10g Express Edition
    Title:Tab Order Sequence on Login window
    Description: Tab Order sequence in Login window not proper, it should be proper
    Reproduce Steps:
    - Click on Run Application icon
    - Login Window opened
    - Press the Tab Button

    hi,
    Please, post this on the Oracle DB express FORUM
    when you install it it will create a menu to directly access to it.
    If you are not able to find it, then you can use the link below:
    Oracle Database Express Edition (XE)
    You have to register to see the forum.
    support for 10g express is provided in the mentioned forum.

  • Oracle Database 10g Express Edition

    Does Oracle Database 10g Express Edition allow for more than one database to be created? If yes, then how do I create additional databases?

    Only one database per computer is allowed.
    Read about the XE limitations here

  • Oracle Database 10g Express Edition (Oracle Database XE)/ BI Publisher

    Hi,
    I have installed Oracle Database 10g Express Edition (Oracle Database XE) on my windows machine and would like to work with BI publisher for reporting in APEX applications.
    Question: Can I install and work with BI publisher on ORACLE DATABASE XE?
    If not any other options available?
    Appreciate any help.
    Thanks,
    Lakshmi

    hi,
    yes you can install.. try
    Oracle Discoverer 10g (Oracle BI Suite Standard Edition)
    regards,
    Deepak

  • Oracle Database 10g Express Edition in a 64 bits Linux?

    Can I use Oracle Database 10g Express Edition in a 64 bits Linux? Thank you.

    I´m sure AMD 64 can emulate 32 bits, my problem is about the OS. I mean I´m not sure about the question: Can 64 bits RHEL or FC4 run 32 bits programs as Oracle Database 10g Express Edition?
    Thanks.

Maybe you are looking for